deb-murano/muranoapi/db/services
Alexander Tivelkov b7c2aac9a2 Implemented AdvNetworking scenarios via Neutron
Added a new package ( io.murano.lib.networks.Neutron) to handle networking via Neutron
The package introduces a class 'NewNetwork' (io.murano.lib.networks.neutron.NewNetwork)
This class is capable of the following:
 - Create a new Network (L2 segment)
 - Use NetworkExplorer class to allocate an available CIDR
 - Create a new Subnet (L3 segment) in the created Network with the allocated CIDR
 - Use NetworkExplorer class to locate an available router
 - Use NetworkExplorer class to detect the default DNS nameserver
 - Uplink the created subnet to the located router

Also, as this class extends io.murano.resources.Network, it implements the addHostToNetwork method
The implementation creates a Neutron Port and connects that port to a created network and intance

 This commit also modifies the environment-creation logic of the API, allowing to add default networks
 to the Environment object.
 This is a temporary solution: in future the instantiation of this object(s) should be done in MuranoPL

 This commit concludes the minimum set of functionality needed to implement AdvancedNetworking
 in 0.4.x feature set.

 Closes-bug: #1308921

Change-Id: I885620099995b0d402a23def3ff428fb902973d2
2014-04-29 13:02:11 +04:00
..
__init__.py Remove copyright from empty files 2014-03-12 09:12:50 +00:00
core_services.py Adoption of pre-0.5 environment API to MuranoPL format 2014-04-01 17:38:12 +04:00
environments.py Implemented AdvNetworking scenarios via Neutron 2014-04-29 13:02:11 +04:00
instances.py Billing statistics improved 2014-04-11 14:54:54 +04:00
sessions.py Fix bug with session during deploy 2014-04-08 07:31:45 +00:00
stats.py Add CPU info to stats 2014-04-17 09:44:14 -07:00