]> git.proxmox.com Git - pve-network.git/blob - test/zones/evpn/ebgp/sdn_config
379dc14472509589003ed5bbff074f10fb41d265
[pve-network.git] / test / zones / evpn / ebgp / 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 } },
11 },
12 controllers => {
13 ids => {
14 evpnctl => { type => "evpn", 'peers' => '192.168.0.1,192.168.0.2,192.168.0.3', asn => "65000" },
15 localhost => { type => "bgp", 'peers' => '192.168.0.252,192.168.0.253', ebgp => "1", asn => "65001", node => "localhost" },
16 },
17 },
18
19 subnets => {
20 ids => { 'myzone-10.0.0.0-24' => {
21 'type' => 'subnet',
22 'vnet' => 'myvnet',
23 'gateway' => '10.0.0.1',
24 }
25 }
26 }
27 }
28
29