"num_virtual_cpu": "2",
"cpu_architecture": "generic"
},
- "virtual_storage": {
- "type_of_storage": "root",
- "size_of_storage": "40 GB"
- },
+ },
+ "virtual_storage": {
+ "type_of_storage": "root",
+ "size_of_storage": "40 GB"
},
"artifacts": [
{
"file": "ubuntu_16.04"
},
],
- "inject_files": [
- {
- "source_path": "artifacts/keys/authorized_keys",
- "dest_path": "/home/ubuntu/.ssh/authorized_keys"
- }
- ],
"image_file": "cirros.img",
"local_storages": [
"intel_local_storages_1"
"properties": {
"user_data": "just test user data",
"meta_data": "just test meta data",
+ "inject_files": [
+ {
+ "source_path": "artifacts/keys/authorized_keys",
+ "source_data_base64": "c3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFER3g2U0tyQXVDejFWOEtHZXZa\ndWVrc0xkV29QV0pQNnozcjI5WjdUbVBWRU9qTSs3UElQZVNzMkJWUngzcm5IWkJBbGFzTXJaK2ZK\nQlMyNXRzOXZmQytJdGV6UWFoL2hyOXZya213eENSNTRMYjg0cG9XK3NUb1BlRjZpNWVaWTdXK2pX\nSmZMYUZTRng5ZDJ2cDR6ZXMvZk9sVDNOdllDWGJuLzNRZHJ5UW9HbDdWRkk4b2VtWnlwVmNpa1pY\nRWxKZWVLZ0FWZFN3bnJ6dXF0Ty90bWJYY0FlU2JZdlZqa2k4eXdZY3NXTVZNWVdVV2hoKzFCQUI2\na1huVHNJV3F6cnEwUGZ2eSs4MVdEd3RpcXNxbWQ5M0hZOGhFMHNjQnJYRkJaelFTL0FZZklGQmxF\ndUZOZExjemNobnRqYlowbjdkbURYazh6SHRDWllOazdrd2I4ay8gbHVsaWFuaGFvQGxsdS1udWMx\nCg==\n",
+ "dest_path": "/home/ubuntu/.ssh/authorized_keys"
+ }
+ ],
"configurable_properties": {
"test": {
"additional_vnfc_configurable_properties": {
"external_cps": [
{
"key_name": "sriov_plane",
- "cp_id": "SRIOV_Port"
+ "cp_id": "sriov-support"
}
],
"forward_cps": [
},
}
],
- "vnic_type": "normal",
+ "vnic_type": "direct",
"role": "root",
"virtual_network_interface_requirements": [
{
- "requirement": {
- "SRIOV": "true"
+ "network_interface_requirements": {
+ "interfaceType": '{"schema-version": "0", "schema-location":"", "platform-id": "generic", "mandatory": false, "configuration-value": "SR-IOV"}'
},
"support_mandatory": False,
- "name": "sriov",
+ "name": "sriov-support",
"description": "sriov"
}
],
"id": "456"
}
-c5_data_get_flavor = [{
- "flavors": {
- "flavor": [
+c5_data_get_flavor = {
+ "flavor": [
+ {
+ "flavor-id": "111111",
+ "flavor-name": "onap.large",
+ "hpa-capabilities":
{
- "flavor-id": "111111",
- "hpa-capabilities": [
+ "hpa-capability":
+ [
{
"hpa-capability-id": "1243",
- "hpa-feature-attributes": [
+ "hpa-feature-attributes":
+ [
{
"hpa-attribute-key": "memoryPageSize",
- "hpa-attribute-value": {"value": 2, "unit": "MB"}
+ "hpa-attribute-value": '{"value": "2", "unit": "MB"}'
}
]
}
]
}
- ]
- }
-}]
+ }
+ ]
+}
c6_data_list_image = {
"images": [