forked from sonic-net/sonic-buildimage
-
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]: do not add default deny rule for egress acl (sonic-net#…
…1531) * [acl-loader]: do not add default deny rule for egress acl Signed-off-by: Guohan Lu <[email protected]>
- Loading branch information
Showing
5 changed files
with
180 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
{ | ||
"acl": { | ||
"acl-sets": { | ||
"acl-set": { | ||
"DATAACL_3": { | ||
"acl-entries": { | ||
"acl-entry": { | ||
"1": { | ||
"config": { | ||
"sequence-id": 1 | ||
}, | ||
"actions": { | ||
"config": { | ||
"forwarding-action": "ACCEPT" | ||
} | ||
}, | ||
"ip": { | ||
"config": { | ||
"protocol": "IP_ICMP", | ||
"source-ip-address": "20.0.0.2/32", | ||
"destination-ip-address": "30.0.0.3/32" | ||
} | ||
}, | ||
"icmp": { | ||
"config": { | ||
"type": "3", | ||
"code": "0" | ||
} | ||
} | ||
}, | ||
"2": { | ||
"config": { | ||
"sequence-id": 2 | ||
}, | ||
"actions": { | ||
"config": { | ||
"forwarding-action": "ACCEPT" | ||
} | ||
}, | ||
"l2": { | ||
"config": { | ||
"vlan-id": "369" | ||
} | ||
}, | ||
"ip": { | ||
"config": { | ||
"protocol": "IP_TCP", | ||
"source-ip-address": "20.0.0.2/32", | ||
"destination-ip-address": "30.0.0.3/32" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"DATAACL_4": { | ||
"acl-entries": { | ||
"acl-entry": { | ||
"1": { | ||
"config": { | ||
"sequence-id": 1 | ||
}, | ||
"actions": { | ||
"config": { | ||
"forwarding-action": "ACCEPT" | ||
} | ||
}, | ||
"ip": { | ||
"config": { | ||
"protocol": "IP_ICMP", | ||
"source-ip-address": "::1/128", | ||
"destination-ip-address": "::1/128" | ||
} | ||
}, | ||
"icmp": { | ||
"config": { | ||
"type": "1", | ||
"code": "0" | ||
} | ||
} | ||
}, | ||
"2": { | ||
"config": { | ||
"sequence-id": 100 | ||
}, | ||
"actions": { | ||
"config": { | ||
"forwarding-action": "ACCEPT" | ||
} | ||
}, | ||
"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