[yang] add Sample configuration for ACL_TABLE_TYPE (#10937)

Signed-off-by: Sudharsan Dhamal Gopalarathnam <sudharsand@nvidia.com>
This commit is contained in:
Sudharsan Dhamal Gopalarathnam 2022-05-27 09:45:29 -07:00 committed by GitHub
parent 054eb25c85
commit 441cd1d283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,6 +302,12 @@
"MIRROR_INGRESS_ACTION": "erspan", "MIRROR_INGRESS_ACTION": "erspan",
"DSCP": "10", "DSCP": "10",
"PRIORITY": "9999" "PRIORITY": "9999"
},
"DATAACL|RULE0": {
"PRIORITY": "999",
"PACKET_ACTION": "DROP",
"IP_TYPE": "IPv4ANY",
"SRC_IP": "1.1.1.1/32"
} }
}, },
"DEVICE_METADATA": { "DEVICE_METADATA": {
@ -816,6 +822,14 @@
"Ethernet24" "Ethernet24"
], ],
"stage": "ingress" "stage": "ingress"
},
"DATAACL": {
"stage": "INGRESS",
"type": "CUSTOM_L3",
"ports": [
"Ethernet0",
"PortChannel0003"
]
} }
}, },
@ -1823,7 +1837,24 @@
"num_dumps": "3", "num_dumps": "3",
"memory": "0M-2G:256M,2G-4G:256M,4G-8G:384M,8G-:448M" "memory": "0M-2G:256M,2G-4G:256M,4G-8G:384M,8G-:448M"
} }
} },
"ACL_TABLE_TYPE": {
"CUSTOM_L3": {
"matches": [
"IN_PORTS",
"OUT_PORTS",
"SRC_IP"
],
"actions": [
"PACKET_ACTION",
"MIRROR_INGRESS_ACTION"
],
"bind_points": [
"PORT",
"LAG"
]
}
}
}, },
"SAMPLE_CONFIG_DB_UNKNOWN": { "SAMPLE_CONFIG_DB_UNKNOWN": {
"UNKNOWN_TABLE": { "UNKNOWN_TABLE": {