Skip to content

Instantly share code, notes, and snippets.

@mavenugo
Created March 1, 2014 18:30
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 mavenugo/9294669 to your computer and use it in GitHub Desktop.
Save mavenugo/9294669 to your computer and use it in GitHub Desktop.
{"policyConfigWithStatus":[{"policyConfig":{"installInHw":"true","name":"F1_Bronze_192.168.57.101_192.168.56.101","nwSrc":"192.168.57.101","nwDst":"192.168.56.101","dscp":"8","propertyName":"Number","propertyPolicyName":"Hop Count based Shortest Path","path":[{"tailNodeConnector":{"node":{"id":"openflow:3","type":"MD_SAL"},"id":"openflow:3:1","type":"MD_SAL"},"headNodeConnector":{"node":{"id":"openflow:6","type":"MD_SAL"},"id":"openflow:6:1","type":"MD_SAL"}},{"tailNodeConnector":{"node":{"id":"openflow:6","type":"MD_SAL"},"id":"openflow:6:3","type":"MD_SAL"},"headNodeConnector":{"node":{"id":"openflow:1","type":"MD_SAL"},"id":"openflow:1:3","type":"MD_SAL"}}]},"policyPathStatus":"INSTALLED"},{"policyConfig":{"installInHw":"true","name":"F2_Silver_192.168.57.101_192.168.56.101","nwSrc":"192.168.57.101","nwDst":"192.168.56.101","dscp":"12","propertyName":"Number","propertyPolicyName":"Weighted Least Cost Path","path":[{"tailNodeConnector":{"node":{"id":"openflow:3","type":"MD_SAL"},"id":"openflow:3:2","type":"MD_SAL"},"headNodeConnector":{"node":{"id":"openflow:4","type":"MD_SAL"},"id":"openflow:4:2","type":"MD_SAL"}},{"tailNodeConnector":{"node":{"id":"openflow:4","type":"MD_SAL"},"id":"openflow:4:1","type":"MD_SAL"},"headNodeConnector":{"node":{"id":"openflow:1","type":"MD_SAL"},"id":"openflow:1:1","type":"MD_SAL"}}]},"policyPathStatus":"INSTALLED"}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment