Last active
May 16, 2017 19:50
-
-
Save netmanchris/bff9210e365837ff729c510a9280cf7c to your computer and use it in GitHub Desktop.
sample vlan json output
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
vlan_good = json.loads('''{ | |
"uri": "/vlans/1", | |
"vlan_id": 1, | |
"name": "DEFAULT_VLAN", | |
"status": "VS_PORT_BASED", | |
"type": "VT_STATIC", | |
"is_voice_enabled": false, | |
"is_jumbo_enabled": false, | |
"is_dsnoop_enabled": false, | |
"is_dhcp_server_enabled": false | |
} | |
''') | |
vlan_bad = json.loads('''{ | |
"uri": "/vlans/1", | |
"vlan_id": 5000, | |
"name": "DEFAULT_VLAN", | |
"status": "VS_PORT_BASED", | |
"type": "VT_STATIC", | |
"is_voice_enabled": false, | |
"is_jumbo_enabled": false, | |
"is_dsnoop_enabled": false, | |
"is_dhcp_server_enabled": false | |
} | |
''') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment