forked from sonic-net/sonic-utilities
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[acl-loader] Support for ACL table type L3V4V6
Support a new ACL table type called L3V4V6. This table supports both v4 and v6 Match types. Add unit tests for this new ACL table type. HLD: sonic-net/SONiC#1267 Signed-off-by: Ravi(Marvell) [email protected]
- Loading branch information
1 parent
d17d124
commit b200fc6
Showing
6 changed files
with
247 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
{ | ||
"acl": { | ||
"acl-sets": { | ||
"acl-set": { | ||
"DATAACLV4V6": { | ||
"acl-entries": { | ||
"acl-entry": { | ||
"1": { | ||
"config": { | ||
"sequence-id": 1 | ||
}, | ||
"actions": { | ||
"config": { | ||
"forwarding-action": "ACCEPT" | ||
} | ||
}, | ||
"ip": { | ||
"config": { | ||
"protocol": "IP_TCP", | ||
"source-ip-address": "20.0.0.2/32", | ||
"destination-ip-address": "30.0.0.3/32" | ||
} | ||
} | ||
}, | ||
"2": { | ||
"config": { | ||
"sequence-id": 2 | ||
}, | ||
"actions": { | ||
"config": { | ||
"forwarding-action": "ACCEPT" | ||
} | ||
}, | ||
"l2": { | ||
"config": { | ||
"ethertype": "ETHERTYPE_IPV6" | ||
} | ||
}, | ||
"ip": { | ||
"config": { | ||
"protocol": "IP_ICMP", | ||
"source-ip-address": "::1/128", | ||
"destination-ip-address": "::1/128" | ||
} | ||
}, | ||
"icmp": { | ||
"config": { | ||
"type": "1", | ||
"code": "0" | ||
} | ||
} | ||
}, | ||
"3": { | ||
"config": { | ||
"sequence-id": 3 | ||
}, | ||
"actions": { | ||
"config": { | ||
"forwarding-action": "ACCEPT" | ||
} | ||
}, | ||
"l2": { | ||
"config": { | ||
"ethertype": "ETHERTYPE_IPV6" | ||
} | ||
}, | ||
"ip": { | ||
"config": { | ||
"protocol": "IP_ICMP", | ||
"source-ip-address": "::1/128", | ||
"destination-ip-address": "::1/128" | ||
} | ||
}, | ||
"icmp": { | ||
"config": { | ||
"type": "128" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters