Switch to using network cards instead of management ports as 1G switch links
This commit is contained in:
parent
a757587813
commit
43eb413045
@ -24,7 +24,7 @@ func main() {
|
||||
})
|
||||
|
||||
// Physical interfaces
|
||||
for _, v := range []string{"o2", "o3", "p4s0f0", "p4s0f1"} {
|
||||
for _, v := range []string{"p4s0f0", "p4s0f1", "p2s0f0", "p2s0f1", "p2s0f2", "p2s0f3"} {
|
||||
ifs.AddIf(&s6netdev.Iface{
|
||||
Name: fmt.Sprintf("en%s", v),
|
||||
Type: &s6netdev.NetdevIfTypes.Phys,
|
||||
@ -121,10 +121,12 @@ func main() {
|
||||
{
|
||||
Master: "phys",
|
||||
Slaves: []string{
|
||||
"eno2",
|
||||
"eno3",
|
||||
"enp4s0f0",
|
||||
"enp4s0f1",
|
||||
"enp2s0f0",
|
||||
"enp2s0f1",
|
||||
"enp2s0f2",
|
||||
"enp2s0f3",
|
||||
},
|
||||
},
|
||||
} {
|
||||
|
@ -24,7 +24,7 @@ func main() {
|
||||
})
|
||||
|
||||
// Physical interfaces
|
||||
for _, v := range []string{"o1", "p129s0f0", "p129s0f1"} {
|
||||
for _, v := range []string{"p129s0f0", "p129s0f1", "p131s0f0", "p131s0f1", "p131s0f2", "p131s0f3"} {
|
||||
ifs.AddIf(&s6netdev.Iface{
|
||||
Name: fmt.Sprintf("en%s", v),
|
||||
Type: &s6netdev.NetdevIfTypes.Phys,
|
||||
@ -121,9 +121,12 @@ func main() {
|
||||
{
|
||||
Master: "phys",
|
||||
Slaves: []string{
|
||||
"eno1",
|
||||
"enp129s0f0",
|
||||
"enp129s0f1",
|
||||
"enp131s0f0",
|
||||
"enp131s0f1",
|
||||
"enp131s0f2",
|
||||
"enp131s0f3",
|
||||
},
|
||||
},
|
||||
} {
|
||||
|
Loading…
Reference in New Issue
Block a user