Updated TYPE_MAP for security group rules

Updated TYPE_MAP for security group rules so that from_port and
to_port are correctly identified as ints for XML.

Fixed bug:1160238

Change-Id: I432c7f01fc16c476d6452a4ac4e219dbfa6d0388
This commit is contained in:
Nikhil Manchanda
2013-03-26 01:57:59 -07:00
parent 0585f21e46
commit 11ba71c48e

View File

@@ -50,6 +50,10 @@ TYPE_MAP = {
"vmRss": int,
"fdSize": int,
},
"security_group_rule": {
"from_port": int,
"to_port": int,
},
}
TYPE_MAP["flavors"] = TYPE_MAP["flavor"]