Closed garethsb closed 4 years ago
This PR allows:
GET /network-address-translations (for all NAT policies)
GET /network-address-translations?translation_scope.level=root (for'global' NAT policies)
GET /network-address-translations?translation_scope.level=network_device&translation_scope.device_id={networkDeviceId} (for NAT policies only applied at the switch level on the specific switch)
GET /network-address-translations?translation_scope.level=network_device_interface&translation_scope.device_id={networkDeviceId}&translation_scope.port_id=Ethernet%201/2 (for NAT policies only applied on the specific interface)
It also allows some other queries which may or may not be useful:
Approved by @vsachin33 by email.
Proposal based on Zoom call 10-Feb-2020 and subsequent feedback, to add the three levels of scope to PR #50 in a different way.