From bc97597e2ee9783297bf3bbb1c8830257890bc40 Mon Sep 17 00:00:00 2001 From: zhenggen-xu Date: Mon, 30 Apr 2018 16:41:46 -0700 Subject: [PATCH] Add ipv6 ACL support in schema file (#490) --- doc/swss-schema.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/swss-schema.md b/doc/swss-schema.md index 9dd91752cfa0..8ab08ff3824c 100644 --- a/doc/swss-schema.md +++ b/doc/swss-schema.md @@ -419,7 +419,7 @@ Stores information about ACL tables on the switch. Port names are defined in [p key = ACL_TABLE:name ; acl_table_name must be unique ;field = value policy_desc = 1*255VCHAR ; name of the ACL policy table description - type = "mirror"/"l3" ; type of acl table, every type of + type = "mirror"/"l3"/"l3v6" ; type of acl table, every type of ; table defines the match/action a ; specific set of match and actions. ports = [0-max_ports]*port_name ; the ports to which this ACL @@ -459,8 +459,7 @@ Stores rules associated with a specific ACL table on the switch. ether_type = h16 ; Ethernet type field ip_type = ip_types ; options of the l2_protocol_type - ; field. Only v4 is support for - ; this stage. + ; field. ip_protocol = h8 ; options of the l3_protocol_type field @@ -470,6 +469,12 @@ Stores rules associated with a specific ACL table on the switch. dst_ip = ipv4_prefix ; options of the destination ipv4 ; address (and mask) field + src_ipv6 = ipv6_prefix ; options of the source ipv6 + ; address (and mask) field + + dst_ipv6 = ipv6_prefix ; options of the destination ipv6 + ; address (and mask) field + l4_src_port = port_num ; source L4 port or the l4_dst_port = port_num ; destination L4 port