]> git.proxmox.com Git - pve-network.git/blob - test/zones/evpn/exitnode/sdn_config
add zones && controllers unit tests
[pve-network.git] / test / zones / evpn / exitnode / sdn_config
1 {
2 version => 1,
3 vnets => {
4 ids => {
5 myvnet => { tag => "100", type => "vnet", zone => "myzone" },
6 },
7 },
8
9 zones => {
10 ids => { myzone => { ipam => "pve", type => "evpn", controller => "evpnctl", 'vrf-vxlan' => 1000, exitnodes => { 'localhost' => 1 } } },
11 },
12 controllers => {
13 ids => { evpnctl => { type => "evpn", 'peers' => '192.168.0.1,192.168.0.2,192.168.0.3', asn => "65000" } },
14 },
15
16 subnets => {
17 ids => { 'myzone-10.0.0.0-24' => {
18 'type' => 'subnet',
19 'vnet' => 'myvnet',
20 'gateway' => '10.0.0.1',
21 }
22 }
23 }
24 }
25
26