[ovs-dev] [PATCH] ovn.at: Fix MSYS IPv6 interpretation

Alin Gabriel Serdean aserdean at ovn.org
Tue Nov 14 01:49:44 UTC 2017


Unfortunately MSYS transforms `0::` into the location of the binaries i.e.:
c:\MinGW\msys\1.0\64.

Currently the test:
`testing ovn -- IPv6 Neighbor Solicitation for unknown MAC`
fails because of the above:
"ovn-nbctl: lrp0_ip6: invalid network address: aef0;c:\MinGW\msys\1.0\64"

This patch uses the full form of the IPv6 address instead of its shorter
notation.

Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
---
 tests/ovn.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ovn.at b/tests/ovn.at
index f051d86..b6a83cc 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -8877,7 +8877,7 @@ ovn-nbctl lsp-set-port-security sw0_ip6-port1 \
 "50:64:00:00:00:02 aef0::5264:00ff:fe00:0002"
 
 ovn-nbctl lr-add lr0_ip6
-ovn-nbctl lrp-add lr0_ip6 lrp0_ip6 00:00:00:00:af:01 aef0::/64
+ovn-nbctl lrp-add lr0_ip6 lrp0_ip6 00:00:00:00:af:01 aef0:0:0:0:0:0:0:0/64
 ovn-nbctl lsp-add sw0_ip6 lrp0_ip6-attachment
 ovn-nbctl lsp-set-type lrp0_ip6-attachment router
 ovn-nbctl lsp-set-addresses lrp0_ip6-attachment 00:00:00:00:af:01
-- 
2.10.2.windows.1



More information about the dev mailing list