Added MuranoPL infrastructure for advanced networking scenarios
Base class 'Network' (io.murano.resources.Network) was added to core package.
This class is an abstract class for network interaction, to be inherited by
engine-specific implementations.
'Environment' class got a 'defaultNetworks' input parameter, containing two
different instances of Network class for two initially supported networking use-cases:
'environment' for a topology when each environment has an isolated network
'flat' for a single network per multiple environments
'Instance' class got a 'networks' input parameter with a default value.
This is a composite parameter indicating which networks the instance should join
If 'useEnvironmentNetwork' is set to 'true' the instance should join an
isolated network of current environment
if 'useFlatNetwork' is set to 'true' the instance should join a single
shared network
Both values may be enabled, so the instance will join both networks.
'customNetworks' field of the same data structure may be used to specify custom
network resources to join
Same commit includes a temporary workaround for bug #1313694
The workaround is needed to properly use default of 'networks' field
The actual implementation of io.murano.resources.Network class should
be done in a separate package, which should be added to app-incubator repo
Reviewed: https:/ /review. openstack. org/90730 /git.openstack. org/cgit/ stackforge/ murano- api/commit/ ?id=b7aec89493f ebdc3321ee67b86 e95f7451437794
Committed: https:/
Submitter: Jenkins
Branch: master
commit b7aec89493febdc 3321ee67b86e95f 7451437794
Author: Alexander Tivelkov <email address hidden>
Date: Mon Apr 28 17:33:37 2014 +0400
Added MuranoPL infrastructure for advanced networking scenarios
Base class 'Network' (io.murano. resources. Network) was added to core package.
This class is an abstract class for network interaction, to be inherited by
engine-specific implementations.
'Environment' class got a 'defaultNetworks' input parameter, containing two
different instances of Network class for two initially supported networking use-cases:
'environment' for a topology when each environment has an isolated network
'flat' for a single network per multiple environments
'Instance' class got a 'networks' input parameter with a default value. Network' is set to 'true' the instance should join an orks' field of the same data structure may be used to specify custom
This is a composite parameter indicating which networks the instance should join
If 'useEnvironment
isolated network of current environment
if 'useFlatNetwork' is set to 'true' the instance should join a single
shared network
Both values may be enabled, so the instance will join both networks.
'customNetw
network resources to join
Same commit includes a temporary workaround for bug #1313694
The workaround is needed to properly use default of 'networks' field
The actual implementation of io.murano. resources. Network class should
be done in a separate package, which should be added to app-incubator repo
Change-Id: If2ae332a61900b 0dd94cec94c1c14 0c54079441f
Partial-Bug: #1308921