Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
unspecified
-
None
-
None
-
Operating System: Linux
Platform: PC
-
1191
Description
Bulk requests for creating network, subnet, port are not implemented as per the neutron v2.0 spec, as the bulk requests are atomic.
Following are two issues:
1. Negative cases of bulk request
For the cases, where the bulk request is able to add a network/port/subnet successfully, there are no issues. But, if any of the requests fails, there is no logic in ODL which can delete the previously created networks/subnets/ports.
For example: If a request for creating 5 networks is failing at creating the 3rd network, there should be tear down of the first two networks.
So canCreateNetwork method will check whether network can be created or not for the bulk request.
After that addnetwork method will add the networks to the local cache. and when it fails at creating 3rd network there should be logic that deletes the previously created networks.
2. Support for adding network/ports/subnets
In NeutronNetworksNorthbound class we are using INeutronNetworkAware interface for implementing canCreateNetwork and neutronNetworkCreated but there is no method for adding network wherein the plugins extending the neutron APIs can actually add or create the network. A support for the same should be provided.
Attachments
Issue Links
- blocks
-
NEUTRON-3 Support for adding network/ports/subnets
- Resolved