deb-murano/muranoapi
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
..
api Fix extracting services from deployment.description 2014-04-23 20:15:21 +04:00
cmd Uncomment tag import 2014-04-23 14:07:27 -05:00
common Implemented AdvNetworking scenarios via Neutron 2014-04-29 13:02:11 +04:00
db Implemented AdvNetworking scenarios via Neutron 2014-04-29 13:02:11 +04:00
dsl Added MuranoPL infrastructure for advanced networking scenarios 2014-04-29 12:43:48 +04:00
engine Implemented AdvNetworking scenarios via Neutron 2014-04-29 13:02:11 +04:00
locale Cherry-pick the following commits from release-0.4 2014-02-10 18:52:31 +04:00
openstack Added 'destroy' method that is called on deleted instances 2014-04-08 16:32:29 +04:00
packages Use io.BytesIO instead of sqlalchemy.byte_buffer 2014-04-18 15:59:37 -05:00
tests Support packages in dsl and engine 2014-04-14 19:03:44 +04:00
__init__.py Cherry-pick the following commits from release-0.4 2014-02-10 18:52:31 +04:00
context.py Initial commit for repository API support 2014-03-28 13:38:20 +04:00
utils.py Fix parentheses in log translation 2014-04-04 13:23:33 +04:00