-# $OpenBSD: bgpd.conf.4.in,v 1.1 2018/09/08 12:32:01 claudio Exp $
+# $OpenBSD: bgpd.conf.4.in,v 1.2 2018/09/09 13:31:10 claudio Exp $
# test neighbor and group statements
AS 1
neighbor 192.0.2.1 {
remote-as 64496
}
-#notyet neighbor 192.0.2.2 { remote-as 64496 }
+neighbor 192.0.2.2 { remote-as 64496 }
neighbor 192.0.2.3 {
# test comment
remote-as 64496
neighbor 192.0.2.4
- #notyet neighbor 192.0.2.5 { descr "test2-peer" }
+ neighbor 192.0.2.5 { descr "test2-peer" }
neighbor 192.0.2.6 {
remote-as 64497
descr "test2-peer"
}
- #notyet neighbor 192.0.2.7 {
+ neighbor 192.0.2.7 {
# comment
# another comment
- #notyet }
+ }
neighbor 192.0.2.8
}
remote-as 64497
neighbor 192.0.2.10
- #notyet neighbor 192.0.2.11 { descr "test3-peer" }
+ neighbor 192.0.2.11 { descr "test3-peer" }
}
-# $OpenBSD: bgpd.conf.6.in,v 1.2 2018/09/09 12:58:04 claudio Exp $
+# $OpenBSD: bgpd.conf.6.in,v 1.3 2018/09/09 13:31:10 claudio Exp $
# test as-set blocks
AS 1
-#notyet as-set empty { }
+as-set empty { }
as-set "test1" { 1 2 3 4 }
-#notyet as-set "test2" { 1, 2, 3, 4 }
+as-set "test2" { 1, 2, 3, 4 }
as-set "test3" {
1 # with comment
4
# 5 # commented entry
}
-#notyet as-set "test4" {
-# 1,
-# 2,
-# 3,
-# 4
-#}
+as-set "test4" {
+ 1,
+ 2,
+ 3,
+ 4
+}
# concatenation test
as-set "test5" { \
54145 54390 60313 197058
}
-#notyet as-set "AS_SET_AS_PCH2" {
-# 27, 42, 187, 297, 715, 3856, 10886, 11893, 13202,
-# 6327, 16668, 19281, 20539, 21312, 21556, 24999, 25505,
-# 27678, 32978, 32979, 35160, 38052, 42530, 44876, 45170,
-# 45494, 48892, 50843, 51874, 51972, 52234, 52304, 52306,
-# 54145, 54390, 60313, 197058
-#}
+as-set "AS_SET_AS_PCH2" {
+ 27, 42, 187, 297, 715, 3856, 10886, 11893, 13202,
+ 6327, 16668, 19281, 20539, 21312, 21556, 24999, 25505,
+ 27678, 32978, 32979, 35160, 38052, 42530, 44876, 45170,
+ 45494, 48892, 50843, 51874, 51972, 52234, 52304, 52306,
+ 54145, 54390, 60313, 197058
+}
-# $OpenBSD: bgpd.conf.7.in,v 1.2 2018/09/09 12:58:04 claudio Exp $
+# $OpenBSD: bgpd.conf.7.in,v 1.3 2018/09/09 13:31:10 claudio Exp $
# test prefix-set blocks
AS 1
-#notyet prefix-set empty { }
+prefix-set empty { }
prefix-set test1 { 1.2.3/24 }
prefix-set test2 { 1.2.3/24 1.2.8.0/22 prefixlen = 24 }
192.0.160.0/19 prefixlen >= 22
}
-#notyet prefix-set "test5_prefixes" {
-# 192.0.211.0/24 prefixlen 24 - 32,
-# 2222:69:c000::/48 prefixlen 48 - 64,
-# 0.0.0.0/0 or-longer,
-# 192.0.160.0/19 prefixlen >= 22
-#}
+prefix-set "test5_prefixes" {
+ 192.0.211.0/24 prefixlen 24 - 32,
+ 2222:69:c000::/48 prefixlen 48 - 64,
+ 0.0.0.0/0 or-longer,
+ 192.0.160.0/19 prefixlen >= 22
+}
# from the example bgpd.conf
# list of networks that may be originated by our ASN