diff options
author | jf9860 <jf9860@att.com> | 2017-02-22 16:52:54 -0500 |
---|---|---|
committer | jf9860 <jf9860@att.com> | 2017-02-22 17:02:20 -0500 |
commit | 75010a4fe2ec3e182b45196e7e5b2c7889673092 (patch) | |
tree | bb235c1a4732e7c49f53b2f309ebced3f6d9cf80 /robot/resources/openstack | |
parent | 0f7f2653d2190514d923046b40975967f82b0b3e (diff) |
Complete teardown implementation.
Add demo.sh to support hands on demo
Change-Id: Idf235957bd992e6d7482c8241f6ba8b8944c2826
Signed-off-by: jf9860 <jf9860@att.com>
Diffstat (limited to 'robot/resources/openstack')
-rw-r--r-- | robot/resources/openstack/neutron_interface.robot | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/robot/resources/openstack/neutron_interface.robot b/robot/resources/openstack/neutron_interface.robot index 77635cdd..a88a9436 100644 --- a/robot/resources/openstack/neutron_interface.robot +++ b/robot/resources/openstack/neutron_interface.robot @@ -112,6 +112,12 @@ Get Openstack Ports For Subnet :for ${port} in @{ports['ports']} \ Run Keyword If '${net['network_id']}' == '${port['network_id']}' Append To List ${net_ports} ${port} [Return] ${net_ports} + +Get Openstack Port By Id + [Arguments] ${alias} ${port_id} + ${resp}= Internal Get Openstack ${alias} ${GLOBAL_OPENSTACK_NEUTRON_SERVICE_TYPE} ${GLOBAL_OPENSTACK_SERVICE_REGION} ${OPENSTACK_NEUTRON_PORT_PATH}/${port_id} + [Return] ${resp} + Delete Openstack Port [Arguments] ${alias} ${port_id} |