]> git.proxmox.com Git - pve-network.git/blob - src/test/zones/evpn/exitnode_snat/sdn_config
separate packaging and source build system
[pve-network.git] / src / test / zones / evpn / exitnode_snat / sdn_config
1 {
2 version => 1,
3 vnets => {
4 ids => {
5 myvnet => { tag => "100", type => "vnet", zone => "myzone" },
6 myvnet2 => { tag => "200", type => "vnet", zone => "myzone" },
7 },
8 },
9
10 zones => {
11 ids => { myzone => { ipam => "pve", type => "evpn", controller => "evpnctl", 'vrf-vxlan' => 1000, exitnodes => { 'localhost' => 1 } } },
12 },
13 controllers => {
14 ids => { evpnctl => { type => "evpn", 'peers' => '192.168.0.1,192.168.0.2,192.168.0.3', asn => "65000" } },
15 },
16
17 subnets => {
18 ids => {
19 'myzone-10.0.0.0-24' => {
20 'type' => 'subnet',
21 'vnet' => 'myvnet',
22 'gateway' => '10.0.0.1',
23 'snat' => 1
24 },
25 'myzone-2a08:2142:302:3::-64' => {
26 'type' => 'subnet',
27 'vnet' => 'myvnet2',
28 'gateway' => '2a08:2142:302:3::1',
29 'snat' => 1
30 }
31 }
32 }
33 }
34
35