Move implemented specs for Ocata

This moves the specs that were completed in Ocata
from the 'approved' directory to the 'implemented'
directory and updates the redirects file.

This also fixes a bug in the move-implemented-specs
script such that we filter out completed blueprints
which are not implemented, which was the case with
blueprint cold-migration-with-target-ocata which was
superseded.

Change-Id: I476e2e2d4bb089d901b887ce7728fc29c35a0957
This commit is contained in:
Matt Riedemann 2017-03-07 18:09:07 -05:00
parent 135497b713
commit 91029061a3
24 changed files with 30 additions and 3 deletions

View File

@ -2,3 +2,25 @@ approved/validate-tenant-user-with-keystone.rst ../approved/validate-project-wit
approved/powervm-driver.rst ../approved/powervm-nova-compute-driver.rst
approved/tag-instances-when-boot.rst ../approved/support-tag-instance-when-boot.rst
approved/virt-device-role-tagging.rst ../approved/virt-device-tagged-attach-detach.rst
approved/add-os-xenapi-library.rst ../implemented/add-os-xenapi-library.rst
approved/add-swap-volume-notifications.rst ../implemented/add-swap-volume-notifications.rst
approved/add-whitelist-for-server-list-filter-sort-parameters.rst ../implemented/add-whitelist-for-server-list-filter-sort-parameters.rst
approved/cells-scheduling-interaction.rst ../implemented/cells-scheduling-interaction.rst
approved/consistent-query-parameters-validation.rst ../implemented/consistent-query-parameters-validation.rst
approved/custom-resource-classes.rst ../implemented/custom-resource-classes.rst
approved/deprecate-image-meta-proxy-api.rst ../implemented/deprecate-image-meta-proxy-api.rst
approved/fix-tag-attribute-disappearing.rst ../implemented/fix-tag-attribute-disappearing.rst
approved/flavor-notifications.rst ../implemented/flavor-notifications.rst
approved/hyper-v-uefi-secureboot.rst ../implemented/hyper-v-uefi-secureboot.rst
approved/hyper-v-vnuma-enable.rst ../implemented/hyper-v-vnuma-enable.rst
approved/hyperv-storage-qos.rst ../implemented/hyperv-storage-qos.rst
approved/ironic-portgroups-support.rst ../implemented/ironic-portgroups-support.rst
approved/libvirt-virtlogd.rst ../implemented/libvirt-virtlogd.rst
approved/paginate-simple-tenant-usage.rst ../implemented/paginate-simple-tenant-usage.rst
approved/pci-passthrough-whitelist-regex.rst ../implemented/pci-passthrough-whitelist-regex.rst
approved/resource-providers-get-by-request.rst ../implemented/resource-providers-get-by-request.rst
approved/resource-providers-scheduler-db-filters.rst ../implemented/resource-providers-scheduler-db-filters.rst
approved/return-uuid-from-os-aggregates-api.rst ../implemented/return-uuid-from-os-aggregates-api.rst
approved/sriov-pf-passthrough-neutron-port-vlan.rst ../implemented/sriov-pf-passthrough-neutron-port-vlan.rst
approved/use-service-tokens.rst ../implemented/use-service-tokens.rst
approved/vendordata-reboot-ocata.rst ../implemented/vendordata-reboot-ocata.rst

View File

@ -79,8 +79,11 @@ def move_implemented_specs(release, verbose=False, dry_run=False):
# get the blueprint object from launchpad
lp_spec = lp_nova.getSpecification(name=bp_name)
if lp_spec:
# check the status
if lp_spec.is_complete:
# check the status; it's possible for a blueprint to be marked as
# complete but not actually be implemented, e.g. if it's superseded
# or obsolete.
if (lp_spec.is_complete and
lp_spec.implementation_status == 'Implemented'):
if verbose:
print('Moving blueprint to implemented: %s' % spec_fname)
@ -95,7 +98,9 @@ def move_implemented_specs(release, verbose=False, dry_run=False):
move_count += 1
else:
if verbose:
print('Blueprint is not complete: %s' % bp_name)
print('Blueprint is not complete: %s; '
'implementation status: %s' %
(bp_name, lp_spec.implementation_status))
incomplete_count += 1
else:
print('WARNING: Spec %s does not exist in launchpad for nova. The '