This patch changes v3 shelve API to v2.1 and makes v2
unit tests share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .
Partially implements blueprint v2-on-v3-api
Change-Id: Ie4cd72d23592fe2bd1a66137b12bb84400ccfc18
The simple_tenant_usage extension is removed from v3 API. For now,
we need porting it back. And also try to share unittests between v2
and v2.1.
Partially implements blueprint v2-on-v3-api
Change-Id: Ie0c36fcd37fb188c1f1b57f04733bfa267b65201
This patch changes v3 server diagnostics plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.
This patch also delete the V3 server_diagnostics API tests.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: If10615f3f119dda815d56cf8329619bab502e091
This patch changes v3 keypairs API to v2.1 and makes v2 unit tests
share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .
Partially implements blueprint v2-on-v3-api
Change-Id: I1fcb93a00816eab2d87f251b7cf8a8992e920308
Adds a filter AggregateIoOpsFilter which provides the ability
to read from aggregates metadata "max_instances_per_host".
DocImpact
Implements: blueprint per-aggregate-max-instances-per-host
Change-Id: I569aab7842d2c67042b89c75941a4664a599a7f6
Adds a filter AggregateDiskFilter which provides the ability to
read from aggregates metadata the "disk_allocation_ratio".
DocImpact
Implements: blueprint per-aggregate-disk-allocation-ratio
Change-Id: I79d59fcdfb09e67ed6f12113615c673624b24a19
This patch changes v3 extended_status API to v2.1 and makes v2
unit tests share between v2 and v2.1.
Revert v3 changes back to v2.
os-extended-status:* -> OS-EXT-STS:*
The differences between v2 and v3 are descibed on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: Ieefca1d0e8da831830f43cc83eb50bc7e7f4a10c
This patch changes v3 admin-password API to v2.1 and backport v3
unit test cases to v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3
Partially implements blueprint v2-on-v3-api
Change-Id: I167753eddd188120236c51bade549c907c8a8466
This patch changes v3 access_ips API to v2.1 and makes v2
unit tests share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .
Partially implements blueprint v2-on-v3-api
Change-Id: Id464cbe4a8b7a7749c4f14e4531e4494dd315857
Changes required to have v3 plugin natively support
the v2.1 API.
add_fixed_ip -> addFixedIp
remove_fixed_ip -> removeFixedIp
Removes v3 version of the multinic test and changes to
share use of the v2 unittests code. Backports a v2.1 specific
test.
Partially implements blueprint v2-on-v3-api
Change-Id: Ie01eddf1e772092c291b1475404f87e6e6f47c71
This patch changes v3 servers' ViewBuilder to v2.1. And also
change related unittests and api sample tests.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: Ie68d46daa91ef43c84eeef479c0986d5e7f15719
This patch changes v3 agents API to v2.1 and makes v2 unit tests
share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3 .
Partially implements blueprint v2-on-v3-api
Change-Id: I96dd9cd3672c6d584bd0019c385544c08f687e7f
This patch changes v3 attach_interface API to v2.1 and makes v2
unit tests share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: If18676604edc8fea41d7888eb6546245163e91c2
Changes required to have v3 plugin natively support the V2.1
API
The create_backup action is reverted back to createBackup
Partially implements blueprint v2-on-v3-api
Change-Id: Ibac7eb2644629f4b9cf0581d9859b97f263972c8
This patch changes v3 extended_server_attibutes API to v2.1 and makes v2
unit tests share between v2 and v2.1.
Revert v3 changes back to v2.
os-extended-server-attributes:* -> OS-EXT-SRV-ATTR:*
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: I02b203b62b9e675f71d0ff3880bc9ee051a3b80d
This patch converts v3 server SchedulerHints plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Note- to make V2.1 SchedulerHints extension work in V3 framework,
an extra parameter (request body) is being passed in server_create
function of each extensions.
Partially implements blueprint v2-on-v3-api
Change-Id: I8a0d50efcda6fcd12971a41505127de5987eec18
Changes required to have v3 plugin natively support the V2.1
API
The force_delete action is reverted back to forceDelete
Partially implements blueprint v2-on-v3-api
Change-Id: I0b050d3328338923cf05521b9ef5cc3b1c50a586
This patch changes v3 config drive plugin to v2.1 and makes v2
unit tests share between v2 and v2.1.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: Ieed7619f3cb310b25d157ebb07f24468aea1af9d
Ports v2 os-server-groups extension and adapts it to the v2.1/v3 API
framework. API behaviour is identical with the exception
that there is no support for XML. Also
- unittest code modified to share testing with both v2/v2.1
- Adds expected error decorators for API methods
- Adds api sample tests
Partially implements blueprint v2-on-v3-api
Change-Id: I52e49e6e85a7516e3b184601374e5c987f60a9a0
This uses the existing api extension to implement the actual control
of the fields, but the check is based on a new dummy extension
called os-extended-networks.
Api sample tests added for new extension.
DocImpact: Adds an extension that enables extra fields for network
create. The new fields are:
mtu: int (default flag) if set, nova sets the mtu on bridge. This
allows network_device_mtu flag to be set per network.
dhcp_server: ip (default == gateway) if different from gateway, sets
nova to assume gateway is external.
enable_dhcp: bool (default true) false will disable dhcp on network.
share_address: bool (default flag) if specifed, network will have
the same dhcp ip on every host. This allows
share_dhcp_address flag to be set per network.
allowed_start: ip if specified, reserves all ips before allowed_start.
allowed_end: ip if specified, reserves all ips after allowed_end.
Partially-implements blueprint better-support-for-multiple-networks
Change-Id: I577fe5f6560be50106f345a42a826e97d5e7d64c
More work needs to be done in rfc3986 to give the user more control over what
they consider to be a valid URI in the context of RFC 3986. For example, a
previous incarnation of these tests checked that "1" and "abc" were invalid
when according to the RFC they are.
Update the API samples and tests to use valid URIs
DocImpact
Change-Id: I288fbaead64990db1053b7a11e82904611b8498f
This patch changes 'image_ref'/'flavor_ref' to 'imageRef'/'flavorRef'
that same with v2 api. And also change the related unittest.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: Ic17334e0a9de89488d5e0c8b75950027d51a3cd4
This patch changes 'admin_password' to 'adminPass' that same
with v2 api. And also change the related unittest.
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.
Partially implements blueprint v2-on-v3-api
Change-Id: Ie5675f98bb15c55a191a207171e2ffe3be8e6deb
Commit a507d42cf5 makes the
doc builds fail on warnings, so people are probably going
to be running 'tox -e docs' more often. To run that you
need the graphviz package from the distro, so add it to
the list of packages needed when setting up a development
environment.
Change-Id: I47ffe63fddfbbd73c3fc698490ad07235caaf459
Closes-Bug: #1356983