-
-
Save netmanchris/ee2a282bb7f01e3cd3c5 to your computer and use it in GitHub Desktop.
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
def print_dev_category(): | |
categories = [{"categoryId":"0", "dev_type":"router"}, | |
{"categoryId":"1", "dev_type":"switch"}, | |
{"categoryId":"2", "dev_type":"server"}, | |
{"categoryId":"3", "dev_type":"security"}, | |
{"categoryId":"4", "dev_type":'storage' }, | |
{"categoryId":"5", "dev_type":"wireless"}, | |
{"categoryId":"6", "dev_type": "voice"}, | |
{"categoryId":"7", "dev_type":'printer'}, | |
{"categoryId":"8", "dev_type":'ups'}, | |
{"categoryId":"9", "dev_type":"desktop"}, | |
{"categoryId":"10", "dev_type":"other"}, | |
{"categoryId":"11", "dev_type":"surveillance"}, | |
{"categoryId":"12", "dev_type":"video"}, | |
{"categoryId":"13", "dev_type":"module"}, | |
{"categoryId":"14", "dev_type":"virtualdev"}, | |
{"categoryId":"15", "dev_type":"Load Balancer"}, | |
{"categoryId":"16", "dev_type":"sdn_ctrl"} | |
] | |
for i in categories: | |
print ("For "+i["dev_type"]+", Please press: "+i["categoryId"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment