Update vACL config files 97/39697/3
authorDeepak S <deepak.s@linux.intel.com>
Sat, 19 Aug 2017 00:44:56 +0000 (17:44 -0700)
committerDeepak S <deepak.s@linux.intel.com>
Mon, 21 Aug 2017 13:01:52 +0000 (13:01 +0000)
JIRA: SAMPLEVNF-76
Change-Id: Iab363cc6cd5310e25c15758f02ca68751e81a49c
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
VNFs/vACL/config/IPv4_hwlb_acl.tc
VNFs/vACL/config/IPv4_hwlb_acl_1LB_1t.cfg
VNFs/vACL/config/IPv4_swlb_acl.tc
VNFs/vACL/config/IPv4_swlb_acl_1LB_1t.cfg
VNFs/vACL/config/IPv6_hwlb_acl.tc
VNFs/vACL/config/IPv6_hwlb_acl_1LB_1t.cfg
VNFs/vACL/config/IPv6_swlb_acl.tc
VNFs/vACL/config/IPv6_swlb_acl_1LB_1t.cfg

index fa4f143..79b48ed 100644 (file)
 ; limitations under the License.
 
 link 0 down
-link 0 config 192.16.100.10 8
+link 0 config 202.16.100.10 8
 link 0 up
+
 link 1 down
-link 1 config 152.16.40.10 8
+link 1 config 172.16.40.10 8
 link 1 up
 
-p 1 arpadd 1 152.16.40.20 00:00:00:00:00:02
-p 1 arpadd 0 192.16.100.20 00:00:00:00:00:01
+; routeadd <port #> <ipv4 nhip address in decimal> <Mask>
+routeadd 0 202.16.100.20 0xff000000
+routeadd 1 172.16.40.20  0xff000000
+
+; IPv4 static ARP
+;p 1 arpadd 1 172.16.40.20 00:00:00:00:00:04
+;p 1 arpadd 0 202.16.100.20 00:00:00:00:00:01
+
 p action add 0 accept
 p action add 0 fwd 0 
 p action add 0 count
+
 p action add 1 accept
 p action add 1 fwd 1
 p action add 1 count
 
-p acl add 1 192.16.100.0 8 152.16.40.0 8 0 65535 0 65535 0 0 1
-p acl add 1 152.16.40.0 8 192.16.100.0 8 0 65535 0 65535 0 0 0 
+; IPv4 rules
+p acl add 1 202.16.100.20 8 172.16.40.20 8 0 65535 0 65535 0 0 1
+p acl add 1 172.16.40.20 8 202.16.100.20 8 0 65535 0 65535 0 0 0
 p acl applyruleset
+
 set fwd rxonly
 set_sym_hash_ena_per_port 0 enable
 set_hash_global_config 0 simple_xor ipv4-udp enable
index 77beeb1..f312e5b 100644 (file)
 ; See the License for the specific language governing permissions and
 ; limitations under the License.
 
+[EAL]
+# add pci whitelist eg below
+w = 05:00.0
+w = 05:00.1
+
 [PIPELINE0]
 type = MASTER
 core = 0
@@ -20,8 +25,6 @@ type = ARPICMP
 core = 1
 pktq_in  = SWQ0
 pktq_out = TXQ0.0 TXQ1.0
-arp_route_tbl = (98102814,ff000000,1,98102814) (c0106414,ff000000,0,c0106414)
-ports_mac_list = 00:00:00:00:00:01 00:00:00:00:00:02
 pktq_in_prv =  RXQ0.0
 prv_to_pub_map = (0,1)
 prv_que_handler = (0)
index 25fdfba..7274847 100644 (file)
 ; limitations under the License.
 
 link 0 down
-link 0 config 192.16.100.10 8
+link 0 config 202.16.100.10 8
 link 0 up
+
 link 1 down
-link 1 config 192.16.40.10 8
+link 1 config 172.16.40.10 8
 link 1 up
 
-;p 1 arpadd 1 192.16.40.20 00:00:00:00:00:02
-;p 1 arpadd 0 192.16.100.20 00:00:00:00:00:01
+; routeadd <port #> <ipv4 nhip address in decimal> <Mask>
+routeadd 0 202.16.100.20 0xff000000
+routeadd 1 172.16.40.20  0xff000000
+
+; IPv4 static ARP
+;p 1 arpadd 1 172.16.40.20 00:00:00:00:00:04
+;p 1 arpadd 0 202.16.100.20 00:00:00:00:00:01
+
 p action add 0 accept
 p action add 0 fwd 0 
 p action add 0 count
+
 p action add 1 accept
 p action add 1 fwd 1
 p action add 1 count
 
-p acl add 1 192.16.100.0 8 192.16.40.0 8 0 65535 0 65535 0 0 1
-p acl add 1 192.16.40.0 8 192.16.100.0 8 0 65535 0 65535 0 0 0 
-p acl applyruleset
+; IPv4 rules
+p acl add 1 202.16.100.20 8 172.16.40.20 8 0 65535 0 65535 0 0 1
+p acl add 1 172.16.40.20 8 202.16.100.20 8 0 65535 0 65535 0 0 0
+p acl applyruleset
\ No newline at end of file
index 2637ec1..2a8d6d0 100644 (file)
 ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ; See the License for the specific language governing permissions and
 ; limitations under the License.
+[EAL]
+# add pci whitelist eg below
+w = 05:00.0
+w = 05:00.1
 
 [PIPELINE0]
 type = MASTER
@@ -19,9 +23,7 @@ core = 0
 type = ARPICMP
 core = 1
 pktq_in  = SWQ2
-pktq_out = TXQ0.0 TXQ1.0
-arp_route_tbl = (c0102814,ffffff00,1,98102814) (c0106414,ffffff00,0,c0106414)
-ports_mac_list = 00:00:00:00:00:01 00:00:00:00:00:02
+pktq_out = SWQ7
 pktq_in_prv =  RXQ0.0
 prv_to_pub_map = (0,1)
 prv_que_handler = (0)
@@ -53,6 +55,6 @@ traffic_type = 4
 [PIPELINE5]
 type = TXRX
 core = 5
-pktq_in  = SWQ5 SWQ6
-pktq_out = TXQ0.1 TXQ1.1
+pktq_in  = SWQ5 SWQ6 SWQ7
+pktq_out = TXQ0.0 TXQ1.0
 pipeline_txrx_type = TXTX      
index 3ec5fba..4176110 100644 (file)
 link 0 down
 link 0 config fec0:0000:0000:0000:6a05:caff:fe30:21a0 64
 link 0 up
+
 link 1 down
 link 1 config 2012:0000:0000:0000:6a05:caff:fe30:2071 64
 link 1 up
-p 1 arpadd 0 fec0::6a05:caff:fe30:21b0 00:00:00:00:00:01
-p 1 arpadd 1 2012::6a05:caff:fe30:2081 00:00:00:00:00:02
+
+;routeadd <port #> <ipv6 nhip address in hex> <Depth>
+routeadd 0 fec0::6a05:caff:fe30:21b0  64
+routeadd 1 2012::6a05:caff:fe30:2081 64
+
+; IPv6 static ARP
+;p 1 arpadd 0 fec0::6a05:caff:fe30:21b0 00:00:00:00:00:01
+;p 1 arpadd 1 2012::6a05:caff:fe30:2081 00:00:00:00:00:04
+
 p action add 0 accept
-p action add 0 fwd 1
+p action add 0 fwd 
 p action add 0 count
 
 p action add 1 accept
-p action add 1 fwd 0
+p action add 1 fwd 1
 p action add 1 count
 
-
-;p action add 0 conntrack
-;p action add 1 conntrack
-;p action add 2 conntrack
-;p action add 3 conntrack
-
-p acl add 1 fec0::6a05:caff:fe30:21b0 64 2012::6a05:caff:fe30:2081 64 0 65535 0 65535 0 0 0
-p acl add 1 2012::6a05:caff:fe30:2081 64 fec0::6a05:caff:fe30:21b0 64 0 65535 0 65535 0 0 1
+; IPv6 rules
+p acl add 1 fec0::6a05:caff:fe30:21b0 64 2012::6a05:caff:fe30:2081 64 0 65535 0 65535 0 0 1
+p acl add 1 2012::6a05:caff:fe30:2081 64 fec0::6a05:caff:fe30:21b0 64 0 65535 0 65535 0 0 0
 p acl applyruleset
+
 set fwd rxonly
 set_sym_hash_ena_per_port 0 enable
 set_hash_global_config 0 simple_xor ipv6-udp enable
index cdb16ca..6568d78 100644 (file)
 ; See the License for the specific language governing permissions and
 ; limitations under the License.
 
+[EAL]
+# add pci whitelist eg below
+w = 05:00.0
+w = 05:00.1
+
 [PIPELINE0]
 type = MASTER
 core = 0
@@ -20,9 +25,6 @@ type = ARPICMP
 core = 1
 pktq_in  = SWQ0
 pktq_out = TXQ0.0 TXQ1.0
-nd_route_tbl =  (fe80::6a05:caff:fe30:21b0,64,0,fe80::6a05:caff:fe30:21b0)
-nd_route_tbl =  (2012::6a05:caff:fe30:2081,64,1,2012::6a05:caff:fe30:2081)
-ports_mac_list = 00:00:00:00:00:01 00:00:00:00:00:02
 pktq_in_prv =  RXQ0.0
 prv_to_pub_map = (0,1)
 prv_que_handler = (0)
index 0dc8212..c964609 100644 (file)
 ; limitations under the License.
 
 link 0 down
-link 0 config fe80:0000:0000:0000:6a05:caff:fe30:21a0 64
+link 0 config fec0:0000:0000:0000:6a05:caff:fe30:21a0 64
 link 0 up
+
 link 1 down
 link 1 config 2012:0000:0000:0000:6a05:caff:fe30:2071 64
 link 1 up
-p 1 arpadd 0 fe80::6a05:caff:fe30:21b0 00:00:00:00:00:01
-p 1 arpadd 1 2012::6a05:caff:fe30:2081 3c:fd:fe:a1:37:aa
+
+;routeadd <port #> <ipv6 nhip address in hex> <Depth>
+routeadd 0 fec0::6a05:caff:fe30:21b0  64
+routeadd 1 2012::6a05:caff:fe30:2081 64
+
+; IPv6 static ARP
+;p 1 arpadd 0 fec0::6a05:caff:fe30:21b0 00:00:00:00:00:01
+;p 1 arpadd 1 2012::6a05:caff:fe30:2081 00:00:00:00:00:04
+
 p action add 0 accept
-p action add 0 fwd 1
+p action add 0 fwd 
 p action add 0 count
 
 p action add 1 accept
-p action add 1 fwd 0
+p action add 1 fwd 1
 p action add 1 count
 
-
-;p action add 0 conntrack
-;p action add 1 conntrack
-;p action add 2 conntrack
-;p action add 3 conntrack
-
-p acl add 1 fe80::6a05:caff:fe30:21b0 64 2012::6a05:caff:fe30:2081 64 0 65535 0 65535 0 0 0
-p acl add 1 2012::6a05:caff:fe30:2081 64 fe80::6a05:caff:fe30:21b0 64 0 65535 0 65535 0 0 1
-p acl applyruleset
-
+; IPv6 rules
+p acl add 1 fec0::6a05:caff:fe30:21b0 64 2012::6a05:caff:fe30:2081 64 0 65535 0 65535 0 0 1
+p acl add 1 2012::6a05:caff:fe30:2081 64 fec0::6a05:caff:fe30:21b0 64 0 65535 0 65535 0 0 0
+p acl applyruleset
\ No newline at end of file
index 43d0e72..2b5017e 100644 (file)
 ; See the License for the specific language governing permissions and
 ; limitations under the License.
 
+[EAL]
+# add pci whitelist eg below
+w = 05:00.0
+w = 05:00.1
+
 [PIPELINE0]
 type = MASTER
 core = 0
@@ -19,10 +24,7 @@ core = 0
 type = ARPICMP
 core = 1
 pktq_in  = SWQ2
-pktq_out = TXQ0.0 TXQ1.0
-nd_route_tbl =  (fe80::6a05:caff:fe30:21b0,64,0,fe80::6a05:caff:fe30:21b0)
-nd_route_tbl =  (2012::6a05:caff:fe30:2081,64,1,2012::6a05:caff:fe30:2081)
-ports_mac_list = 00:00:00:00:00:01 00:00:00:00:00:02
+pktq_out = SWQ7
 pktq_in_prv =  RXQ0.0
 prv_to_pub_map = (0,1)
 prv_que_handler = (0)
@@ -54,6 +56,6 @@ traffic_type = 6
 [PIPELINE5]
 type = TXRX
 core = 5
-pktq_in  = SWQ5 SWQ6
-pktq_out = TXQ0.1 TXQ1.1
+pktq_in  = SWQ5 SWQ6 SWQ7
+pktq_out = TXQ0.0 TXQ1.0
 pipeline_txrx_type = TXTX