diff options
| author | LIU Yulong <i@liuyulong.me> | 2017-11-05 12:05:09 +0800 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2018-01-11 18:10:11 +0000 |
| commit | cf91d7a2f46b4a8546169a4836cc64476fce44d8 (patch) | |
| tree | 73cf917909abab77be6f594892b94b025637033d /openstackclient/tests/unit/network/v2/fakes.py | |
| parent | b13a323128072f6f56619a816f5be165796171a4 (diff) | |
| download | python-openstackclient-cf91d7a2f46b4a8546169a4836cc64476fce44d8.tar.gz | |
Add floating IP qos_policy actions
Now we can associate a qos policy to the floating IP, and
dissociate it. The commands are:
$ openstack floating ip create --qos-policy ...
$ openstack floating ip set --qos-policy ...
$ openstack floating ip set --no-qos-policy ...
$ openstack floating ip unset --qos-policy
These commands are based on the neutron change:
I4efe9e49d268dffeb3df4de4ea1780152218633b
Partially-Implements blueprint: floating-ip-rate-limit
Change-Id: I932b32f78cc5a2b53926feaec1a0b392cf7e8b57
Diffstat (limited to 'openstackclient/tests/unit/network/v2/fakes.py')
| -rw-r--r-- | openstackclient/tests/unit/network/v2/fakes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openstackclient/tests/unit/network/v2/fakes.py b/openstackclient/tests/unit/network/v2/fakes.py index bdc1c1fb..a77cab8b 100644 --- a/openstackclient/tests/unit/network/v2/fakes.py +++ b/openstackclient/tests/unit/network/v2/fakes.py @@ -1378,6 +1378,7 @@ class FakeFloatingIP(object): 'port_id': 'port-id-' + uuid.uuid4().hex, 'tenant_id': 'project-id-' + uuid.uuid4().hex, 'description': 'floating-ip-description-' + uuid.uuid4().hex, + 'qos_policy_id': 'qos-policy-id-' + uuid.uuid4().hex, } # Overwrite default attributes. |
