From 1a32090164ba83424d0f8163b50328ef52ec4350 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 22 Sep 2017 18:37:46 +0900 Subject: added ospf ipv4 test --- spec/ospf/vyos3_script.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 spec/ospf/vyos3_script.sh (limited to 'spec/ospf/vyos3_script.sh') diff --git a/spec/ospf/vyos3_script.sh b/spec/ospf/vyos3_script.sh new file mode 100644 index 0000000..3db2539 --- /dev/null +++ b/spec/ospf/vyos3_script.sh @@ -0,0 +1,12 @@ +#!/bin/vbash + +if [ "$(id -g -n)" != 'vyattacfg' ] ; then + exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@" +fi + +source /opt/vyatta/etc/functions/script-template + +set protocols static route 10.0.3.0/24 next-hop 10.0.2.11 + +commit +save -- cgit v1.2.3