summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/network/v2/fakes.py
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <ralonsoh@redhat.com>2020-12-17 17:08:22 +0000
committerRodolfo Alonso Hernandez <ralonsoh@redhat.com>2021-01-19 14:42:46 +0000
commit0cc878e5b053765a0d3c13f5588bc160b05a388b (patch)
treeb266ba1bb25010a66f25cc394ff1dd55c1271c32 /openstackclient/tests/unit/network/v2/fakes.py
parent6905e97565b5ddd147b1c277679d7a5eac616273 (diff)
downloadpython-openstackclient-0cc878e5b053765a0d3c13f5588bc160b05a388b.tar.gz
Add device profile to ``port``
Added device profile parameter to ``port create`` command. Related-Bug: #1906602 Change-Id: I4c222ac334d3a0a0ee568ed1e0bc8518baa375e1
Diffstat (limited to 'openstackclient/tests/unit/network/v2/fakes.py')
-rw-r--r--openstackclient/tests/unit/network/v2/fakes.py1
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 798cfd96..32e09ba8 100644
--- a/openstackclient/tests/unit/network/v2/fakes.py
+++ b/openstackclient/tests/unit/network/v2/fakes.py
@@ -697,6 +697,7 @@ class FakePort(object):
'description': 'description-' + uuid.uuid4().hex,
'device_id': 'device-id-' + uuid.uuid4().hex,
'device_owner': 'compute:nova',
+ 'device_profile': 'cyborg_device_profile_1',
'dns_assignment': [{}],
'dns_domain': 'dns-domain-' + uuid.uuid4().hex,
'dns_name': 'dns-name-' + uuid.uuid4().hex,