},
"artifacts": [
{
- "artifact_name": "cirros.img",
+ "artifact_name": "sw_image",
+ "deploy_path": "",
"type": "tosca.artifacts.nfv.SwImage",
- "properties": {
- "operating_system": "unbant",
- "sw_image": "/swimages/xenial-snat.qcow2",
- "name": "cirros.img",
- "checksum": "5000",
- "min_ram": "1 GB",
- "disk_format": "qcow2",
- "version": "1.0",
- "container_format": "bare",
- "min_disk": "10 GB",
- "size": "10 GB"
- },
- "file": "/swimages/xenial-snat.qcow2"
+ "repository": "",
+ "file": "ubuntu_16.04"
+ },
+ ],
+ "inject_files": [
+ {
+ "source_path": "artifacts/keys/authorized_keys",
+ "dest_path": "/home/ubuntu/.ssh/authorized_keys"
}
],
"image_file": "cirros.img",
"cp_vNat"
],
"properties": {
+ "user_data": "just test user data",
+ "meta_data": "just test meta data",
"configurable_properties": {
"test": {
"additional_vnfc_configurable_properties": {
"vl_id": "vl_vNat",
"description": "",
"properties": {
- "name": "vNat_big_subnet",
- "network_name": "vNat_big",
+ "connectivity_type": {
+ "layer_protocol": "ipv4"
+ },
+ "vl_profile": {
+ "networkName": "vNat_big",
+ "networkType": "vlan",
+ "physicalNetwork": "physnet1",
+ "segmentationId": "30",
+ "vlanTransparent": False,
+ "cidr": "10.43.38.0/24",
+ "gatewayIp": "10.43.38.1",
+ "dhcpEnabled": False,
+ "startIp": "10.43.38.2",
+ "endIp": "10.43.38.254"
+ },
"is_predefined": False,
"vendor": "zte",
"netmask": "255.255.255.0",
"mtu": 1500,
- "network_type": "vlan",
- "physical_network": "physnet1",
- "segmentation_id": "30",
- "vlan_transparent": False,
"vds_name": "vds1",
- "cidr": "10.43.38.0/24",
- "ip_version": 4,
- "gateway_ip": "10.43.38.1",
- "dhcp_enabled": False,
- "start_ip": "10.43.38.2",
- "end_ip": "10.43.38.254",
"host_routes": [
{
"destination": "10.43.26.0/24",
],
"cps": [
{
+
"properties": {
"name": "vNat_big_subnet_port",
- "ip_address": "10.43.38.253",
+ "protocol_data": [
+ {
+ "address_data": {
+ "l3_address_data": {
+ "fixed_ip_address": ["10.43.38.253"]
+ },
+ },
+ }
+ ],
"vnic_type": "normal",
"role": "root",
"virtual_network_interface_requirements": [
c6_data_list_image = {
"images": [
{
- "name": "cirros.img",
+ "name": "ubuntu_16.04",
"id": "678"
}
]