Skip to content

Commit

Permalink
tests: Add missing check for ovn-nbctl.
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
Signed-off-by: 0-day Robot <robot@bytheb.org>
  • Loading branch information
simonartxavier authored and ovsrobot committed Jan 8, 2025
1 parent a8ac0e8 commit 19a39a2
Show file tree
Hide file tree
Showing 9 changed files with 387 additions and 388 deletions.
18 changes: 9 additions & 9 deletions tests/ovn-controller-vtep.at
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ AT_CLEANUP
AT_SETUP([ovn-controller-vtep - binding 1])
ovn_start
OVN_CONTROLLER_VTEP_START
ovn-nbctl ls-add br-test
check ovn-nbctl ls-add br-test

AS_BOX([add logical switch 'lswitch0' and vlan_bindings])
AT_CHECK([vtep-ctl add-ls lswitch0 -- bind-ls br-vtep p0 100 lswitch0 -- bind-ls br-vtep p1 300 lswitch0])
Expand Down Expand Up @@ -245,7 +245,7 @@ AT_CLEANUP
AT_SETUP([ovn-controller-vtep - binding 2])
ovn_start
OVN_CONTROLLER_VTEP_START
ovn-nbctl ls-add br-test
check ovn-nbctl ls-add br-test

# adds logical switch 'lswitch0' and vlan_bindings.
AT_CHECK([vtep-ctl add-ls lswitch0 -- bind-ls br-vtep p0 100 lswitch0])
Expand Down Expand Up @@ -286,7 +286,7 @@ AT_CLEANUP
AT_SETUP([ovn-controller-vtep - vtep-lswitch])
ovn_start
OVN_CONTROLLER_VTEP_START
ovn-nbctl ls-add br-test
check ovn-nbctl ls-add br-test

# creates the logical switch in vtep and adds the corresponding logical
# port to 'br-test'.
Expand Down Expand Up @@ -340,7 +340,7 @@ AT_CLEANUP
AT_SETUP([ovn-controller-vtep - vtep-macs 1])
ovn_start
OVN_CONTROLLER_VTEP_START
ovn-nbctl ls-add br-test
check ovn-nbctl ls-add br-test

# creates a simple logical network with the vtep device and a fake hv chassis
# 'ch0'.
Expand Down Expand Up @@ -444,7 +444,7 @@ AT_CLEANUP
AT_SETUP([ovn-controller-vtep - vtep-macs 2])
ovn_start
OVN_CONTROLLER_VTEP_START
ovn-nbctl ls-add br-test
check ovn-nbctl ls-add br-test

# creates a simple logical network with the vtep device and a fake hv chassis
# 'ch0'.
Expand Down Expand Up @@ -513,7 +513,7 @@ AT_CLEANUP
AT_SETUP([ovn-controller-vtep - vtep-Mcast_Macs_Remote])
ovn_start
OVN_CONTROLLER_VTEP_START
ovn-nbctl ls-add br-test
check ovn-nbctl ls-add br-test

# creates a simple logical network with the vtep device and a fake hv chassis
# 'ch0'.
Expand Down Expand Up @@ -580,9 +580,9 @@ sim_add hv1
as hv1
ovs-vsctl -- add-br br-phys
ovn_attach n1 br-phys 192.168.0.1
ovn-nbctl ls-add lsw0
ovn-nbctl lsp-add lsw0 lsp0
ovn-nbctl lsp-set-addresses lsp0 f0:00:00:00:00:01
check ovn-nbctl ls-add lsw0
check ovn-nbctl lsp-add lsw0 lsp0
check ovn-nbctl lsp-set-addresses lsp0 f0:00:00:00:00:01
ovs-vsctl add-port br-int vif0 -- set Interface vif0 external-ids:iface-id=lsp0


Expand Down
Loading

0 comments on commit 19a39a2

Please sign in to comment.