Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created February 19, 2014 23:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottslowe/9103770 to your computer and use it in GitHub Desktop.
Save scottslowe/9103770 to your computer and use it in GitHub Desktop.
This snippet of JSON-encoded data could be used with a VMware NSX RESTful API call to create a new logical switch.
{
"display_name": "test-lswitch",
"port_isolation_enabled": false,
"transport_zones": [
{
"zone_uuid": "dca3d854-b329-5458-b711-0df2d5762d7a",
"binding_config": {},
"transport_type": "stt"
}
],
"replication_mode": "source",
"type": "LogicalSwitchConfig"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment