summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-03-06 16:04:56 +0100
committerJan Maria Matejka <mq@ucw.cz>2018-03-08 12:57:39 +0100
commitf2f5a7d9455f938fb14e31315a879c3be2c5d28a (patch)
tree07a0e21329ef7ab40bedd9bb2c7f9fec7328ff08
parent0575c7db723523701d5582e2a9058cb5c46951c9 (diff)
Filter: the test conf checks also a bit of BGP args
Uncommented an old test.
-rw-r--r--filter/test.conf229
1 files changed, 14 insertions, 15 deletions
diff --git a/filter/test.conf2 b/filter/test.conf2
index 83554952..48515020 100644
--- a/filter/test.conf2
+++ b/filter/test.conf2
@@ -55,21 +55,20 @@ protocol static {
rip_metric = rip_metric + 5;
print rip_metric;
-#
-# TODO: uncomment this part after finishing BGP integration version
-#
-# bgp_community = -empty-;
-# print "hi";
-# bgp_community = add(bgp_community, (1,2));
-# print "hello";
-# bgp_community = add(bgp_community, (2,3));
-# bgp_community.add((4,5));
-# print "community = ", bgp_community;
-# bgp_community.delete((2,3));
-# print "community = ", bgp_community;
-# bgp_community.empty;
-# print "community = ", bgp_community;
-# print "done";
+ bgp_community = -empty-;
+ print "hi";
+ bgp_community = add(bgp_community, (1,2));
+ print "hello";
+ bgp_community = add(bgp_community, (2,3));
+ bgp_community.add((4,5));
+ print "community = ", bgp_community;
+ bgp_community.delete((2,3));
+ print "community = ", bgp_community;
+ bgp_community.empty;
+ print "community = ", bgp_community;
+ print "done";
+
+ accept;
};
};
route 0.0.0.0/0 via 195.113.31.113;