Fix exabgp flowspec config 78/57778/6
authorClaudio D. Gasparini <claudio.gasparini@pantheon.tech>
Wed, 24 May 2017 15:25:05 +0000 (17:25 +0200)
committerJamo Luhrsen <jluhrsen@redhat.com>
Wed, 31 May 2017 23:14:48 +0000 (23:14 +0000)
Change-Id: I3a732b1cfdd671d35c826bfdee94bceab04cd3ff
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
csit/variables/bgpflowspec/bgp-flowspec.cfg

index 02c6d21ceb5526d4b970d713fe0bdfeacc591b4a..0ad1c6a3ca6884ac4b48e513e47d3a0945ab941e 100755 (executable)
@@ -7,25 +7,24 @@ family {
   ipv4 flow;
 }
 flow {
-       route {
-               match {
-                       source 10.0.0.1/32;
-                       destination 192.168.0.1/32;
-                       port =80;
-                       destination-port >8080&<8088;
-                       source-port >1024;
-                       protocol tcp;
-                       packet-length >400&<500;
-                       fragment first-fragment;
-                       icmp-type echo-reply;
-                       icmp-code network-unreachable;
-                       tcp-flags urgent;
-                       dscp 20;
-
-               }
-               then {
-                      action sample-terminal;
-               }
-       }
+    route flow1 {
+        match {
+            source 10.0.0.1/32;
+            destination 192.168.0.1/32;
+            port =80;
+            destination-port [ >8080&<8088 ];
+            source-port >1024;
+            protocol tcp;
+            packet-length [ >400&<500 ];
+            fragment =first-fragment;
+            icmp-type echo-reply;
+            icmp-code network-unreachable;
+            tcp-flags =urgent;
+            dscp 20;
+        }
+        then {
+            action sample-terminal;
+        }
+    }
 }
 }