forked from napalm-automation-community/napalm-asa
-
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.
Initial code to support additional endpoints on get_interfaces
- Loading branch information
1 parent
7120f8b
commit 6795725
Showing
4 changed files
with
100 additions
and
25 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,56 @@ | ||
{ | ||
"kind": "collection#VlanMgmtInterface", | ||
"selfLink": "https://192.168.218.66/api/interfaces/vlan", | ||
"rangeInfo": { | ||
"offset": 0, | ||
"limit": 1, | ||
"total": 1 | ||
}, | ||
"items": [ | ||
{ | ||
"kind": "object#VlanMgmtInterface", | ||
"selfLink": "https://192.168.218.66/api/interfaces/vlan/Management0_API_SLASH_0.2", | ||
"hardwareID": "Management0/0.2", | ||
"interfaceDesc": "SubManagement", | ||
"forwardTrafficCX": false, | ||
"forwardTrafficSFR": false, | ||
"activeMacAddress": "", | ||
"standByMacAddress": "", | ||
"managementOnly": true, | ||
"mtu": 1500, | ||
"name": "submgmt", | ||
"securityLevel": 0, | ||
"shutdown": false, | ||
"vlanID": 2, | ||
"ipAddress": { | ||
"kind": "StaticIP", | ||
"ip": { | ||
"kind": "IPv4Address", | ||
"value": "10.205.1.3" | ||
}, | ||
"netMask": { | ||
"kind": "IPv4NetMask", | ||
"value": "255.255.0.0" | ||
} | ||
}, | ||
"ipv6Info": { | ||
"enabled": false, | ||
"autoConfig": false, | ||
"enforceEUI64": false, | ||
"managedAddressConfig": false, | ||
"nsInterval": 1000, | ||
"dadAttempts": 1, | ||
"nDiscoveryPrefixList": [], | ||
"otherStatefulConfig": false, | ||
"routerAdvertInterval": 200, | ||
"routerAdvertIntervalUnit": "sec", | ||
"routerAdvertLifetime": 1800, | ||
"suppressRouterAdvert": false, | ||
"reachableTime": 0, | ||
"ipv6Addresses": [], | ||
"kind": "object#Ipv6InterfaceInfo" | ||
}, | ||
"objectId": "Management0_API_SLASH_0.2" | ||
} | ||
] | ||
} |
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