Changes Neutron Security Group Ports to Integers

Previously, neutron security group tcp/udp port numbers were
defined as strings.  This was not an issue when testing with trunk
but is an issue when testing with 2014.1.b2.

2014.1.b2 expects the parameters to be defined as integers not
strings.  When the tcp/udp ports are defined as integers, the
security group rules work with trunk as well as 2014.1.b2.

Change-Id: If7e5af163993b4cad3f31583ea73e9e856ab0ccb
This commit is contained in:
danehans 2014-03-06 18:28:32 +00:00
parent 117650dae9
commit e005415ad4
1 changed files with 18 additions and 18 deletions

View File

@ -87,56 +87,56 @@
{
"remote_ip_prefix": "0.0.0.0/0",
"protocol": "tcp",
"port_range_min": "22",
"port_range_max": "22"
"port_range_min": 22,
"port_range_max": 22
},
{
"remote_ip_prefix": "0.0.0.0/0",
"protocol": "udp",
"port_range_min": "53",
"port_range_max": "53"
"port_range_min": 53,
"port_range_max": 53
},
{
"remote_ip_prefix": "0.0.0.0/0",
"protocol": "tcp",
"port_range_min": "80",
"port_range_max": "80"
"port_range_min": 80,
"port_range_max": 80
},
{
"remote_ip_prefix": "0.0.0.0/0",
"protocol": "tcp",
"port_range_min": "443",
"port_range_max": "443"
"port_range_min": 443,
"port_range_max": 443
},
{
"remote_ip_prefix": "0.0.0.0/0",
"protocol": "tcp",
"port_range_min": "8443",
"port_range_max": "8443"
"port_range_min": 8443,
"port_range_max": 8443
},
{
"remote_ip_prefix": "0.0.0.0/0",
"protocol": "tcp",
"port_range_min": "8000",
"port_range_max": "8000"
"port_range_min": 8000,
"port_range_max": 8000
},
{
"remote_ip_prefix": "0.0.0.0/0",
"protocol": "tcp",
"port_range_min": "8161",
"port_range_max": "8161"
"port_range_min": 8161,
"port_range_max": 8161
},
{
"remote_ip_prefix": "0.0.0.0/0",
"protocol": "tcp",
"port_range_min": "8080",
"port_range_max": "8080"
"port_range_min": 8080,
"port_range_max": 8080
},
{
"remote_ip_prefix": "0.0.0.0/0",
"protocol": "tcp",
"port_range_min": "8161",
"port_range_max": "8161"
"port_range_min": 8161,
"port_range_max": 8161
}
]
}