Compare commits

...

13 Commits

Author SHA1 Message Date
Pim van Pelt
1575b4f6d6 Move to Trixie by default 2025-09-29 21:48:55 +00:00
Pim van Pelt
a130d293e1 Remove CPU configs, just use host passthrough 2025-09-29 20:48:35 +00:00
Pim van Pelt
4b0088f935 add sflow config 2024-10-28 16:36:06 +00:00
Pim van Pelt
1d10a2c67b Bump to 2024-10-28, with sFlow 2024-10-28 16:23:12 +00:00
Pim van Pelt
a21e523ba5 Bump version to 2024-09-06, which includes sflow 2024-09-06 12:40:05 +00:00
Pim van Pelt
491987d90c Rewrite bird configs: include babel.conf; Restrict OSPF to its own lab net + defaults 2024-04-07 09:51:45 +00:00
Pim van Pelt
22b17f5db0 Add babel (commented out), allow RTS_BABEL into ospf, remove hvn2 user key, rebuild 2024-03-10 16:19:41 +00:00
Pim van Pelt
6e5773d5f4 Add Tom Jones' key 2024-02-08 16:28:39 +00:00
Pim van Pelt
0321ea9aee Refactor ovs-config.sh 2024-02-08 16:28:06 +00:00
Pim van Pelt
14ab4d4054 Remove sshd for FreeBSD build 2024-02-07 22:07:19 +00:00
Pim van Pelt
e9a1ec6920 Add FreeBSD build target - only with mgmt, SSH + users for now 2024-02-07 21:44:27 +00:00
Pim van Pelt
f1a51505c3 Allow any number of VLAN tags (which in practice, still means only 2) 2024-02-06 11:10:39 +00:00
Pim van Pelt
a49c4519e1 bump version to 2024-01-14 2024-02-06 11:10:23 +00:00
263 changed files with 3740 additions and 1562 deletions

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,15 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.10.0/24 unreachable; route 192.168.10.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
route 0.0.0.0/0 via 192.168.10.4;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:200::/60 unreachable; route 2001:678:d78:200::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
route ::/0 via 2001:678:d78:201::ffff;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,13 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.10.0/24 unreachable; route 192.168.10.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:200::/60 unreachable; route 2001:678:d78:200::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,13 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.10.0/24 unreachable; route 192.168.10.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:200::/60 unreachable; route 2001:678:d78:200::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.10.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:200::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:200::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,13 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.10.0/24 unreachable; route 192.168.10.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:200::/60 unreachable; route 2001:678:d78:200::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,15 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.11.0/24 unreachable; route 192.168.11.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
route 0.0.0.0/0 via 192.168.11.4;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:210::/60 unreachable; route 2001:678:d78:210::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
route ::/0 via 2001:678:d78:211::ffff;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,13 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.11.0/24 unreachable; route 192.168.11.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:210::/60 unreachable; route 2001:678:d78:210::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,13 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.11.0/24 unreachable; route 192.168.11.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:210::/60 unreachable; route 2001:678:d78:210::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.11.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:210::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:210::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,13 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.11.0/24 unreachable; route 192.168.11.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:210::/60 unreachable; route 2001:678:d78:210::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.12.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.12.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:220::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:220::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,15 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.12.0/24 unreachable; route 192.168.12.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
route 0.0.0.0/0 via 192.168.12.4;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:220::/60 unreachable; route 2001:678:d78:220::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
route ::/0 via 2001:678:d78:221::ffff;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.12.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.12.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:220::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:220::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,13 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.12.0/24 unreachable; route 192.168.12.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:220::/60 unreachable; route 2001:678:d78:220::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.12.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.12.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:220::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:220::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,13 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.12.0/24 unreachable; route 192.168.12.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:220::/60 unreachable; route 2001:678:d78:220::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.12.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.12.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:220::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:220::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,13 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.12.0/24 unreachable; route 192.168.12.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:220::/60 unreachable; route 2001:678:d78:220::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
} }

View File

@@ -4,6 +4,7 @@ exec /etc/vpp/config/loopback.vpp
exec /etc/vpp/config/interface.vpp exec /etc/vpp/config/interface.vpp
exec /etc/vpp/config/lcp.vpp exec /etc/vpp/config/lcp.vpp
exec /etc/vpp/config/mpls.vpp exec /etc/vpp/config/mpls.vpp
exec /etc/vpp/config/sflow.vpp
comment { exec /etc/vpp/config/flowprobe.vpp } comment { exec /etc/vpp/config/flowprobe.vpp }

View File

@@ -0,0 +1,8 @@
sflow header-bytes 128
sflow sampling-rate 100
sflow polling-interval 10
sflow enable GigabitEthernet10/0/0
sflow enable GigabitEthernet10/0/1
sflow enable GigabitEthernet10/0/2
sflow enable GigabitEthernet10/0/3

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -21,30 +21,7 @@
<apic/> <apic/>
<vmport state='off'/> <vmport state='off'/>
</features> </features>
<cpu mode='custom' match='exact' check='full'> <cpu mode='host-passthrough'/>
<model fallback='forbid'>SandyBridge-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='vme'/>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
<feature policy='require' name='pdcm'/>
<feature policy='require' name='pcid'/>
<feature policy='require' name='hypervisor'/>
<feature policy='require' name='arat'/>
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='umip'/>
<feature policy='require' name='md-clear'/>
<feature policy='require' name='stibp'/>
<feature policy='require' name='arch-capabilities'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='xsaveopt'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='ibpb'/>
<feature policy='require' name='amd-stibp'/>
<feature policy='require' name='amd-ssbd'/>
<feature policy='require' name='skip-l1dfl-vmentry'/>
<feature policy='require' name='pschange-mc-no'/>
</cpu>
<clock offset='utc'> <clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/> <timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/> <timer name='pit' tickpolicy='delay'/>

View File

@@ -17,4 +17,5 @@ protocol kernel kernel6 {
include "core/static.conf"; include "core/static.conf";
include "core/bfd.conf"; include "core/bfd.conf";
include "core/ospf.conf"; include "core/ospf.conf";
# include "core/babel.conf";
include "manual.conf"; include "manual.conf";

View File

@@ -0,0 +1,13 @@
protocol babel {
interface "e0", "e1" {
type wired;
extended next hop on;
rtt cost 1000;
rtt min 5ms;
rtt max 30ms;
authentication mac permissive;
password "IPng loves bird";
};
ipv6 { import all; export all; };
ipv4 { import all; export all; };
}

View File

@@ -1,21 +1,17 @@
protocol ospf v2 ospf4 { protocol ospf v2 ospf4 {
ipv4 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv4 { export where net ~ [ 192.168.13.0/24+, 0.0.0.0/0 ]; import where net ~ [ 192.168.13.0/24+, 0.0.0.0/0 ]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }
protocol ospf v3 ospf6 { protocol ospf v3 ospf6 {
ipv6 { export where (source = RTS_DEVICE || source = RTS_STATIC); import all; }; ipv6 { export where net ~ [ 2001:678:d78:230::/60+, ::/0 ]; import where net ~ [ 2001:678:d78:230::/60+, ::/0]; };
area 0 { area 0 {
interface "loop0" { stub yes; }; interface "loop0" { stub yes; };
interface "e0" { type pointopoint; cost 5; bfd off; }; interface "e0" { type pointopoint; cost 5; bfd off; };
interface "e1" { type pointopoint; cost 5; bfd off; }; interface "e1" { type pointopoint; cost 5; bfd off; };
interface "e2" { type pointopoint; cost 5; bfd off; };
interface "e3" { type pointopoint; cost 5; bfd off; };
}; };
} }

View File

@@ -1,15 +1,11 @@
protocol static static4 { protocol static static4 {
ipv4 { export all; }; ipv4 { export all; };
# route 192.0.2.0/24 via 10.0.0.1;
route 192.168.13.0/24 unreachable; route 192.168.13.0/24 unreachable;
# route 192.0.2.0/24 via 10.0.0.1;
route 0.0.0.0/0 via 192.168.13.4;
} }
protocol static static6 { protocol static static6 {
ipv6 { export all; }; ipv6 { export all; };
# route 2001:db8:cafe::/48 via 2001:db8::1;;
route 2001:678:d78:230::/60 unreachable; route 2001:678:d78:230::/60 unreachable;
# route 2001:db8:cafe::/48 via 2001:db8::1;
route ::/0 via 2001:678:d78:231::ffff;
} }

Some files were not shown because too many files have changed in this diff Show More