Merge "Disabling policy retrieval for pci opt"
[optf/osdf.git] / test / placement-tests / conductor_response.json
1 {
2   "plans": [
3     {
4       "status": "done",
5       "id": "plan_id",
6       "name": "Plan Name 1",
7       "links": [
8         [
9           {
10             "href": "http://conductor:8091/v1/plans/plan_id",
11             "rel": "self"
12           }
13         ]
14       ],
15       "recommendations": [
16         {
17           "vG": {
18             "inventory_provider": "aai",
19             "candidate": {
20               "candidate_id": "DLLSTX1A",
21               "cloud_owner": "CloudOwner1",
22               "inventory_type": "cloud",
23               "location_id": "DLLSTX1A",
24               "location_type": "openstack-cloud"
25             },
26             "attributes": {
27               "directives": {
28                 "directives": [
29                 {
30                   "id": "vFW_0",
31                   "type": "<vnfc/tocsa.nodes.nfv.Vdu.Compute>",
32                   "directives": [
33                     {
34                       "type": "flavor_directives",
35                       "attributes": [
36                         {
37                           "attribute_name": "oof_returned_flavor_label_for_firewall",
38                           "attribute_value": "vim_flavor_X"
39                         }
40                       ]
41                     },
42                     {
43                       "type": "sriovNICNetwork_directives",
44                       "attributes": [
45                         {
46                           "attribute_name": "oof_returned_vnic_type_for_firewall_protected",
47                           "attribute_value": "direct"
48                         },
49                         {
50                           "attribute_name": "oof_returned_provider_network_for_firewall_protected",
51                           "attribute_value": "physnet1"
52                         }
53                       ]
54                     },
55                     {
56                       "type": "sriovNICNetwork_directives",
57                       "attributes": [
58                         {
59                           "attribute_name": "oof_returned_vnic_type_for_firewall_unprotected",
60                           "attribute_value": "direct"
61                         },
62                         {
63                           "attribute_name": "oof_returned_provider_network_for_firewall_unprotected",
64                           "attribute_value": "physnet2"
65                         }
66                       ]
67                     }
68                   ]
69                 },
70                 {
71                   "id": "vFW_1",
72                   "type": "<vnfc/tocsa.nodes.nfv.Vdu.Compute>",
73                   "directives": [
74                     {
75                       "type": "flavor_directives",
76                       "attributes": [
77                         {
78                           "attribute_name": "oof_returned_flavor_label_for_generator",
79                           "attribute_value": "vim_flavor_Y"
80                         }
81                       ]
82                     }
83                   ]
84                 }
85               ]
86               },
87               "cloud_owner": "CloudOwner1",
88               "physical-location-id": "DLLSTX1A",
89               "cloud_version": "3.0",
90               "vim-id": "CloudOwner1_DLLSTX1A"
91             }
92           }
93         },
94         {
95           "vGMuxInfra": {
96             "attributes": {
97               "host_id": "vgmux_host_name",
98               "cloud_owner": "CloudOwner1",
99               "physical-location-id": "DLLSTX1A",
100               "service_instance_id": "21d5f3e8-e714-4383-8f99-cc480144505a",
101               "cloud_version": "3.0",
102               "vim-id": "CloudOwner1_DLLSTX1A"
103             },
104             "inventory_provider": "aai",
105             "service_resource_id": "12345",
106             "candidate": {
107               "is_rehome": "false",
108               "location_id": "DLLSTX1A",
109               "inventory_type": "service",
110               "candidate_id": "21d5f3e8-e714-4383-8f99-cc480144505a",
111               "host_id": "vgmux_host_name",
112               "cloud_owner": "CloudOwner1",
113               "location_type": "openstack-cloud"
114             }
115           }
116         }
117       ]
118     }
119   ]
120 }