Skip to content

Commit

Permalink
Add ipv6 ACL support in schema file (sonic-net#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenggen-xu authored and lguohan committed Apr 30, 2018
1 parent f939b95 commit bc97597
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions doc/swss-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit bc97597

Please sign in to comment.