Commit Graph

16 Commits

Author SHA1 Message Date
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
Stan Lagun
ac6a0dedec Added 'destroy' method that is called on deleted instances
Added ability to modify/remove data from structures (like Heat
templates) via jsonpatch and thus added ability to clean up Heat
resources that was obtained by deleted instances

Closes bug: #1296624

Change-Id: I4db226a5ab00ff363f8b5d44a5d690df942622e8
2014-04-08 16:32:29 +04:00
Stan Lagun
e006eaf133 Adoption of pre-0.5 environment API to MuranoPL format
This is transitional API with minimum possible changes from API of Murano 0.4

Change-Id: Ic29e4cdbae13c6fdc388c005719aa4235bdccfa6
Closes-bug: #1297791
2014-04-01 17:38:12 +04:00
Serg Melikyan
7552552492 Add MuranoPL Engine
Added all missing parts to complete MuranoPL implementation:
 - system classes
 - base classes
 - integration with oslo.messaging
 - package entry-point & other things to run engine
Integrated engine with API

Note: some tests are marked to be skipped,
will be enabled via separate commit.

Partially-Implements: blueprint new-metadata-dsl
Change-Id: I3c1c2326b48da57647d55ea8edfba56f1657d7d6
2014-03-21 15:34:42 +04:00
Serg Melikyan
a8c66b0047 Use oslo.messaging
* Remove muranoapi/openstack/common/rpc
* Remove muranoapi/openstack/common/notifier
* Add ResultEndpoint for handling results from Conductor
* Add ReportNotificationEndpoint for handling reports from Conductor
* Add ConductorClient to send environments to Conductor
* Update murano-api.conf.sample with new RabbitMQ settings
* Clean-up openstack-common from rpc/notifier modules

Change-Id: I4b63f3e2b848143af99dff3c7d39080cc39516a0
2014-03-13 14:35:59 +04:00
Ruslan Kamaldinov
be849df8fa Fix and enable import checks
This patch fixes and enables:
* F401 unused imports
* H301 one import per line
* H302 import only modules
* H306 imports not in alphabetical order

Change-Id: I6f7f92004844184dc4bbea8c3a1ddfc196310b39
2014-03-12 19:29:08 +04:00
Serg Melikyan
494bcc5211 Enable HA on declared queues
Change-Id: I57a7ca13580a507f7a51c0ec7078f7f2eaef185e
2013-11-22 18:11:59 +04:00
Timur Sufiev
07bf9ab166 Don't delete environment in case there are problems with RabbitMQ.
Environment should be deleted from muranoapi db only when conductor is
available via RabbitMQ.

Closes-bug: #1236293
Change-Id: I8e4a670199c9f66847d6fe5bf7f7b8508faab72a
2013-11-20 20:54:59 +04:00
Stan Lagun
59b036a956 RabbitMQ SSL parameters were not passed to MqClient for certain types of operations
Change-Id: Id497c495bded0cf815ecc96a5ad7a45e7cc337c9
2013-09-17 09:42:39 +04:00
Serg Melikyan
bc87e2f8a7 Cherry-pick following change-ids from release-0.2.
Ie214f0fc9467171b2feb17b2356e834237786bb7
Iaba3df12b2ff0f415ee149e7173529ef2ad31b15

Change-Id: I969361b7a13f57db72ad08f68d98b2730fd0840b
2013-09-03 14:53:39 +04:00
Stan Lagun
332078e3b7 Updated to muranocommon 0.2 with SSL support
Change-Id: Ibf4ec63332ab1073bda7d1a1cd102cf514284188
2013-07-29 13:25:05 +04:00
Serg Melikyan
072b593de6 Migrated to Murano Common
Replaced old RabbitMQ code over amqplib to Murano Common MqClient

Change-Id: Icf721f9304f65df02231bde77c8472fd6e20c90d
2013-07-25 15:59:45 +04:00
Serg Melikyan
42b65c2283 New API v2.0
Introduced single endpoint for  services. Old endpoints is still available.
Added support for traverse feature for services.
Added ability to change any attribute on any service with one call

Change-Id: I06ad372ea6f15587d8a4e97d01820b4190172a59
2013-07-12 14:04:43 +04:00
Ekaterina Fedorova
898928e5fc Fix MRN-582. Env version incrementation added
Change-Id: I7a20adb170db48c86d8f2668703051d01e6f81c6
2013-07-10 14:46:22 +04:00
Stan Lagun
c72b92beb3 Support for ASP.NET apps git-based deployment
Change-Id: I1cb47fe1d79d9c4e48e05477c29427324abfccc3
2013-05-28 17:11:18 +04:00
Serg Melikyan
b15769420a New way of session handling
Change-Id: I3246fa50d2dac9a65f26045bcb9386660b602aa4
2013-05-27 12:31:45 +04:00