[NEUTRON-142] XmlElement name of load_balancers in NeutronLoadBalancerListener is not correct Created: 15/Nov/16  Updated: 29/Nov/16  Resolved: 29/Nov/16

Status: Resolved
Project: neutron
Component/s: neutron-spi
Affects Version/s: master
Fix Version/s: None

Type: Bug
Reporter: wangqianyu Assignee: wangqianyu
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7185

 Description   

when creat loadbalancer listeners from openstack, there is no loadbalancerid in odl neutron,
the listeners in odl:
"listeners": {
"listener": [

{ "uuid": "7ecc6185-356e-4615-a2ac-f6a8cb5c600f", "tenant-id": "1292b071-c8fe-4626-bff1-39c360f6552a", "connection-limit": -1, "name": "Listener 1", "admin-state-up": true, "protocol": "neutron-constants:protocol-http", "protocol-port": 80 }

]
},

the reason is that, the received lb listener from openstack contains loadbalancers as xml key, not load_balancers.

so, in NeutronLoadBalancerListener.java, the XmlElement name of load_balancers should be changed to loadbalancers


Generated at Wed Feb 07 20:25:40 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.