b7aec89493
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 Change-Id: If2ae332a61900b0dd94cec94c1c140c54079441f Partial-Bug: #1308921
23 lines
384 B
YAML
23 lines
384 B
YAML
Format: 1.0
|
|
|
|
Type: Library
|
|
|
|
FullName: io.murano
|
|
|
|
Name: Core library
|
|
|
|
Description: |
|
|
Core MuranoPL library
|
|
|
|
Author: 'murano.io'
|
|
|
|
Tags: [MuranoPL]
|
|
|
|
Classes:
|
|
io.murano.Object: Object.yaml
|
|
io.murano.Environment: Environment.yaml
|
|
io.murano.Application: Application.yaml
|
|
|
|
io.murano.resources.Network: resources/Network.yaml
|
|
io.murano.resources.Instance: resources/Instance.yaml
|