summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-03-08 07:50:35 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-03-08 07:50:35 +0000
commitd519a6342bd3ec5d31dffe69eea1008551b62a27 (patch)
treed1b6c250ef6a27dde32bf2cc38d6baa39ad2232b /regress
parent6261eb549a6417767eeba41a74bb6a7fabb39aa0 (diff)
Start bgpd in rdomain 1 a bit earlier to avoid session establishment
conflicts.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/bgpd/integrationtests/ovs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/bgpd/integrationtests/ovs.sh b/regress/usr.sbin/bgpd/integrationtests/ovs.sh
index c3329566e83..e2911bd9a4d 100644
--- a/regress/usr.sbin/bgpd/integrationtests/ovs.sh
+++ b/regress/usr.sbin/bgpd/integrationtests/ovs.sh
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: ovs.sh,v 1.3 2019/08/06 07:31:53 claudio Exp $
+# $OpenBSD: ovs.sh,v 1.4 2022/03/08 07:50:34 claudio Exp $
set -e
@@ -75,14 +75,14 @@ ifconfig lo${RDOMAIN1} inet 127.0.0.1/8
ifconfig lo${RDOMAIN2} inet 127.0.0.1/8
echo add routes
+route -T ${RDOMAIN1} exec ${BGPD} \
+ -v -f ${BGPDCONFIGDIR}/bgpd.ovs.rdomain1.conf
route -T ${RDOMAIN2} add ${PAIR2STATIC} ${PAIR1IP}
ifconfig ${PAIR2} alias ${PAIR2CONNIP}/${PAIR2CONNPREF}
route -T ${RDOMAIN2} add -label PAIR2RTABLE ${PAIR2RTABLE} \
${PAIR1IP}
route -T ${RDOMAIN2} add -priority 55 ${PAIR2PRIORITY} \
${PAIR1IP}
-route -T ${RDOMAIN1} exec ${BGPD} \
- -v -f ${BGPDCONFIGDIR}/bgpd.ovs.rdomain1.conf
route -T ${RDOMAIN2} exec ${BGPD} \
-v -f ${BGPDCONFIGDIR}/bgpd.ovs.rdomain2.conf