Skip to content

Commit

Permalink
rm bond0 on andes; move trunk to p2p1
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Dec 11, 2020
1 parent a5efaed commit ac22600
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 44 deletions.
44 changes: 22 additions & 22 deletions hieradata/cluster/andes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,54 +5,51 @@ network::interfaces_hash:
em1: # fqdn
bootproto: "dhcp"
defroute: "yes"
nozeroconf: "yes"
onboot: "yes"
type: "Ethernet"
em2: # not connected
bootproto: "none"
onboot: "no"
type: "Ethernet"
p2p1:
p2p1: # trunk
bootproto: "none"
master: "bond0"
slave: "yes"
nm_controlled: "no"
p2p1.1300:
ensure: "absent"
p2p1.1301:
ensure: "absent"
p2p2:
bootproto: "none"
master: "bond0"
slave: "yes"
nm_controlled: "no"
bond0:
type: "Bond"
bootproto: "none"
bonding_opts: "mode=4 miimon=100"
bonding_master: "yes"
nm_controlled: "no"
bond0.1201: # 139.229.166.0/24
onboot: "yes"
type: "Ethernet"
p2p1.1201: # 139.229.166.0/24
bootproto: "none"
defroute: "no"
netmask: "255.255.255.0"
nozeroconf: "yes"
onboot: "yes"
type: "none"
vlan: "yes"
bond0.1400: # 139.229.170.0/24
p2p1.1400: # 139.229.170.0/24
bootproto: "none"
defroute: "no"
netmask: "255.255.255.0"
nozeroconf: "yes"
onboot: "yes"
type: "none"
vlan: "yes"
p2p1.1300:
ensure: "absent"
p2p1.1301:
ensure: "absent"
p2p2: # not connected; was bond0
bootproto: "none"
onboot: "no"
type: "Ethernet"
bond0:
ensure: "absent"
bond0.1300:
ensure: "absent"
bond0.1301:
ensure: "absent"
network::mroutes_hash:
bond0.1400:
ensure: "absent"
network::mroutes_hash:
p2p1.1400:
routes:
"139.229.147.0/24": "139.229.170.254"
#"139.229.166.0/24": "139.229.170.254"
Expand All @@ -68,6 +65,9 @@ network::mroutes_hash:
bond0.1301:
ensure: "absent"
routes: {}
bond0.1400:
ensure: "absent"
routes: {}
yum::managed_repos:
- "dell"
yum::repos:
Expand Down
4 changes: 2 additions & 2 deletions hieradata/node/andes01.cp.lsst.org.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
network::interfaces_hash:
bond0.1201:
p2p1.1201:
ipaddress: "139.229.166.4"
bond0.1400:
p2p1.1400:
ipaddress: "139.229.170.11"
4 changes: 2 additions & 2 deletions hieradata/node/andes02.cp.lsst.org.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
network::interfaces_hash:
bond0.1201:
p2p1.1201:
ipaddress: "139.229.166.5"
bond0.1400:
p2p1.1400:
ipaddress: "139.229.170.12"
4 changes: 2 additions & 2 deletions hieradata/node/andes03.cp.lsst.org.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
network::interfaces_hash:
bond0.1201:
p2p1.1201:
ipaddress: "139.229.166.6"
bond0.1400:
p2p1.1400:
ipaddress: "139.229.170.13"
36 changes: 24 additions & 12 deletions hieradata/node/andes04.cp.lsst.org.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,31 @@
---
network::interfaces_hash:
bond0.1201:
ipaddress: "139.229.166.7"
bond0.1400:
ipaddress: "139.229.170.14"
enp59s0f0:
enp59s0f0: # trunk
bootproto: "none"
onboot: "yes"
type: "Ethernet"
enp59s0f1: # not connected; was bond0
bootproto: "none"
master: "bond0"
slave: "yes"
nm_controlled: "no"
enp59s0f1:
onboot: "no"
type: "Ethernet"
enp59s0f0.1201: # 139.229.166.0/24
bootproto: "none"
master: "bond0"
slave: "yes"
nm_controlled: "no"
defroute: "no"
ipaddress: "139.229.166.7"
netmask: "255.255.255.0"
nozeroconf: "yes"
onboot: "yes"
type: "none"
vlan: "yes"
enp59s0f0.1400: # 139.229.170.0/24
bootproto: "none"
defroute: "no"
ipaddress: "139.229.170.14"
netmask: "255.255.255.0"
nozeroconf: "yes"
onboot: "yes"
type: "none"
vlan: "yes"
p2p1:
ensure: "absent"
p2p2:
Expand Down
4 changes: 2 additions & 2 deletions hieradata/node/andes05.cp.lsst.org.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
network::interfaces_hash:
bond0.1201:
p2p1.1201:
ipaddress: "139.229.166.8"
bond0.1400:
p2p1.1400:
ipaddress: "139.229.170.15"
4 changes: 2 additions & 2 deletions hieradata/node/andes06.cp.lsst.org.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
network::interfaces_hash:
bond0.1201:
p2p1.1201:
ipaddress: "139.229.166.9"
bond0.1400:
p2p1.1400:
ipaddress: "139.229.170.16"

0 comments on commit ac22600

Please sign in to comment.