Last active
August 29, 2015 14:13
-
-
Save yuuichi-fujioka/92c01246d12a01b52717 to your computer and use it in GitHub Desktop.
get mapping between port name and port number
This file contains hidden or 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
ovs-vsctl -f json list interface | jq '[.data[] | {key: .[22], value: .[23]}] | from_entries' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment