method: subnet_create.
Look at line 2286: If there is an existing link between the virtual-network and the IPAM object the code is modifying the list of subnets associated with the link before doing the update.
I agree that the API is not very clear in this case. Ajay, please chime in.
Jacek, ipam(ipam) ipam(ipam, <new value>)
I believe that the API expects you do do:
- del_network_
- add_network_
In order to replace the existing value.
The code that is being used by the neutron plugin is: /github. com/Juniper/ contrail- controller/ blob/master/ src/config/ vnc_openstack/ vnc_openstack/ neutron_ plugin_ db.py
https:/
method: subnet_create.
Look at line 2286: If there is an existing link between the virtual-network and the IPAM object the code is modifying the list of subnets associated with the link before doing the update.
I agree that the API is not very clear in this case. Ajay, please chime in.