aboutsummaryrefslogtreecommitdiffstats
path: root/tosca
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-26 16:03:47 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-26 16:06:13 +0100
commit676591091ff3c154193213b26103c694f1a5f1be (patch)
tree12bce87cd541ace6b55fd1cd83a1c73dc527cb2c /tosca
parent314c0c1e45bc6a4c1ae0e7c030ebbf51b80abb35 (diff)
Fix indentation issues within YAMLs
Fixes applied as reported by yamllint. Change-Id: I5320d49799ecdd3ffbc8f9fbb8617554a709c247 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'tosca')
-rw-r--r--tosca/pNF/Definitions/etsi_nfv_sol001_vnfd_2_5_1_types.yaml76
-rw-r--r--tosca/vCPE/Definitions/onap_dm.yaml94
-rw-r--r--tosca/vCPE/infra/base_vcpe_infra_rackspace_tosca.yaml140
3 files changed, 155 insertions, 155 deletions
diff --git a/tosca/pNF/Definitions/etsi_nfv_sol001_vnfd_2_5_1_types.yaml b/tosca/pNF/Definitions/etsi_nfv_sol001_vnfd_2_5_1_types.yaml
index c0ca061b..63e8b2ec 100644
--- a/tosca/pNF/Definitions/etsi_nfv_sol001_vnfd_2_5_1_types.yaml
+++ b/tosca/pNF/Definitions/etsi_nfv_sol001_vnfd_2_5_1_types.yaml
@@ -264,19 +264,19 @@ data_types:
description: describes one protocol layer and associated protocol data for a given virtual link used in a specific VNF deployment flavour
properties:
associated_layer_protocol:
- type: string
- description: Identifies one of the protocols a virtualLink gives access to (ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire) as specified by the connectivity_type property.
- required: true
- constraints:
- - valid_values: [ ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire ]
+ type: string
+ description: Identifies one of the protocols a virtualLink gives access to (ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire) as specified by the connectivity_type property.
+ required: true
+ constraints:
+ - valid_values: [ ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire ]
l2_protocol_data:
- type: tosca.datatypes.nfv.L2ProtocolData
- description: Specifies the L2 protocol data for a virtual link. Shall be present when the associatedLayerProtocol attribute indicates a L2 protocol and shall be absent otherwise.
- required: false
+ type: tosca.datatypes.nfv.L2ProtocolData
+ description: Specifies the L2 protocol data for a virtual link. Shall be present when the associatedLayerProtocol attribute indicates a L2 protocol and shall be absent otherwise.
+ required: false
l3_protocol_data:
- type: tosca.datatypes.nfv.L3ProtocolData
- description: Specifies the L3 protocol data for this virtual link. Shall be present when the associatedLayerProtocol attribute indicates a L3 protocol and shall be absent otherwise.
- required: false
+ type: tosca.datatypes.nfv.L3ProtocolData
+ description: Specifies the L3 protocol data for this virtual link. Shall be present when the associatedLayerProtocol attribute indicates a L3 protocol and shall be absent otherwise.
+ required: false
tosca.datatypes.nfv.L2ProtocolData:
derived_from: tosca.datatypes.Root
@@ -548,7 +548,7 @@ data_types:
description: Specifies the maximum packet loss ratio
required: false
constraints:
- - in_range: [ 0.0, 1.0 ]
+ - in_range: [ 0.0, 1.0 ]
tosca.datatypes.nfv.VnfConfigurableProperties:
derived_from: tosca.datatypes.Root
@@ -702,26 +702,26 @@ data_types:
default: false
tosca.datatypes.nfv.VirtualObjectStorageData:
- derived_from: tosca.datatypes.Root
- description: VirtualObjectStorageData describes object storage requirements associated with compute resources in a particular VDU
- properties:
- max_size_of_storage:
- type: scalar-unit.size
- description: Maximum size of virtualized storage resource
- required: false
+ derived_from: tosca.datatypes.Root
+ description: VirtualObjectStorageData describes object storage requirements associated with compute resources in a particular VDU
+ properties:
+ max_size_of_storage:
+ type: scalar-unit.size
+ description: Maximum size of virtualized storage resource
+ required: false
tosca.datatypes.nfv.VirtualFileStorageData:
- derived_from: tosca.datatypes.Root
- description: VirtualFileStorageData describes file storage requirements associated with compute resources in a particular VDU
- properties:
- size_of_storage:
- type: scalar-unit.size
- description: Size of virtualized storage resource
- required: true
- file_system_protocol:
- type: string
- description: The shared file system protocol (e.g. NFS, CIFS)
- required: true
+ derived_from: tosca.datatypes.Root
+ description: VirtualFileStorageData describes file storage requirements associated with compute resources in a particular VDU
+ properties:
+ size_of_storage:
+ type: scalar-unit.size
+ description: Size of virtualized storage resource
+ required: true
+ file_system_protocol:
+ type: string
+ description: The shared file system protocol (e.g. NFS, CIFS)
+ required: true
tosca.datatypes.nfv.VirtualLinkBitrateLevel:
derived_from: tosca.datatypes.Root
@@ -802,7 +802,7 @@ data_types:
description: Identifies a performance metric derived from those defined in ETSI GS NFV-IFA 027.The packetOutgoingVirtualLink and packetIncomingVirtualLink metrics shall be obtained by aggregation the PacketOutgoing and PacketIncoming measurements defined in clause 7.1 of GS NFV-IFA 027 of all virtual link ports attached to the virtual link to which the metrics apply.
required: true
constraints:
- - valid_values: [ packet_outgoing_virtual_link, packet_incoming_virtual_link ]
+ - valid_values: [ packet_outgoing_virtual_link, packet_incoming_virtual_link ]
collection_period:
type: scalar-unit.time
description: Describes the recommended periodicity at which to collect the performance information.
@@ -917,18 +917,18 @@ capability_types:
description: Describes the Logical Node requirements
required: false
entry_schema:
- type: tosca.datatypes.nfv.LogicalNodeData
+ type: tosca.datatypes.nfv.LogicalNodeData
requested_additional_capabilities:
type: map
description: Describes additional capability for a particular VDU
required: false
entry_schema:
- type: tosca.datatypes.nfv.RequestedAdditionalCapability
+ type: tosca.datatypes.nfv.RequestedAdditionalCapability
compute_requirements:
type: map
required: false
entry_schema:
- type: string
+ type: string
virtual_memory:
type: tosca.datatypes.nfv.VirtualMemory
description: Describes virtual memory of the virtualized compute
@@ -1297,10 +1297,10 @@ node_types:
type: tosca.capabilities.nfv.VirtualStorage
description: Defines the capabilities of virtual_storage.
requirements:
- - virtual_link:
- capability: tosca.capabilities.nfv.VirtualLinkable
- relationship: tosca.relationships.nfv.VirtualLinksTo
- #description: Describes the requirements for linking to virtual link
+ - virtual_link:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ relationship: tosca.relationships.nfv.VirtualLinksTo
+ #description: Describes the requirements for linking to virtual link
tosca.nodes.nfv.Cp:
derived_from: tosca.nodes.Root
diff --git a/tosca/vCPE/Definitions/onap_dm.yaml b/tosca/vCPE/Definitions/onap_dm.yaml
index c2e93957..c047df88 100644
--- a/tosca/vCPE/Definitions/onap_dm.yaml
+++ b/tosca/vCPE/Definitions/onap_dm.yaml
@@ -526,19 +526,19 @@ data_types:
description: describes one protocol layer and associated protocol data for a given virtual link used in a specific VNF deployment flavour
properties:
associated_layer_protocol:
- type: string
- description: Identifies one of the protocols a virtualLink gives access to (ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire) as specified by the connectivity_type property.
- required: true
- constraints:
- - valid_values: [ ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire ]
+ type: string
+ description: Identifies one of the protocols a virtualLink gives access to (ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire) as specified by the connectivity_type property.
+ required: true
+ constraints:
+ - valid_values: [ ethernet, mpls, odu2, ipv4, ipv6, pseudo-wire ]
l2_protocol_data:
- type: tosca.datatypes.nfv.L2ProtocolData
- description: Specifies the L2 protocol data for a virtual link. Shall be present when the associatedLayerProtocol attribute indicates a L2 protocol and shall be absent otherwise.
- required: false
+ type: tosca.datatypes.nfv.L2ProtocolData
+ description: Specifies the L2 protocol data for a virtual link. Shall be present when the associatedLayerProtocol attribute indicates a L2 protocol and shall be absent otherwise.
+ required: false
l3_protocol_data:
- type: tosca.datatypes.nfv.L3ProtocolData
- description: Specifies the L3 protocol data for this virtual link. Shall be present when the associatedLayerProtocol attribute indicates a L3 protocol and shall be absent otherwise.
- required: false
+ type: tosca.datatypes.nfv.L3ProtocolData
+ description: Specifies the L3 protocol data for this virtual link. Shall be present when the associatedLayerProtocol attribute indicates a L3 protocol and shall be absent otherwise.
+ required: false
tosca.datatypes.nfv.VlProfile:
derived_from: tosca.datatypes.Root
@@ -767,7 +767,7 @@ data_types:
description: Identifies a performance metric derived from those defined in ETSI GS NFV-IFA 027.The packetOutgoingVirtualLink and packetIncomingVirtualLink metrics shall be obtained by aggregation the PacketOutgoing and PacketIncoming measurements defined in clause 7.1 of GS NFV-IFA 027 of all virtual link ports attached to the virtual link to which the metrics apply.
required: true
constraints:
- - valid_values: [ packet_outgoing_virtual_link, packet_incoming_virtual_link ]
+ - valid_values: [ packet_outgoing_virtual_link, packet_incoming_virtual_link ]
collection_period:
type: scalar-unit.time
description: Describes the recommended periodicity at which to collect the performance information.
@@ -1256,10 +1256,10 @@ node_types:
type: tosca.capabilities.nfv.VirtualStorage
description: Defines the capabilities of virtual_storage.
requirements:
- - virtual_link:
- capability: tosca.capabilities.nfv.VirtualLinkable
- relationship: tosca.relationships.nfv.VirtualLinksTo
- #description: Describes the requirements for linking to virtual link
+ - virtual_link:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ relationship: tosca.relationships.nfv.VirtualLinksTo
+ #description: Describes the requirements for linking to virtual link
tosca.nodes.nfv.Vdu.VirtualObjectStorage:
derived_from: tosca.nodes.Root
description: This node type describes the specifications of requirements related to virtual object storage resources
@@ -1347,38 +1347,38 @@ node_types:
relationship: tosca.relationships.nfv.VirtualBindsTo
node: tosca.nodes.nfv.Vdu.Compute
tosca.nodes.nfv.VnfVirtualLink:
- derived_from: tosca.nodes.Root
- description: Describes the information about an internal VNF VL
- properties:
- connectivity_type:
- type: tosca.datatypes.nfv.ConnectivityType
- description: Specifies the protocol exposed by the VL and the flow pattern supported by the VL
- required: true
- description:
+ derived_from: tosca.nodes.Root
+ description: Describes the information about an internal VNF VL
+ properties:
+ connectivity_type:
+ type: tosca.datatypes.nfv.ConnectivityType
+ description: Specifies the protocol exposed by the VL and the flow pattern supported by the VL
+ required: true
+ description:
+ type: string
+ description: Provides human-readable information on the purpose of the VL
+ required: false
+ test_access:
+ type: list
+ description: Test access facilities available on the VL
+ required: false
+ entry_schema:
type: string
- description: Provides human-readable information on the purpose of the VL
- required: false
- test_access:
- type: list
- description: Test access facilities available on the VL
- required: false
- entry_schema:
- type: string
- constraints:
- - valid_values: [ passive_monitoring, active_loopback ]
- vl_profile:
- type: tosca.datatypes.nfv.VlProfile
- description: Defines additional data for the VL
- required: true
- monitoring_parameters:
- type: list
- description: Describes monitoring parameters applicable to the VL
- required: false
- entry_schema:
- type: tosca.datatypes.nfv.VirtualLinkMonitoringParameter
- capabilities:
- virtual_linkable:
- type: tosca.capabilities.nfv.VirtualLinkable
+ constraints:
+ - valid_values: [ passive_monitoring, active_loopback ]
+ vl_profile:
+ type: tosca.datatypes.nfv.VlProfile
+ description: Defines additional data for the VL
+ required: true
+ monitoring_parameters:
+ type: list
+ description: Describes monitoring parameters applicable to the VL
+ required: false
+ entry_schema:
+ type: tosca.datatypes.nfv.VirtualLinkMonitoringParameter
+ capabilities:
+ virtual_linkable:
+ type: tosca.capabilities.nfv.VirtualLinkable
tosca.nodes.nfv.VNF:
derived_from: tosca.nodes.Root
description: The generic abstract type from which all VNF specific abstract node types shall be derived to form, together with other node types, the TOSCA service template(s) representing the VNFD
diff --git a/tosca/vCPE/infra/base_vcpe_infra_rackspace_tosca.yaml b/tosca/vCPE/infra/base_vcpe_infra_rackspace_tosca.yaml
index de9eaebf..6555e920 100644
--- a/tosca/vCPE/infra/base_vcpe_infra_rackspace_tosca.yaml
+++ b/tosca/vCPE/infra/base_vcpe_infra_rackspace_tosca.yaml
@@ -205,25 +205,25 @@ topology_template:
server:
metadata: {vnf_id: { get_input: vnf_id }, vf_module_id: { get_input: vf_module_id }}
userdata: { concat: [
- "#!/bin/bash\n",
- "mkdir /opt/config\n",
- "echo ", { get_input: dcae_collector_ip}, " > /opt/config/dcae_collector_ip.txt\n",
- "echo ", { get_input: dcae_collector_port}, " > /opt/config/dcae_collector_port.txt\n",
- "echo ", { get_input: vaaa_private_ip_0}, " > /opt/config/cpe_signal_net_ipaddr.txt\n",
- "echo ", { get_input: vaaa_private_ip_1}, " > /opt/config/oam_ipaddr.txt\n",
- "echo ", { get_input: onap_private_net_cidr}, " > /opt/config/oam_cidr.txt\n",
- "echo ", { get_input: cpe_signal_net_cidr}, " > /opt/config/cpe_signal_net_cidr.txt\n",
- "echo ", { get_input: repo_url_blob}, " > /opt/config/repo_url_blob.txt\n",
- "echo ", { get_input: repo_url_artifacts}, " > /opt/config/repo_url_artifacts.txt\n",
- "echo ", { get_input: demo_artifacts_version}, " > /opt/config/demo_artifacts_version.txt\n",
- "echo ", { get_input: install_script_version}, " > /opt/config/install_script_version.txt\n",
- "echo ", { get_input: cloud_env}, " > /opt/config/cloud_env.txt\n",
- "curl -k ", {get_input: repo_url_blob}, "/org.onap.demo/vnfs/vcpe/", {get_input: install_script_version}, "/v_aaa_install.sh -o /opt/v_aaa_install.sh\n",
- "cd /opt\n",
- "chmod +x v_aaa_install.sh\n",
- "./v_aaa_install.sh\n"
- ]
- }
+ "#!/bin/bash\n",
+ "mkdir /opt/config\n",
+ "echo ", { get_input: dcae_collector_ip}, " > /opt/config/dcae_collector_ip.txt\n",
+ "echo ", { get_input: dcae_collector_port}, " > /opt/config/dcae_collector_port.txt\n",
+ "echo ", { get_input: vaaa_private_ip_0}, " > /opt/config/cpe_signal_net_ipaddr.txt\n",
+ "echo ", { get_input: vaaa_private_ip_1}, " > /opt/config/oam_ipaddr.txt\n",
+ "echo ", { get_input: onap_private_net_cidr}, " > /opt/config/oam_cidr.txt\n",
+ "echo ", { get_input: cpe_signal_net_cidr}, " > /opt/config/cpe_signal_net_cidr.txt\n",
+ "echo ", { get_input: repo_url_blob}, " > /opt/config/repo_url_blob.txt\n",
+ "echo ", { get_input: repo_url_artifacts}, " > /opt/config/repo_url_artifacts.txt\n",
+ "echo ", { get_input: demo_artifacts_version}, " > /opt/config/demo_artifacts_version.txt\n",
+ "echo ", { get_input: install_script_version}, " > /opt/config/install_script_version.txt\n",
+ "echo ", { get_input: cloud_env}, " > /opt/config/cloud_env.txt\n",
+ "curl -k ", {get_input: repo_url_blob}, "/org.onap.demo/vnfs/vcpe/", {get_input: install_script_version}, "/v_aaa_install.sh -o /opt/v_aaa_install.sh\n",
+ "cd /opt\n",
+ "chmod +x v_aaa_install.sh\n",
+ "./v_aaa_install.sh\n"
+ ]
+ }
requirements:
- key_pair: my_keypair
- port: vaaa_private_0_port
@@ -257,23 +257,23 @@ topology_template:
server:
metadata: {vnf_id: { get_input: vnf_id }, vf_module_id: { get_input: vf_module_id }}
userdata: { concat: [
- "#!/bin/bash\n",
- "mkdir /opt/config\n",
- "echo ", {get_input: vdns_private_ip_1}, " > /opt/config/oam_ipaddr.txt\n",
- "echo ", {get_input: vdns_private_ip_0}, " > /opt/config/cpe_public_net_ipaddr.txt\n",
- "echo ", {get_input: onap_private_net_cidr}, " > /opt/config/oam_cidr.txt\n",
- "echo ", {get_input: cpe_public_net_cidr}, " > /opt/config/cpe_public_net_cidr.txt\n",
- "echo ", {get_input: repo_url_blob}, " > /opt/config/repo_url_blob.txt\n",
- "echo ", {get_input: repo_url_artifacts}, " > /opt/config/repo_url_artifacts.txt\n",
- "echo ", {get_input: demo_artifacts_version}, " > /opt/config/demo_artifacts_version.txt\n",
- "echo ", {get_input: install_script_version}, " > /opt/config/install_script_version.txt\n",
- "echo ", {get_input: cloud_env}, " > /opt/config/cloud_env.txt\n",
- "curl -k ", {get_input: repo_url_blob}, "/org.onap.demo/vnfs/vcpe/", {get_input: install_script_version}, "/v_dns_install.sh -o /opt/v_dns_install.sh\n",
- "cd /opt\n",
- "chmod +x v_dns_install.sh\n",
- "./v_dns_install.sh\n"
- ]
- }
+ "#!/bin/bash\n",
+ "mkdir /opt/config\n",
+ "echo ", {get_input: vdns_private_ip_1}, " > /opt/config/oam_ipaddr.txt\n",
+ "echo ", {get_input: vdns_private_ip_0}, " > /opt/config/cpe_public_net_ipaddr.txt\n",
+ "echo ", {get_input: onap_private_net_cidr}, " > /opt/config/oam_cidr.txt\n",
+ "echo ", {get_input: cpe_public_net_cidr}, " > /opt/config/cpe_public_net_cidr.txt\n",
+ "echo ", {get_input: repo_url_blob}, " > /opt/config/repo_url_blob.txt\n",
+ "echo ", {get_input: repo_url_artifacts}, " > /opt/config/repo_url_artifacts.txt\n",
+ "echo ", {get_input: demo_artifacts_version}, " > /opt/config/demo_artifacts_version.txt\n",
+ "echo ", {get_input: install_script_version}, " > /opt/config/install_script_version.txt\n",
+ "echo ", {get_input: cloud_env}, " > /opt/config/cloud_env.txt\n",
+ "curl -k ", {get_input: repo_url_blob}, "/org.onap.demo/vnfs/vcpe/", {get_input: install_script_version}, "/v_dns_install.sh -o /opt/v_dns_install.sh\n",
+ "cd /opt\n",
+ "chmod +x v_dns_install.sh\n",
+ "./v_dns_install.sh\n"
+ ]
+ }
requirements:
- port: vdns_private_0_port
- port: vdns_private_1_port
@@ -307,23 +307,23 @@ topology_template:
server:
metadata: {vnf_id: { get_input: vnf_id }, vf_module_id: { get_input: vf_module_id }}
userdata: { concat: [
- "#!/bin/bash\n",
- "mkdir /opt/config\n",
- "echo ", {get_input: vdns_private_ip_1}, " > /opt/config/oam_ipaddr.txt\n",
- "echo ", {get_input: vdhcp_private_ip_0}, " > /opt/config/cpe_signal_ipaddr.txt\n",
- "echo ", {get_input: onap_private_net_cidr}, " > /opt/config/oam_cidr.txt\n",
- "echo ", {get_input: cpe_signal_net_cidr}, " > /opt/config/cpe_signal_net_cidr.txt\n",
- "echo ", {get_input: repo_url_blob}, " > /opt/config/repo_url_blob.txt\n",
- "echo ", {get_input: repo_url_artifacts}, " > /opt/config/repo_url_artifacts.txt\n",
- "echo ", {get_input: demo_artifacts_version}, " > /opt/config/demo_artifacts_version.txt\n",
- "echo ", {get_input: install_script_version}, " > /opt/config/install_script_version.txt\n",
- "echo ", {get_input: cloud_env}, " > /opt/config/cloud_env.txt\n",
- "curl -k ", {get_input: repo_url_blob}, "/org.onap.demo/vnfs/vcpe/", {get_input: install_script_version}, "/v_dhcp_install.sh -o /opt/v_dhcp_install.sh\n",
- "cd /opt\n",
- "chmod +x v_dhcp_install.sh\n",
- "./v_dhcp_install.sh\n"
- ]
- }
+ "#!/bin/bash\n",
+ "mkdir /opt/config\n",
+ "echo ", {get_input: vdns_private_ip_1}, " > /opt/config/oam_ipaddr.txt\n",
+ "echo ", {get_input: vdhcp_private_ip_0}, " > /opt/config/cpe_signal_ipaddr.txt\n",
+ "echo ", {get_input: onap_private_net_cidr}, " > /opt/config/oam_cidr.txt\n",
+ "echo ", {get_input: cpe_signal_net_cidr}, " > /opt/config/cpe_signal_net_cidr.txt\n",
+ "echo ", {get_input: repo_url_blob}, " > /opt/config/repo_url_blob.txt\n",
+ "echo ", {get_input: repo_url_artifacts}, " > /opt/config/repo_url_artifacts.txt\n",
+ "echo ", {get_input: demo_artifacts_version}, " > /opt/config/demo_artifacts_version.txt\n",
+ "echo ", {get_input: install_script_version}, " > /opt/config/install_script_version.txt\n",
+ "echo ", {get_input: cloud_env}, " > /opt/config/cloud_env.txt\n",
+ "curl -k ", {get_input: repo_url_blob}, "/org.onap.demo/vnfs/vcpe/", {get_input: install_script_version}, "/v_dhcp_install.sh -o /opt/v_dhcp_install.sh\n",
+ "cd /opt\n",
+ "chmod +x v_dhcp_install.sh\n",
+ "./v_dhcp_install.sh\n"
+ ]
+ }
requirements:
- key_pair: my_keypair
- port: vdhcp_private_0_port
@@ -359,23 +359,23 @@ topology_template:
server:
metadata: {vnf_id: { get_input: vnf_id }, vf_module_id: { get_input: vf_module_id }}
userdata: { concat: [
- "#!/bin/bash\n",
- "mkdir /opt/config\n",
- "echo ", {get_input: vweb_private_ip_1}, " > /opt/config/oam_ipaddr.txt\n",
- "echo ", {get_input: vweb_private_ip_0}, " > /opt/config/cpe_public_ipaddr.txt\n",
- "echo ", {get_input: onap_private_net_cidr}, " > /opt/config/oam_cidr.txt\n",
- "echo ", {get_input: cpe_public_net_cidr}, " > /opt/config/cpe_public_net_cidr.txt\n",
- "echo ", {get_input: repo_url_blob}, " > /opt/config/repo_url_blob.txt\n",
- "echo ", {get_input: repo_url_artifacts}, " > /opt/config/repo_url_artifacts.txt\n",
- "echo ", {get_input: demo_artifacts_version}, " > /opt/config/demo_artifacts_version.txt\n",
- "echo ", {get_input: install_script_version}, " > /opt/config/install_script_version.txt\n",
- "echo ", {get_input: cloud_env}, " > /opt/config/cloud_env.txt\n",
- "curl -k ", {get_input: repo_url_blob}, "/org.onap.demo/vnfs/vcpe/", {get_input: install_script_version}, "/v_web_install.sh -o /opt/v_web_install.sh\n",
- "cd /opt\n",
- "chmod +x v_web_install.sh\n",
- "./v_web_install.sh\n"
- ]
- }
+ "#!/bin/bash\n",
+ "mkdir /opt/config\n",
+ "echo ", {get_input: vweb_private_ip_1}, " > /opt/config/oam_ipaddr.txt\n",
+ "echo ", {get_input: vweb_private_ip_0}, " > /opt/config/cpe_public_ipaddr.txt\n",
+ "echo ", {get_input: onap_private_net_cidr}, " > /opt/config/oam_cidr.txt\n",
+ "echo ", {get_input: cpe_public_net_cidr}, " > /opt/config/cpe_public_net_cidr.txt\n",
+ "echo ", {get_input: repo_url_blob}, " > /opt/config/repo_url_blob.txt\n",
+ "echo ", {get_input: repo_url_artifacts}, " > /opt/config/repo_url_artifacts.txt\n",
+ "echo ", {get_input: demo_artifacts_version}, " > /opt/config/demo_artifacts_version.txt\n",
+ "echo ", {get_input: install_script_version}, " > /opt/config/install_script_version.txt\n",
+ "echo ", {get_input: cloud_env}, " > /opt/config/cloud_env.txt\n",
+ "curl -k ", {get_input: repo_url_blob}, "/org.onap.demo/vnfs/vcpe/", {get_input: install_script_version}, "/v_web_install.sh -o /opt/v_web_install.sh\n",
+ "cd /opt\n",
+ "chmod +x v_web_install.sh\n",
+ "./v_web_install.sh\n"
+ ]
+ }
requirements:
- key_pair: my_keypair
- port: vweb_private_0_port