summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2018-07-26 14:03:00 +0300
committerTal Gitelman <tg851x@intl.att.com>2018-07-26 14:03:00 +0300
commitae5a3714376a5f4492470fbf9b54046c1229171d (patch)
tree5c4f8a23a39335cad4c044832473fa16e94cbde6 /catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml
parent63ad1b5a2b544a09401640ec38b4b371e36606c7 (diff)
Update and align normatives
Change-Id: Ie3749d5b8bb0426f9565cb4f9a1ce0848451422d Issue-ID: SDC-1544 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml')
-rw-r--r--catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml45
1 files changed, 45 insertions, 0 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml
new file mode 100644
index 0000000000..7c19089242
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/heat-types/subInterfaceV2/subInterfaceV2.yml
@@ -0,0 +1,45 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ org.openecomp.resource.cp.nodes.network.v2.SubInterface:
+ derived_from: tosca.nodes.Root
+ properties:
+ ip_address:
+ description: Allow the user to set a fixed IP address. Note that this address is a request to the provider which they will attempt to fulfill but may not be able to dependent on the network the port is associated with.
+ type: string
+ required: false
+ order:
+ description: 'The order of the NIC on the compute instance (e.g. eth2). Note:
+ when binding more than one port to a single compute (aka multi vNICs) and
+ ordering is desired, it is *mandatory* that all ports will be set with an
+ order value and. The order values must represent a positive, arithmetic
+ progression that starts with 0 (e.g. 0, 1, 2, ..., n).'
+ type: integer
+ default: 0
+ required: false
+ constraints:
+ - greater_or_equal: 0
+ is_default:
+ description: Set is_default=true to apply a default gateway route on the running compute instance to the associated network gateway. Only one port that is associated to single compute node can set as default=true.
+ type: boolean
+ default: false
+ required: false
+ ip_range_start:
+ description: Defines the starting IP of a range to be allocated for the compute instances that are associated by this Port. Without setting this property the IP allocation is done from the entire CIDR block of the network.
+ type: string
+ required: false
+ ip_range_end:
+ description: Defines the ending IP of a range to be allocated for the compute instances that are associated by this Port. Without setting this property the IP allocation is done from the entire CIDR block of the network.
+ type: string
+ required: false
+ attributes:
+ ip_address:
+ description: The IP address would be assigned to the associated compute instance.
+ type: string
+ requirements:
+ - subinterface_link:
+ capability: tosca.capabilities.network.Linkable
+ relationship: tosca.relationships.network.LinksTo
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ relationship: tosca.relationships.network.BindsTo
+