Skip to content

Instantly share code, notes, and snippets.

@gizmoguy
Created April 15, 2020 04:10
Show Gist options
  • Save gizmoguy/351edceba4b2440e1fc6780788bc2fe8 to your computer and use it in GitHub Desktop.
Save gizmoguy/351edceba4b2440e1fc6780788bc2fe8 to your computer and use it in GitHub Desktop.
split faucet l3/l2
vlans:
guest:
vid: 200
description: "guest network"
faucet_mac: "0e:00:00:00:20:01"
faucet_vips: ['20.0.0.254/8']
dps:
sw3:
dp_id: 0x3
hardware: "Open vSwitch"
interfaces:
1:
name: "OVS1-CONN"
description: "ovs1 connection"
native_vlan: guest
vlans:
office:
vid: 100
description: "office network"
faucet_mac: "0e:00:00:00:10:01"
faucet_vips: ['192.168.0.254/24']
guest:
vid: 200
description: "guest network"
faucet_mac: "0e:00:00:00:20:01"
faucet_vips: ['20.0.0.254/8']
routers:
router-office-guest:
vlans: [office, guest]
bgp:
vlan: office
connect_mode: "passive"
as: 65000
port: 9179
routerid: '192.168.0.252'
server_addresses: ["127.0.0.1"]
neighbor_addresses: ["127.0.0.1"]
neighbor_as: 65000
dps:
swdev:
dp_id: 0xf
hardware: "Open vSwitch"
interfaces:
1:
name: "client 1"
native_vlan: "office"
2:
name: "client 2"
native_vlan: "guest"
3:
name: "client 3"
native_vlan: guest
99:
name: "Faucet "
native_vlan: office
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment