Example here shows that a delete was done but the
uuid still showed up in the config store. In the
example below, you can see the openstack CLI to
delete the l2gw connection completed at timestamp
00:39. Looking in the 3 karaf logs (it's a cluster
job) you can see the delete made it by 00:41 or
00:42 depending on which log you check. So, polling
for up to 5 seconds should give a little time for
that to propagate.
example:
https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/builder-copy-sandbox-logs/508/jamo-netvirt-csit-hwvtep-3node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-fluorine/14/robot-plugin/log_full.html.gz#s1-s1-s1-t20-k1-k4
Change-Id: I4e09db3a03a4851df14d47b5328abe7eba834052
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
${output}= Exec Command ${OS_CNTL_CONN_ID} ${L2GW_DELETE} ${gw_name}
Log ${output}
@{list_to_check}= Create List ${gw_name}
${output}= Exec Command ${OS_CNTL_CONN_ID} ${L2GW_DELETE} ${gw_name}
Log ${output}
@{list_to_check}= Create List ${gw_name}
- Utils.Check For Elements Not At URI ${L2GW_LIST_REST_URL} ${list_to_check} session
+ BuiltIn.Wait Until Keyword Succeeds 5s 1s Utils.Check For Elements Not At URI ${L2GW_LIST_REST_URL} ${list_to_check} session
Create Verify L2Gateway Connection
[Arguments] ${gw_name} ${net_name}
Create Verify L2Gateway Connection
[Arguments] ${gw_name} ${net_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}
${output}= Exec Command ${OS_CNTL_CONN_ID} ${L2GW_CONN_DELETE} ${l2gw_conn_id}
[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}
${output}= Exec Command ${OS_CNTL_CONN_ID} ${L2GW_CONN_DELETE} ${l2gw_conn_id}
- @{list_to_check}= Create List ${l2gw_conn_id}
- Utils.Check For Elements Not At URI ${L2GW_CONN_LIST_REST_URL} ${list_to_check} session
+ @{list_to_check}= Create List ${l2gw_conn_id}
+ BuiltIn.Wait Until Keyword Succeeds 5s 1s Utils.Check For Elements Not At URI ${L2GW_CONN_LIST_REST_URL} ${list_to_check} session
Update Port For Hwvtep
[Arguments] ${port_name}
Update Port For Hwvtep
[Arguments] ${port_name}