Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Base Candidate Class 

AttributeRequiredContentValuesDescription
inventory_providerYString

aai


inventory_typeY

String

Cloud, Service, Vfmodule, Transport, NSSI


candidate_idYString

uniquenessYBoolean

costYString


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
languagejs
collapsetrue
{  			
"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

AttributeRequiredContentValuesDescription
location_infoYObject

location_id, location_type


complex_infoY

Object

physical_location_id, complex_name, latitude, longitude, state, country, city, region


cloud_infoNObjectcloud_region_version, cloud_owner
other attributes
Object
flavours
flavors,  sriov_automation 


Service object

EXAMPLE

Code Block
languagejs
collapsetrue
{  			
"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

AttributeRequiredContentValuesDescription
location_infoYObject

location_id, location_type


vlan_infoY

Object

vlan_key, port_key


cloud_infoNObjectcloud_region_version, cloud_owner, vim_id






Vfmodule object

EXAMPLE

Code Block
languagejs
collapsetrue
{  			
"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

AttributeRequiredContentValuesDescription
location_infoYObject

location_id, location_type


cloud_infoY

Object

cloud_region_version, cloud_owner, vim_id


vlan_infoNObjectvlan_key, port_key
vserver_info
Object


Transport object

EXAMPLE

Code Block
languagejs
collapsetrue
{  			
"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

AttributeRequiredContentValuesDescription
location_infoYObject

location_id, location_type


complex_infoY

Object

physical_location_id, complex_name, latitude, longitude, state, country, city, region


zone_infoNObjectzone_id , zone_name


NSSI object

EXAMPLE

Code Block
languagejs
collapsetrue
{  			
"inventory_provider" : "",
"inventory_type" : "",
"candidate_id" : "",
"uniqueness" : "",
"cost" : "",
"service_resource_id" : "",

}

MODEL

AttributeRequiredContentValuesDescription
sliceprofile_infoYObject



nsi_infoY

Object