-Documentation L2Gateway Operations Library. This library has useful keywords for various actions on Hwvtep and Ovs connectivity. Most of the keywords expects that ovs_conn_id,ovs2_conn_id, hwvtep_conn_id, hwvtep2_conn_id and devstack_conn_id are available.
+Documentation L2Gateway Operations Library. This library has useful keywords for various actions on Hwvtep and Ovs connectivity. Most of the keywords expects that ovs_conn_id,ovs2_conn_id, hwvtep_conn_id, hwvtep2_conn_id and OS_CNTL_CONN_ID are available.
[Documentation] Keyword to set OVS manager and controller to ${ODL_IP} for the OVS IP connected in ${conn_id} and verify the entries in OVSDB NETWORK TOPOLOGY and NETSTAT results.
${output}= Exec Command ${conn_id} ${OVS_RESTART}
${output}= Exec Command ${conn_id} ${OVS_DEL_MGR}
[Documentation] Keyword to set OVS manager and controller to ${ODL_IP} for the OVS IP connected in ${conn_id} and verify the entries in OVSDB NETWORK TOPOLOGY and NETSTAT results.
${output}= Exec Command ${conn_id} ${OVS_RESTART}
${output}= Exec Command ${conn_id} ${OVS_DEL_MGR}
Log ${output}
@{list_to_check}= Create List ${gw_name}
Utils.Check For Elements Not At URI ${L2GW_LIST_REST_URL} ${list_to_check} session
Log ${output}
@{list_to_check}= Create List ${gw_name}
Utils.Check For Elements Not At URI ${L2GW_LIST_REST_URL} ${list_to_check} session
[Arguments] ${gw_name}
[Documentation] Delete the L2 Gateway connection existing for Gateway ${gw_name} received in argument (Using Neutron CLI).
${l2gw_conn_id}= OpenStackOperations.Get L2gw Connection Id ${gw_name}
[Arguments] ${gw_name}
[Documentation] Delete the L2 Gateway connection existing for Gateway ${gw_name} received in argument (Using Neutron CLI).
${l2gw_conn_id}= OpenStackOperations.Get L2gw Connection Id ${gw_name}
@{list_to_check}= Create List ${l2gw_conn_id}
Utils.Check For Elements Not At URI ${L2GW_CONN_LIST_REST_URL} ${list_to_check} session
Log ${output}
@{list_to_check}= Create List ${l2gw_conn_id}
Utils.Check For Elements Not At URI ${L2GW_CONN_LIST_REST_URL} ${list_to_check} session
Log ${output}
- [Documentation] Keyword to verify if the VM has received IP, and to vefiry it is not null.
- ${vm_ip} ${dhcp_ip} Collect VM IP Addresses false ${vm_name}
- Log ${vm_ip}
+ [Documentation] Keyword to verify if the VM has received IP, and to verify it is not null.
+ @{vm_ip} ${dhcp_ip} = Get VM IPs ${vm_name}
- Exec Command ${devstack_conn_id} cat /etc/neutron/neutron.conf
- Exec Command ${devstack_conn_id} cat /etc/neutron/l2gw_plugin.ini
- Exec Command ${devstack_conn_id} ps -ef | grep neutron-server
+ Exec Command ${OS_CNTL_CONN_ID} cat /etc/neutron/neutron.conf
+ Exec Command ${OS_CNTL_CONN_ID} cat /etc/neutron/l2gw_plugin.ini
+ Exec Command ${OS_CNTL_CONN_ID} ps -ef | grep neutron-server
${output}= Exec Command ${conn_id} ${OVS_SHOW}
Log ${output}
Should Contain ${output} key="${seg_id}", remote_ip="${ovs_ip}"
${output}= Exec Command ${conn_id} ${OVS_SHOW}
Log ${output}
Should Contain ${output} key="${seg_id}", remote_ip="${ovs_ip}"