Base Candidate Class
Attribute | Required | Content | Values | Description |
---|---|---|---|---|
inventory_provider | Y | String | aai | |
inventory_type | Y | String | Cloud, Service, Vfmodule, Transport, NSSI | |
candidate_id | Y | String | ||
uniqueness | Y | Boolean | ||
cost | Y | String |
Inventory Types
1) Cloud
2) Service
3) Vfmodule
...
(Should the fields in models (cloud_info, complex_info, location_info ..) come from the configuration (or) should be defined in the models itself as instance variables (or) should the fields be derived from AAI)
Cloud object
EXAMPLE
Code Block | ||||
---|---|---|---|---|
| ||||
{
"inventory_provider" : "",
"inventory_type" : "",
"candidate_id" : "",
"uniqueness" : "",
"cost" : "",
"service_resource_id" : ""
"location_id" : "",
"location_type" : "",
"vim-id" : "",
"cloud_region_version" : "",
"cloud_owner" : "",
"physical_location_id" : "",
"complex_name" : "",
"latitude" : "",
"longitude" : "",
"city" : "",
"state" : "",
"region" : "",
"country" : "",
"sriov_automation" : "",
"flavors" : ""
} |
MODEL
Attribute | Required | Content | Values | Description |
---|---|---|---|---|
location_info | Y | Object | location_id, location_type | |
complex_info | Y | Object | physical_location_id, complex_name, latitude, longitude, state, country, city, region | |
cloud_info | N | Object | cloud_region_version, cloud_owner | |
other attributes | Object |
flavors, sriov_automation |
Service object
EXAMPLE
Code Block | ||||
---|---|---|---|---|
| ||||
{
"inventory_provider" : "",
"inventory_type" : "",
"candidate_id" : "",
"uniqueness" : "",
"cost" : "",
"service_resource_id" : "",
"location_id" : "",
"location_type" : "",
"vim-id" : "",
"cloud_region_version" : "",
"cloud_owner" : "",
"host_id" : "",
"vlan_key" : "",
"port_key" : "",
"sriov_automation" : "",
} |
MODEL
Attribute | Required | Content | Values | Description |
---|---|---|---|---|
location_info | Y | Object | location_id, location_type | |
vlan_info | Y | Object | vlan_key, port_key | |
cloud_info | N | Object | cloud_region_version, cloud_owner, vim_id | |
Vfmodule object
EXAMPLE
Code Block | ||||
---|---|---|---|---|
| ||||
{
"inventory_provider" : "",
"inventory_type" : "",
"candidate_id" : "",
"uniqueness" : "",
"cost" : "",
"service_resource_id" : "",
"location_id" : "",
"location_type" : "",
"physical_location_id" : "",
"complex_name" : "",
"latitude" : "",
"longitude" : "",
"city" : "",
"state" : "",
"region" : "",
"country" : "",
"vim-id" : "",
"cloud_region_version" : "",
"cloud_owner" : "",
"host_id" : "",
"vlan_key" : "",
"port_key" : "",
"sriov_automation" : "",
} |
MODEL
Attribute | Required | Content | Values | Description |
---|---|---|---|---|
location_info | Y | Object | location_id, location_type | |
cloud_info | Y | Object | cloud_region_version, cloud_owner, vim_id | |
vlan_info | N | Object | vlan_key, port_key | |
vserver_info | Object |
Transport object
EXAMPLE
Code Block | ||||
---|---|---|---|---|
| ||||
{
"inventory_provider" : "",
"inventory_type" : "",
"candidate_id" : "",
"uniqueness" : "",
"cost" : "",
"service_resource_id" : "",
"location_id" : "",
"location_type" : "",
"physical_location_id" : "",
"complex_name" : "",
"latitude" : "",
"longitude" : "",
"city" : "",
"state" : "",
"region" : "",
"country" : "",
"vim-id" : "",
"cloud_region_version" : "",
"cloud_owner" : "",
"zone_id" : "",
"zone_name" : "",
"sriov_automation" : "",
} |
MODEL
Attribute | Required | Content | Values | Description |
---|---|---|---|---|
location_info | Y | Object | location_id, location_type | |
complex_info | Y | Object | physical_location_id, complex_name, latitude, longitude, state, country, city, region | |
zone_info | N | Object | zone_id , zone_name |
NSSI object
EXAMPLE
Code Block | ||||
---|---|---|---|---|
| ||||
{
"inventory_provider" : "",
"inventory_type" : "",
"candidate_id" : "",
"uniqueness" : "",
"cost" : "",
"service_resource_id" : "",
} |
MODEL
Attribute | Required | Content | Values | Description |
---|---|---|---|---|
sliceprofile_info | Y | Object | ||
nsi_info | Y | Object |