${rc} ${output}= Run And Return Rc And Output openstack router create ${router_name}
Should Not Be True ${rc}
-List Router
- [Documentation] List Router and return output with neutron client.
+List Routers
+ [Documentation] List Routers and return output with neutron client.
${rc} ${output}= Run And Return Rc And Output openstack router list -f value
Log ${output}
Should Not Be True ${rc}
Show Router Interface
[Arguments] ${router_name}
- [Documentation] List Router interface associated with given Router and return output with neutron client.
+ [Documentation] List Routers interface associated with given Router and return output with neutron client.
${rc} ${output}= Run And Return Rc And Output openstack port list --router ${router_name} -f value
Should Not Be True ${rc}
[Return] ${output}
\ ${rc} ${output}= Run And Return Rc And Output nova show ${index}
\ Log ${output}
List Nova VMs
+ List Routers
List Networks
List Subnets
List Ports
+ List Security Groups
+
+List Security Groups
+ [Documentation] Logging keyword to display all security groups using the openstack cli. Assumes openstack
+ ... credentials are already sourced
+ ${rc} ${output}= Run And Return Rc And Output openstack security group list
+ Log ${output}
+ Should Not Be True ${rc}
+ [Return] ${output}
Neutron Security Group Show
[Arguments] ${SecurityGroupRuleName}
\ ${subnet_id} = Get Subnet Id ${INTERFACE} ${devstack_conn_id}
\ Should Not Contain ${interface_output} ${subnet_id}
Delete Router ${ROUTERS[0]}
- ${router_output} = List Router
+ ${router_output} = List Routers
Should Not Contain ${router_output} ${ROUTERS[0]}
${router_list} = Create List ${ROUTERS[0]}
Wait Until Keyword Succeeds 3s 1s Check For Elements Not At URI ${ROUTER_URL} ${router_list}
\ ${subnet_id} = Get Subnet Id ${INTERFACE} ${devstack_conn_id}
\ Should Not Contain ${interface_output} ${subnet_id}
Delete Router ${ROUTERS[0]}
- ${router_output} = List Router
+ ${router_output} = List Routers
Should Not Contain ${router_output} ${ROUTERS[0]}
${router_list} = Create List ${ROUTERS[0]}
Wait Until Keyword Succeeds 3s 1s Check For Elements Not At URI ${ROUTER_URL} ${router_list}