[NEUTRON-71] Valid remote-ip-prefix (e.g. 192.168.50.0/24) sent by neutron security-group-rule-create is not accepted by Neutron northbound API Created: 28/Sep/15 Updated: 19/Oct/17 Resolved: 13/Oct/15 |
|
| Status: | Resolved |
| Project: | neutron |
| Component/s: | northbound-api |
| Affects Version/s: | stable/lithium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Peter Palmar | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 4363 |
| Description |
|
Related log messages: 2015-09-25 16:27:33,090 | TRACE | tp932741097-3022 | NeutronSecurityRuleAware | 314 - org.opendaylight.groupbasedpolicy.neutron-mapper - 0.2.2.SNAPSHOT | canCreateNeutronSecurityRule - NeutronSecurityRule {securityRuleUUID='c77016a8-10ac-4f5d-854e-cb3ae4c58397', securityRuleDirection='ingress', securityRuleProtocol='tcp', securityRulePortMin=20202, securityRulePortMax=20208, securityRuleEthertype='IPv4', securityRuleRemoteIpPrefix='192.168.50.0/24', securityRemoteGroupID=null, securityRuleGroupID='5a816afa-fa86-4575-849c-54cc7e74c247', securityRuleTenantID='60b166c6-a167-4094-a717-149b4ee46413'}2015-09-25 16:27:33,091 | ERROR | tp932741097-3022 | ContainerResponse | 217 - com.sun.jersey.jersey-server - 1.17.0 | The RuntimeException could not be mapped to a response, re-throwing to the HTTP container |
| Comments |
| Comment by Martin Sunal [ 28/Sep/15 ] |
|
remote ip prefix has CIDR format - 192.168.50.0/24 but neutron-secgroups.yang has modeled remote ip prefix as: leaf remote-ip-prefix { as you can see type inet:ip-prefix should be used instead of intet:ip-address |
| Comment by Isaku Yamahata [ 29/Sep/15 ] |
|
The patch was merged by https://git.opendaylight.org/gerrit/#/c/26266/ Can you make sure that your ODL neutron northbound include the patch |
| Comment by Peter Palmar [ 13/Oct/15 ] |
|
Verified, it works. |