Skip to content

Commit bc97597

Browse files
zhenggen-xulguohan
authored andcommitted
Add ipv6 ACL support in schema file (sonic-net#490)
1 parent f939b95 commit bc97597

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

doc/swss-schema.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ Stores information about ACL tables on the switch. Port names are defined in [p
419419
key = ACL_TABLE:name ; acl_table_name must be unique
420420
;field = value
421421
policy_desc = 1*255VCHAR ; name of the ACL policy table description
422-
type = "mirror"/"l3" ; type of acl table, every type of
422+
type = "mirror"/"l3"/"l3v6" ; type of acl table, every type of
423423
; table defines the match/action a
424424
; specific set of match and actions.
425425
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.
459459
ether_type = h16 ; Ethernet type field
460460

461461
ip_type = ip_types ; options of the l2_protocol_type
462-
; field. Only v4 is support for
463-
; this stage.
462+
; field.
464463

465464
ip_protocol = h8 ; options of the l3_protocol_type field
466465

@@ -470,6 +469,12 @@ Stores rules associated with a specific ACL table on the switch.
470469
dst_ip = ipv4_prefix ; options of the destination ipv4
471470
; address (and mask) field
472471

472+
src_ipv6 = ipv6_prefix ; options of the source ipv6
473+
; address (and mask) field
474+
475+
dst_ipv6 = ipv6_prefix ; options of the destination ipv6
476+
; address (and mask) field
477+
473478
l4_src_port = port_num ; source L4 port or the
474479
l4_dst_port = port_num ; destination L4 port
475480

0 commit comments

Comments
 (0)