},
"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": {
],
"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"
}
]