Hi all,

As I understand, AAI is model driven using the OXM file found in 
opt/app/aai/bundleconfig/etc/oxm. From the OXM, I came to understand that the 
pserver model payload should resemble the following:

{
  "hostname": "{mandatory}",
  "ptnii-equip-name": "{optional field}",
  "number-of-cpus": "{optional field}",
  "disk-in-gigabytes": "{optional field}",
  "ram-in-megabytes": "{optional field}",
  "equip-type": "{optional field}",
  "equipment-vendor": "{optional field}",
  "equipment-model": "{optional field}",
  "fqdn": "{optional field}",
  "ipv4-oam-address": "{optional field}",
  "serial-number": "{optional field}",
  "pserver-id": "{optional field}",
  "internet-topology": "{optional field}",
  "pserver-name2" : "{optional field}",
  "purpose": "{optional field}"
}

I am able to PUT the data into AAI with a 201 Created response code. However, 
when I perform a GET on the pservers (cloud-infrastructure/pservers) , I end up 
with only a subset of the information I input.

<pservers xmlns="http://org.openecomp.aai.inventory/v8";>
    <pserver>
        <hostname>test</hostname>
        <in-maint>false</in-maint>
        <resource-version>1496723052</resource-version>
        <pserver-name2>Pserver Test</pserver-name2>
    </pserver>
</pservers>

How do I get the full data set back from AAI?

Thanks
Eric

This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to