...
Code Block |
---|
EdgeDevConfig { ... ... SystemAdapterList: [ SystemAdapter: { ... Name: "eth0", NetworkUUID: "xyx", // UUID corresponding to net0 above LowerLayerName: "eth0", Cost: 0, ... }, SystemAdapter: { ... Name: "eth1.100", NetworkUUID: "123", // UUID corresponding to net1 above LowerLayerName: "eth1", // XXX: Shouldn't this be "eth1.100"? (the name of the VLAN adapter), Cost: 0, ... }, SystemAdapter: { ... Name: "shopfloor", NetworkUUID: "321", // UUID corresponding to net2 above LowerLayerName: "eth1", // XXX: Shouldn't this be "shopfloor"? (the name of the VLAN adapter)shopfloor", Cost: 0, ... }, SystemAdapter: { ... Name: "bond0.100", NetworkUUID: "abc", // UUID corresponding to net3 above LowerLayerName: "bond0", // XXX: Shouldn't this be "bond0.100"? (the name of the VLAN adapter), Cost: 0, ... }, ], VlanList: [ VlanAdapter: { Name: "eth1.100", LowerLayerName: "eth1", VlanId: 100 }, VlanAdapter: { Name: "shopfloor", LowerLayerName: "eth1", VlanId: 200 }, VlanAdapter: { Name: "bond0.100", LowerLayerName: "bond0", VlanId: 100 } ], BondList: [ BondName: "bond0", LowerLayerAdapters: ["eth2", "eth3"], BondParams: {} ], DeviceIoList: [ PhysicalIO { ... PhyLabel: "eth0", LogicalName: "eth0", LogicalType: LOGICAL_LINK_TYPE_NONE, ... }, PhysicalIO { ... PhyLabel: "eth1", LogicalName: "eth1", LogicalType: LOGICAL_LINK_TYPE_VLANS, ... }, PhysicalIO { ... PhyLabel: "eth2", LogicalName: "eth2", LogicalType: LOGICAL_LINK_TYPE_BONDS, ... }, PhysicalIO { ... PhyLabel: "eth3", LogicalName: "eth3", LogicalType: LOGICAL_LINK_TYPE_BONDS, ... } ] } |
...