add neutron port-list to debug steps 44/45344/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 7 Sep 2016 19:24:51 +0000 (12:24 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Thu, 8 Sep 2016 04:36:44 +0000 (21:36 -0700)
Change-Id: I8b7c0454139bd88fc391086fda38da7d99c9e692
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/OpenStackOperations.robot

index 8cfda4aea85304849ea8cd0c849c41cb4428249b..fd845030b10312ff0f34aaf9e3f890359829ac40 100644 (file)
@@ -86,6 +86,15 @@ Delete Port
     Log    ${output}
     Should Contain    ${output}    Deleted a new port
 
+List Ports
+    [Documentation]    List ports and return output with neutron client.
+    ${devstack_conn_id}=    Get ControlNode Connection
+    Switch Connection    ${devstack_conn_id}
+    ${output}=    Write Commands Until Prompt    neutron port-list    30s
+    Close Connection
+    Log    ${output}
+    [Return]    ${output}
+
 Verify Gateway Ips
     [Documentation]    Verifies the Gateway Ips with dump flow.
     ${output}=    Write Commands Until Prompt    sudo ovs-ofctl -O OpenFlow13 dump-flows br-int
@@ -381,6 +390,9 @@ Show Debugs
     \    ${output}=    Write Commands Until Prompt    nova show ${index}    30s
     \    Log    ${output}
     Close Connection
+    List Networks
+    List Subnets
+    List Ports
 
 Create Security Group
     [Arguments]    ${sg_name}     ${desc}