VPP-63: clean up config scripts, remove specific hostnames 26/1126/1
authorDave Barach <dave@barachs.net>
Sat, 14 May 2016 22:38:48 +0000 (18:38 -0400)
committerDave Barach <dave@barachs.net>
Sat, 14 May 2016 22:39:11 +0000 (18:39 -0400)
Change-Id: Ifb77256fa691b1a90045a10448835c09b764e74f
Signed-off-by: Dave Barach <dave@barachs.net>
37 files changed:
vnet/etc/scripts/dhcp/dhcpd.conf [moved from vnet/etc/scripts/dhcp/ludd-cluster-5-dhcpd.conf with 100% similarity]
vnet/etc/scripts/dhcp/left-ping-target.sh [new file with mode: 0644]
vnet/etc/scripts/dhcp/leftpeer.conf [moved from vnet/etc/scripts/dhcp/ludd-cluster-1 with 100% similarity]
vnet/etc/scripts/dhcp/ludd-cluster-2-sh [deleted file]
vnet/etc/scripts/dhcp/ludd-cluster-5-isc-dhcp-server [deleted file]
vnet/etc/scripts/leftpeer/leftpeer-classify [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-classify with 100% similarity]
vnet/etc/scripts/leftpeer/leftpeer-classify6 [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-classify6 with 100% similarity]
vnet/etc/scripts/leftpeer/leftpeer-classifyl2 [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-classifyl2 with 100% similarity]
vnet/etc/scripts/leftpeer/leftpeer-dhcp [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-dhcp with 100% similarity]
vnet/etc/scripts/leftpeer/leftpeer-ioam.conf [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-ioam.conf with 72% similarity]
vnet/etc/scripts/leftpeer/leftpeer-l3vxlan.conf [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-l3vxlan.conf with 83% similarity]
vnet/etc/scripts/leftpeer/leftpeer-lisp.conf [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-lisp.conf with 92% similarity]
vnet/etc/scripts/leftpeer/leftpeer-mpls.conf [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-mpls.conf with 91% similarity]
vnet/etc/scripts/leftpeer/leftpeer-nsh.conf [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-nsh.conf with 92% similarity]
vnet/etc/scripts/leftpeer/leftpeer-sr.conf [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-sr.conf with 90% similarity]
vnet/etc/scripts/leftpeer/leftpeer-vxlan.conf [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-vxlan.conf with 78% similarity]
vnet/etc/scripts/leftpeer/leftpeer-vxnsh.conf [moved from vnet/etc/scripts/ludd-cluster-1/ludd-cluster-1-vxnsh.conf with 92% similarity]
vnet/etc/scripts/leftpeer/leftpeer.script [moved from vnet/etc/scripts/ludd-cluster-1/lc1.script with 100% similarity]
vnet/etc/scripts/mpls-o-ethernet/leftpeer.conf [moved from vnet/etc/scripts/mpls-o-ethernet/ludd-cluster-1.conf with 82% similarity]
vnet/etc/scripts/mpls-o-ethernet/rightpeer.conf [moved from vnet/etc/scripts/mpls-o-ethernet/ludd-cluster-3.conf with 75% similarity]
vnet/etc/scripts/mpls-o-gre/dhcpd.conf [moved from vnet/etc/scripts/mpls-o-gre/ludd-cluster-5-dhcpd.conf with 100% similarity]
vnet/etc/scripts/mpls-o-gre/leftpeer.conf [moved from vnet/etc/scripts/mpls-o-gre/ludd-cluster-1.conf with 66% similarity]
vnet/etc/scripts/mpls-o-gre/rightpeer.conf [moved from vnet/etc/scripts/ludd-cluster-3/ludd-cluster-3-mpls.conf with 66% similarity]
vnet/etc/scripts/rightpeer/rightpeer-ioam.conf [moved from vnet/etc/scripts/ludd-cluster-3/ludd-cluster-3-ioam.conf with 75% similarity]
vnet/etc/scripts/rightpeer/rightpeer-l3vxlan.conf [moved from vnet/etc/scripts/ludd-cluster-3/ludd-cluster-3-l3vxlan.conf with 63% similarity]
vnet/etc/scripts/rightpeer/rightpeer-lisp.conf [moved from vnet/etc/scripts/ludd-cluster-3/ludd-cluster-3-lisp.conf with 82% similarity]
vnet/etc/scripts/rightpeer/rightpeer-mpls-l2.conf [moved from vnet/etc/scripts/ludd-cluster-3/ludd-cluster-3-mpls-l2.conf with 88% similarity]
vnet/etc/scripts/rightpeer/rightpeer-mpls.conf [moved from vnet/etc/scripts/mpls-o-gre/ludd-cluster-3.conf with 82% similarity]
vnet/etc/scripts/rightpeer/rightpeer-nsh.conf [moved from vnet/etc/scripts/ludd-cluster-3/ludd-cluster-3-nsh.conf with 84% similarity]
vnet/etc/scripts/rightpeer/rightpeer-sr.conf [moved from vnet/etc/scripts/ludd-cluster-3/ludd-cluster-3-sr.conf with 91% similarity]
vnet/etc/scripts/rightpeer/rightpeer-vxlan.conf [moved from vnet/etc/scripts/ludd-cluster-3/ludd-cluster-3-vxlan.conf with 70% similarity]
vnet/etc/scripts/rightpeer/rightpeer-vxnsh.conf [moved from vnet/etc/scripts/ludd-cluster-3/ludd-cluster-3-vxnsh.conf with 84% similarity]
vnet/etc/scripts/rightpeer/rightpeer.script [moved from vnet/etc/scripts/ludd-cluster-3/lc3.script with 100% similarity]
vnet/etc/scripts/sr/left-linux-ping.sh [moved from vnet/etc/scripts/sr/ludd-cluster-2.sh with 100% similarity]
vnet/etc/scripts/sr/leftpeer.conf [moved from vnet/etc/scripts/sr/ludd-cluster-1.conf with 92% similarity]
vnet/etc/scripts/sr/right-linux-ping.sh [moved from vnet/etc/scripts/sr/ludd-cluster-4.sh with 100% similarity]
vnet/etc/scripts/sr/rightpeer.conf [moved from vnet/etc/scripts/sr/ludd-cluster-3.conf with 89% similarity]

diff --git a/vnet/etc/scripts/dhcp/left-ping-target.sh b/vnet/etc/scripts/dhcp/left-ping-target.sh
new file mode 100644 (file)
index 0000000..2edc2a5
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# to obtain dhcp address from leftpeer
+dhclient -d -v eth1
diff --git a/vnet/etc/scripts/dhcp/ludd-cluster-2-sh b/vnet/etc/scripts/dhcp/ludd-cluster-2-sh
deleted file mode 100644 (file)
index 32924ec..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-# to obtain dhcp address from ludd-cluster-1
-dhclient -d -v eth1
diff --git a/vnet/etc/scripts/dhcp/ludd-cluster-5-isc-dhcp-server b/vnet/etc/scripts/dhcp/ludd-cluster-5-isc-dhcp-server
deleted file mode 100644 (file)
index 6fafc1e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# add eth6 to interfaces
-
-INTERFACES="eth6"
@@ -1,8 +1,8 @@
-comment { connects to ludd-cluster-2 eth1 addr db02::2/64 }
+comment { connects to linux ping source eth1 addr db02::2/64 }
 set int ip address GigabitEthernet2/2/0 db02::1/64
 set int state GigabitEthernet2/2/0 up
 
-comment { connects to ioam domain ludd-cluster-3 eth2 addr db03::3/64 }
+comment { connects to ioam domain rightpeer eth2 addr db03::3/64 }
 set int ip address GigabitEthernet2/3/0 db03::1/64
 set int state GigabitEthernet2/3/0 up
 
@@ -1,4 +1,4 @@
-comment { tunnel to ludd-cluster-3 6.0.3.3 on vlan 101 }
+comment { tunnel to rightpeer 6.0.3.3 on vlan 101 }
 
 set int ip address GigabitEthernet2/3/0 6.0.3.1/24
 set int state GigabitEthernet2/3/0 up
@@ -6,7 +6,7 @@ comment { configure lc2 eth1 at e.g. 6.0.2.2/24 }
 set int ip address GigabitEthernet2/2/0 6.0.2.1/24
 set int state GigabitEthernet2/2/0 up
 
-comment { tunnel to ludd-cluster-3 on vlan 101 }
+comment { tunnel to rightpeer on vlan 101 }
 set int ip address GigabitEthernet2/3/0 6.0.3.1/24
 set int state GigabitEthernet2/3/0 up
 
@@ -7,7 +7,7 @@ set int ip table GigabitEthernet2/2/0 1
 set int ip address GigabitEthernet2/2/0 6.0.2.1/24
 set int state GigabitEthernet2/2/0 up
 
-comment { tunnel to ludd-cluster-3 on vlan 101 }
+comment { tunnel to rightpeer on vlan 101 }
 set int ip address GigabitEthernet2/3/0 6.0.3.1/24
 set int state GigabitEthernet2/3/0 up
 
@@ -6,7 +6,7 @@ comment { configure lc2 eth1 at e.g. 6.0.2.2/24 }
 set int ip address GigabitEthernet2/2/0 6.0.2.1/24
 set int state GigabitEthernet2/2/0 up
 
-comment { tunnel to ludd-cluster-3 on vlan 101 }
+comment { tunnel to rightpeer on vlan 101 }
 set int ip address GigabitEthernet2/3/0 6.0.3.1/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,12 +1,12 @@
 comment { test sr segment chunk-offset on }
 test sr hmac validate on
 
-comment { trunk to ludd-cluster-3 }
+comment { trunk to rightpeer }
 set int ip address GigabitEthernet2/3/0 db03::2/64
 enable ip6 interface GigabitEthernet2/3/0
 set int state GigabitEthernet2/3/0 up
 
-comment { subscriber ludd-cluster-2 }
+comment { subscriber linux-ping-source }
 set int ip address GigabitEthernet2/2/0 db02::2/64
 enable ip6 interface GigabitEthernet2/2/0
 set int state GigabitEthernet2/2/0 up
@@ -1,9 +1,9 @@
-comment { tunnel to ludd-cluster-3 6.0.3.3 on vlan 101 }
+comment { tunnel to rightpeer 6.0.3.3 on vlan 101 }
 
 set int ip address GigabitEthernet2/3/0 6.0.3.1/24
 set int state GigabitEthernet2/3/0 up
 
-comment { tunnel to ludd-cluster-5 6.0.5.5 on vlan 105 }
+comment { tunnel to thirdpeer 6.0.5.5 on vlan 105 }
 set int ip address GigabitEthernet2/7/0 6.0.5.1/24
 set int state GigabitEthernet2/7/0 up
 
@@ -6,7 +6,7 @@ comment { configure lc2 eth1 at e.g. 6.0.2.2/24 }
 set int ip address GigabitEthernet2/2/0 6.0.2.1/24
 set int state GigabitEthernet2/2/0 up
 
-comment { tunnel to ludd-cluster-3 on vlan 101 }
+comment { tunnel to rightpeer on vlan 101 }
 set int ip address GigabitEthernet2/3/0 6.0.3.1/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,13 +1,13 @@
 comment { vpe_phase2 configuration }
 
-comment { local client facing interface on vlan 100  }
+comment { local client facing interface  }
 comment { configure lc2 eth1 at e.g. 6.0.2.2/24 }
 
 set int ip table GigabitEthernet2/2/0 1
 set int ip address GigabitEthernet2/2/0 6.0.2.1/24
 set int state GigabitEthernet2/2/0 up
 
-comment { tunnel to ludd-cluster-3 on vlan 101 }
+comment { tunnel to rightpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.1/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,13 +1,11 @@
-comment { vpe_phase1d configuration }
-
-comment { local client facing interface on vlan 102 }
+comment { local client facing interface }
 comment { configure lc4 eth1 at e.g. 6.0.4.4/24 }
 
 set int ip table GigabitEthernet2/4/0 1
 set int ip address GigabitEthernet2/4/0 6.0.4.1/24
 set int state GigabitEthernet2/4/0 up
 
-comment { tunnel to ludd-cluster-1 on vlan 101 }
+comment { tunnel to leftpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.3/24
 set int state GigabitEthernet2/3/0 up
 
similarity index 66%
rename from vnet/etc/scripts/mpls-o-gre/ludd-cluster-1.conf
rename to vnet/etc/scripts/mpls-o-gre/leftpeer.conf
index 992a24c..149c70c 100644 (file)
@@ -1,13 +1,10 @@
-comment { vpe_phase2 configuration }
-
-comment { local client facing interface on vlan 100  }
-comment { configure lc2 eth1 at e.g. 6.0.2.2/24 }
+comment { left linux ping target configure at e.g. 6.0.2.2/24 }
 
 set int ip table GigabitEthernet2/2/0 1
 set int ip address GigabitEthernet2/2/0 6.0.2.1/24
 set int state GigabitEthernet2/2/0 up
 
-comment { tunnel to ludd-cluster-3 on vlan 101 }
+comment { tunnel to rightpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.1/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,13 +1,10 @@
-comment { vpe_phase1d configuration }
-
-comment { local client facing interface on vlan 102 }
-comment { configure lc4 eth1 at e.g. 6.0.4.4/24 }
+comment { right linux ping target configure  e.g. 6.0.4.4/24 }
 
 set int ip table GigabitEthernet2/4/0 1
 set int ip address GigabitEthernet2/4/0 6.0.4.1/24
 set int state GigabitEthernet2/4/0 up
 
-comment { tunnel to ludd-cluster-1 on vlan 101 }
+comment { tunnel to leftpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.3/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,8 +1,8 @@
-comment { connects to ludd-cluster-4 eth3 addr db04::4/64 }
+comment { connects to right ping target eth3 addr db04::4/64 }
 set int ip address GigabitEthernet2/4/0 db04::1/64
 set int state GigabitEthernet2/4/0 up
 
-comment { connects to ioam domain ludd-cluster-1 addr db03::1/64 }
+comment { connects to ioam domain leftpeer addr db03::1/64 }
 set int ip address GigabitEthernet2/3/0 db03::3/64
 set int state GigabitEthernet2/3/0 up
 
@@ -1,10 +1,7 @@
-comment { local client facing interface on vlan 102 }
-
-comment { configure client lc4 eth1 }
 set int ip address GigabitEthernet2/4/0 6.0.4.1/24 
 set int state GigabitEthernet2/4/0 up
 
-comment { tunnel to ludd-cluster-1 on vlan 101 }
+comment { tunnel to leftpeer on vlan 101 }
 set int ip address GigabitEthernet2/3/0 6.0.3.3/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,10 +1,10 @@
-comment { local client facing interface on vlan 102 }
+comment { local client facing interface }
 comment { configure lc4 eth1 at e.g. 6.0.4.4/24 }
 
 set int ip address GigabitEthernet2/4/0 6.0.4.1/24
 set int state GigabitEthernet2/4/0 up
 
-comment { tunnel to ludd-cluster-1 on vlan 101 }
+comment { tunnel to leftpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.3/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,13 +1,13 @@
 comment { vpe_phase1d configuration }
 
-comment { local client facing interface on vlan 102 }
+comment { local client facing interface }
 comment { configure lc4 eth1 at e.g. 6.0.4.4/24 }
 
 set int ip table GigabitEthernet2/4/0 1
 set int ip address GigabitEthernet2/4/0 6.0.4.1/24
 set int state GigabitEthernet2/4/0 up
 
-comment { tunnel to ludd-cluster-1 on vlan 101 }
+comment { tunnel to leftpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.3/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,13 +1,13 @@
 comment { vpe_phase1d configuration }
 
-comment { local client facing interface on vlan 102 }
+comment { local client facing interface }
 comment { configure lc4 eth1 at e.g. 6.0.4.4/24 }
 
 set int ip table GigabitEthernet2/4/0 1
 set int ip address GigabitEthernet2/4/0 6.0.4.1/24
 set int state GigabitEthernet2/4/0 up
 
-comment { tunnel to ludd-cluster-1 on vlan 101 }
+comment { tunnel to leftpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.3/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,12 +1,12 @@
 comment { vpe_phase1d configuration }
 
-comment { local client facing interface on vlan 102 }
+comment { local client facing interface }
 comment { configure lc4 eth1 at e.g. 6.0.4.4/24 }
 
 set int ip address GigabitEthernet2/4/0 6.0.4.1/24
 set int state GigabitEthernet2/4/0 up
 
-comment { tunnel to ludd-cluster-1 on vlan 101 }
+comment { tunnel to leftpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.3/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,12 +1,12 @@
 comment { test sr segment chunk-offset on }
 test sr hmac validate on
 
-comment { trunk to ludd-cluster-1 }
+comment { trunk to leftpeer }
 set int ip address GigabitEthernet2/3/0 db03::1/64
 enable ip6 interface GigabitEthernet2/3/0
 set int state GigabitEthernet2/3/0 up
 
-comment { subscriber ludd-cluster-4 }
+comment { subscriber right peer target }
 set int ip address GigabitEthernet2/4/0 db04::2/64
 
 comment { next address to fake out ND on shared LAN segment }
@@ -1,14 +1,14 @@
 
-comment { local client facing interface on vlan 102 }
+comment { local client facing interface }
 
 comment { configure client lc4 eth1 }
 set int state GigabitEthernet2/4/0 up
 
-comment { tunnel to ludd-cluster-1 on vlan 101 }
+comment { tunnel to leftpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.3/24
 set int state GigabitEthernet2/3/0 up
 
-comment { tunnel to ludd-cluster-5 on vlan 105 }
+comment { tunnel to extra ping target }
 set int ip address GigabitEthernet2/7/0 6.0.5.3/24
 set int state GigabitEthernet2/3/0 up
 
@@ -1,12 +1,12 @@
 comment { vpe_phase1d configuration }
 
-comment { local client facing interface on vlan 102 }
+comment { local client facing interface }
 comment { configure lc4 eth1 at e.g. 6.0.4.4/24 }
 
 set int ip address GigabitEthernet2/4/0 6.0.4.1/24
 set int state GigabitEthernet2/4/0 up
 
-comment { tunnel to ludd-cluster-1 on vlan 101 }
+comment { tunnel to leftpeer }
 set int ip address GigabitEthernet2/3/0 6.0.3.3/24
 set int state GigabitEthernet2/3/0 up
 
similarity index 92%
rename from vnet/etc/scripts/sr/ludd-cluster-1.conf
rename to vnet/etc/scripts/sr/leftpeer.conf
index f257b1b..9591d96 100644 (file)
@@ -1,12 +1,12 @@
 comment { test sr segment chunk-offset on }
 test sr hmac validate on
 
-comment { trunk to ludd-cluster-3 }
+comment { trunk to rightpeer }
 set int ip address GigabitEthernet2/3/0 db03::2/64
 enable ip6 interface GigabitEthernet2/3/0
 set int state GigabitEthernet2/3/0 up
 
-comment { subscriber ludd-cluster-2 }
+comment { subscriber left-linux-ping }
 set int ip address GigabitEthernet2/2/0 db02::2/64
 enable ip6 interface GigabitEthernet2/2/0
 set int state GigabitEthernet2/2/0 up
similarity index 89%
rename from vnet/etc/scripts/sr/ludd-cluster-3.conf
rename to vnet/etc/scripts/sr/rightpeer.conf
index 005bee6..6da7a7a 100644 (file)
@@ -1,9 +1,9 @@
-comment { trunk to ludd-cluster-1 }
+comment { trunk to leftpeer }
 set int ip address GigabitEthernet2/0/0 db03::1/64
 enable ip6 interface GigabitEthernet2/0/0
 set int state GigabitEthernet2/0/0 up
 
-comment { subscriber ludd-cluster-4 }
+comment { subscriber right-linux-ping }
 set int ip address GigabitEthernet2/2/0 db04::2/64
 
 comment { next address to fake out ND on shared LAN segment }