Skip to content

Commit

Permalink
[ACL-HLD] Capitalizing ACL rule fields in config schema (#710)
Browse files Browse the repository at this point in the history
Creating a new PR to capitalize ACL rule fields in config schema in ACL HLD document.

Co-authored-by: Madhan Babu <[email protected]>
  • Loading branch information
madhanmellanox and Madhan Babu authored Nov 18, 2020
1 parent 047b650 commit 90535d7
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions doc/acl/ACL-High-Level-Design.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,40 +187,40 @@ No update is needed to support ACL.
; policy.

;field = value
priority = 1*3DIGIT ; rule priority. Valid values range
PRIORITY = 1*3DIGIT ; rule priority. Valid values range
; could be platform dependent

packet_action = "forward"/"drop"/"mirror" ; action when the fields are
PACKET_ACTION = "forward"/"drop"/"mirror" ; action when the fields are
; matched (mirror action only
; available to mirror acl table
; type)

mirror_action = 1*255VCHAR ; refer to the mirror session
MIRROR_ACTION = 1*255VCHAR ; refer to the mirror session
; (only available to mirror acl
; table type)

ether_type = h16 ; Ethernet type field
ETHER_TYPE = h16 ; Ethernet type field

ip_type = ip_types ; options of the l2_protocol_type
IP_TYPE = ip_types ; options of the l2_protocol_type
; field. Only v4 is support for
; this stage.

ip_protocol = h8 ; options of the l3_protocol_type field
IP_PROTOCOL = h8 ; options of the l3_protocol_type field

src_ip = ipv4_prefix ; options of the source ipv4
SRC_IP = ipv4_prefix ; options of the source ipv4
; address (and mask) field

dst_ip = ipv4_prefix ; options of the destination ipv4
DST_IP = ipv4_prefix ; options of the destination ipv4
; address (and mask) field

l4_src_port = port_num ; source L4 port or the
l4_dst_port = port_num ; destination L4 port
L4_SRC_PORT = port_num ; source L4 port or the
L4_DST_PORT = port_num ; destination L4 port

l4_src_port_range = port_num_L-port_num_H ; source ports range of L4 ports field
l4_dst_port_range = port_num_L-port_num_H ; destination ports range of L4 ports field
L4_SRC_PORT_RANGE = port_num_L-port_num_H ; source ports range of L4 ports field
l4_DST_PORT_RANGE = port_num_L-port_num_H ; destination ports range of L4 ports field

tcp_flags = h8/h8 ; TCP flags field and mask
dscp = h8 ; DSCP field (only available for mirror
TCP_FLAGS = h8/h8 ; TCP flags field and mask
DSCP = h8 ; DSCP field (only available for mirror
; table type)

;value annotations
Expand Down

0 comments on commit 90535d7

Please sign in to comment.