[ovs-dev] [PATCH 6/6] Update localnet ovn test to use physical endpoints
Darrell Ball
dball at vmware.com
Wed Mar 16 20:01:25 UTC 2016
Adding ovs dev
On 3/15/16, 4:28 PM, "Darrell Ball" <dlu998 at gmail.com> wrote:
>Signed-off-by: Darrell Ball <dball at vmware.com>
>---
> tests/ovn.at | 3 +++
> 1 file changed, 3 insertions(+)
>
>diff --git a/tests/ovn.at b/tests/ovn.at
>index 689e544..dac36c8 100644
>--- a/tests/ovn.at
>+++ b/tests/ovn.at
>@@ -840,12 +840,15 @@ for i in 1 2; do
>
> if test $j -le 2; then
> ovn-nbctl lport-add $lswitch_name $ln_port_name
>+ ovn-sbctl phys-endpt-add pe$i$j hv$i vif$i$j vlan 0 0
> else
> ovn-nbctl lport-add $lswitch_name $ln_port_name "" 101
>+ ovn-sbctl phys-endpt-add pe$i$j hv$i vif$i$j vlan 101 101
> fi
> ovn-nbctl lport-set-addresses $ln_port_name unknown
> ovn-nbctl lport-set-type $ln_port_name localnet
> ovn-nbctl lport-set-options $ln_port_name network_name=phys
>+ ovn-sbctl lport-bind-phys-endpt $ln_port_name pe$i$j
>
> ovn-nbctl lport-add $lswitch_name $lport_name
> ovn-nbctl lport-set-addresses $lport_name f0:00:00:00:00:$i$j
>--
>1.9.1
>
More information about the dev
mailing list