| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Some functional tests try to parse the CLI table output format, that cause much
work on parse string by using regular expression. Using json format in
functional tests is better and easier way, this patch reworks for network
flavor related tests.
Change-Id: I2bc5675409945c9ae79ac65df2d5d10781fe595a
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Refactor functional tests for testing more command options.
Change-Id: I030652f6f3ab3dada12252599b20969f03a5df02
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Throwing error 'Port' object has no attribute 'security_groups'
Fix for set and unset.
Change-Id: I1a0625b5a432c7a91cf40249ce4f7c883f53d704
Closes-Bug: #1656788
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The value of is_default always be None, can not be set by
"network set" command. Allow "--default" and "--no-default"
options to be recognized when ``--external`` is not present.
Closes-bug:#1665231
Change-Id: I7a05fc7734a15994f72ca4e47997b4952f1f72f8
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implements Neutron feature of Network Flavor into OpenstackClient
This patch implements the following commands:
network flavor create
network flavor delete
network flavor list
network flavor show
network flavor set
Works with openstacksdk version 0.9.8
Change-Id: I29d7a62341010a1d067a8ca93bccb7d9b8d4c425
Partially-Implements: blueprint neutron-client-flavors
Partially-Implements: blueprint network-commands-options
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
Some functional tests try to parse the CLI table output
format, that cause much work on parse string by using
regular expression. Using json format in functional tests
is better and easier way, the patch rework for port related
tests.
Change-Id: I0ec997bf63da4925742848c593db09d89655ca34
|
| |/
|
|
|
|
| |
Refactor functional tests for testing more command options.
Change-Id: I6200045c6228e245fc48a4d48d4b3796dede61b5
|
| |
|
|
|
|
| |
Also add a functional test for network create --project
Change-Id: Idbfdf82f1ea6c84fb6a51df88e746e5ddb896b4f
|
| |
|
|
|
|
|
|
|
| |
Remove the 'shared' key from the attrs passed in to the SDK with 0.9.13.
Also convert the functional tests to the JSON-style (that's how I found this).
Closes-bug: 1659993
Change-Id: I614fbce967cdd07fe7360242547dbf52e7677939
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Implement network feature meter label rules into
OpenStack Client.
Allows for creation of rules to meter
network traffic.
Partially Implements: blueprint neutron-client-metering
Change-Id: If18c078d7e80c122583417669f820f02c84d6237
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Rework functional tests to remove resource create/delete from
setupClass() and teardownClass() methods.
* Add tests for more command options
Change-Id: Ic77df94fe5980e60c6a67cbf061b9a9dc601518f
|
| | |
| |
| |
| |
| |
| |
| |
| | |
subnet create failed by some bad random
subnet range, so retry it with new random
range when the test failed.
Change-Id: If528ff419b51dd5c5232f81d4b26abae542bd820
|
| | |
| |
| |
| |
| |
| |
| | |
seems like we fixed this one when fixing other tests but never
unskipped it.
Change-Id: Id1a3d11b581b6f72ad62a8699899b6163c3870bb
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
it seems the SDK returns "is_default", but doesn't actually set
it based on --default or --is-default
I already had these functioanl tests mostly converted to JSON, so I dumped
that in here too to make the is_default stuff cleaner.
Change-Id: I47ca62f57c73aa7fa984ca54742fc86b6bb837c4
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The floating IP delete and show commands did not work using IP addresses
as the selector, only ID. The SDK floating_ip resource does not support
but OSC does, so we have to do it ourselves.
Now with more SDK 0.9.10 support!
Change-Id: Iea1b57cded6b16a56a06af87ab8f1fa001a3485e
Closes-bug: 1656402
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Noticed sometimes floating ip func test failed[1].
The first mumber of the address seems like cannot
bigger than 223. So specify subnet ranges as the
random number between 0 to 233, maybe it will safer
for our functional tests.
[1]: http://logs.openstack.org/50/418650/12/check/gate-osc-dsvm-functional-ubuntu-xenial/e163f68/console.html#_2017-01-14_06_58_35_930306
Change-Id: I44a23bce851dcf2009c8d77059cf75ed80145fb0
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
As of SDK v0.9.11 the get_agent method no longer supports
the "ignore_missing" parameter.
Change-Id: Id655bf8499ed1a102a6bf583927cf66139581ab0
|
| |/ /
| |
| |
| |
| |
| |
| | |
Fix the formatting of Port Range in the security group rule list command
for Network v2 to handle SDK changes.
Change-Id: Id954cbfaedbb74f60125ebda91f80db751759933
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
with the SDK at 0.9.12 the below test fails with:
'minimum_bandwidth' not in
+-----------------+
| Type |
+-----------------+
| dscp_marking |
| bandwidth_limit |
+-----------------+
So remove 'minimum_bandwidth' from the asserted fields.
Change-Id: I24ff691ae5a946d901afa763973305025829280b
Closes-Bug: 1653137
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added following commands:
- network qos rule create --type minimum-bandwidth
dscp-marking
limit-bandwidth
- network qos rule delete
- network qos rule list
- network qos rule set
- network qos rule show
Closes-Bug: 1609472
Depends-On: I2e8869750024a8ccbc7777b95fe8ef6e26ec0885
Depends-On: Ife549ff6499217ca65e2554be8ef86ea7866b2d8
Change-Id: Ib3e1951f0917f5f23c8d9e0a380d19da2b3af5f0
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The above mentioned function tries to extract keys() from an item which
is type class.
This patch fixes the issue by converting item to dict by using
to_dict().
Change-Id: Ida520ae9fe64171d105f486ba06eda127a24547b
Closes-Bug: #1654887
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implement Neutron feature of Metering into
OpenStack Client.
Meter Rules will be implemented in seperate
patchset.
Partially Implements: blueprint neutron-client-metering
Change-Id: Ie82d42759504cbdb1c991c5183c1f0adf59e60fe
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SDK refactor broken network service provider
functional test, tested this command works,
but there is a error in the funtional test,
so fix it.
Change-Id: I783c58cedd39a05b665e47709b2b5321871e558b
Closes-Bug: 1653138
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
the gate is super wedged, i will skip tests and unskip them
as necessary.
Change-Id: Ia4469738c876ec1293f91b96dcc7d15365f4f37d
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SDK refactor broken ip availability show functional
test, We can not find a ip availability by network
name but only network ID, so we find network and
get the ID first, then find the ip availability
by the network ID.
Closes-Bug: 1653139
Change-Id: I246163fb875e2cdb9e5b091bac500a94268e8aa9
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We need to get more thorough in our functional testing, so start by
adding tests for all create and set options, check return values.
This also removes most of the setupClass() and teardownClass()
methods as they held common state that was subject to race conditions
when running tests in parallel.
Change-Id: Ib337f9e9d16b4183bb319b58cbe943045f365ff2
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We need to get more thorough in our functional testing, so start by
adding tests for all create and set options, check return values.
This also removes most of the setupClass() and teardownClass()
methods as they held common state that was subject to race conditions
when running tests in parallel.
Change-Id: I4179f493cea971b7c576ffbf501330b5c57f52f3
|
| |\ \ \
| |/ /
|/| | |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need to get more thorough in our functional testing, so start by
adding tests for create options.
This also removes the parts of the setupClass() and teardownClass()
methods that do not pertain to the static prereqs for testing.
Change-Id: I0a090a8abc41613d8970343d1b67d101b4c82c65
|
| |/
|
|
|
|
|
|
|
| |
SDK 0.9.11 caused some failures, its blocked now. Revert those breakages
that occurred in 0.9.10 -> 0.9.11.
This partially reverts commit 188e32f9e642fc5eaaec83d5c231aa890354671a.
Change-Id: I8b350250dbdcbf5c4599dfb55f6685c0db18bb30
|
| |
|
|
|
|
|
|
|
| |
...so we don't have to fix them all in one review.
Do not merge this until https://review.openstack.org/#/c/414649 is merged
and funtional tests pass.
Change-Id: I4f187111d3e4d8c4a613c20a946d6b5d3562e879
|
| |
|
|
|
|
|
|
|
| |
Added following commands:
- network qos rule type list
Closes-Bug: 1612194
Depends-On: Iecf7bc7acd244a842aae963993f37a64a26b43b9
Change-Id: I38af823c726ceaba9d0b45488fa48e2d93971c92
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Add network service providers commands to OSC
Change-Id: Iea8bbe460061d67e36a4346b349e07612112c732
Depends-On: Ie0be92e0717b8b13e31068276a12b5fbf784e374
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added following commands:
- network qos policy create
- network qos policy delete
- network qos policy set
- network qos policy show
- network qos policy list
Closes-Bug: 1609037
Depends-On: I33bafeca979410d329ae10a82772ccdb48c10daa
Change-Id: I63a8f63702514ff5814481bb021e2aa9d5f3d4b1
|
| |
|
|
|
|
|
|
| |
With Ocata development opened, neutron network segments are no
longer beta resources.
Change-Id: I25be51c30df17c746136471b88840f64a03187b9
Partially-Implements: blueprint routed-networks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add network segment create, delete and set in support of routed
networks. This patch set includes documentation, unit tests and
functional tests for the following new commands:
- "os network segment create"
- "os network segment delete"
- "os network segment set"
This patch set also includes support for the name and description
properties.
These new commands are currently marked as beta commands.
Change-Id: I86bc223c4adc5b5fe1b1ee5c9253e43ba52fb5ed
Depends-On: Ib194125162057fccb4e951587c2fa4ec2e2f098c
Partially-Implements: blueprint routed-networks
|
|
|
functional tests should be grouped with other tests (unit and
integration tests). as part of this commit the "common" module
was renamed to just "base", this was done for simplicity.
the post_test_hook.sh file was also copied to the functional module
since it should live there. a separate change to the infra repo
will be made to call the new location, once that is merged we
can remove the old one (a new change will also be posted for that)
Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3
Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede
|