Versions Compared

Key

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

...

Section


Column

References


Column

Attention to


...

Section


Column

Figure 1: Figure 1 - CCVPN model based on Beijiing release

Figure 3: Figure 3 - Site-Service diagram

Figure 5: Figure 5 - Cross-Domain ONAP diagram

Figure 7: Figure 7 - Intra-Domain p-interface link

Figure 9: Figure 9 - Cross-Domain p-interface link primary 3rd party


Column

Figure 2: Figure 2 - SOTN Connectivity diagram

Figure 4: Figure 4 - Topology diagram

Figure 6: Figure 6 - Cross-domain link diagram

Figure 8: Figure 8 - Cross-Domain p-interface link peer

Figure 10: Figure 10 - SDWAN vpn diagramImage Added



Proposal

SOTN Infra

Closed Loop

Site Service Instance

Notes:

See Figure 2 above.

Use existing class

LAN port config

WAN port config

Notes:

See Figure 3 above.

Proposal for specific new class of "port-config" objects.

new element "port-config" and new element "port-configs":

<java-type name="PortConfig"> <xml-root-element name="port-config"/> <java-attributes> <xml-element name="id" type="java.lang.String"/> <xml-element name="config-type" type="java.lang.String"/>8site-resource 3 above.siteresourcesiteresources<java-type name="SiteResource"> <xml-root-element name="site-resource"/> <java-attributes> <xml-element name="id" type="java.lang.String"/> <xml-element name="name" type="java.lang.String"/> <xmldescription" type="java.lang.String <xml-element name="type" type="java.lang.String"/>rolep-location" type="inventory.aai.onap.org.v14.PLocation"/> </java-attributes> </java-type> <java-type name="SiteResources"> <xml-rootsite-resources <java-attributes>site-resourcecontainer-ArrayListinventoryaai.onap.org.v14.SiteResource</java-attributes> </java-type><xs:site-resource"> <xs:complexType> <xs:sequence> <xs:idxs:string" <xs:namexs:string" <xs:descriptionxs:string" <xs:typexs:string" <xs:rolexs:string" <xs:reftns:plocation minOccurs1 xs:sequence> </xs:complexType> </xs:element> <xs:siteresources<xs:complexType> <xs:sequence> <xs:ref"tns:site-resource minOccurs="0" maxOccurs="unbounded xs:sequence> </xs:complexType> </xs:element>siteresourcessiteresourcesomedescriptionsomedescriptiontypesometyperolesomerolep-location": { "emails": "some email", addressaddress postcodepostcode latitudelatitude "longitudelongitude }}

topo-network

Notes:

See Figure 4 above.

termination-point

Notes:

See Figure 4 above.

Update existing class of objects.

tbc
Reference IdCCVPN Use Case ReferenceAAI Schema ReferenceAAI Proposed Schema
AAI-1353-1

aai_schema_v13.xsd

  • "network"
  • "business"

Update existing "network" and "business" entry points to graph for new proposed elements:

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="Network">
 <xml-root-element name="network"/>
 <java-attributes>
  <xml-element name="connectivities"
   type="inventory.aai.onap.org.v14.Connectivities"/>
  <xml-element name="lan-port-configs"
   type="inventory.aai.onap.org.v14.PortConfigsLanPortConfigs"/>
  <xml-element name="network-resources"
   type="inventory.aai.onap.org.v14.NetworkResources"/>
  <xml-element name="site-resources"
   type="inventory.aai.onap.org.v14.SiteResources"/>
  </java<xml-attributes>
</java-type>element name="sdwan-vpns"
   <java-type name="Business">inventory.aai.onap.org.v14.SdwanVpns"/>
  <xml-root-element name="business="devices"
   type="inventory.aai.onap.org.v14.Devices"/>
 <java-attributes>
  <xml-element name="spwan-port-partnersconfigs"
   type="inventory.aai.onap.org.v14.SpPartnersWanPortConfigs"/>
 </java-attributes>
</java-type>
Code Block
languagexml
titleMockup Schema (XSD)
collapsetrue
<xs:element name="network">
 <xs:complexType>
   <xs:sequence>
    <xs:element ref="tns:connectivities"
     minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="tns:port-configs"
     minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="tns:network-resources"
     minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
 </xs:complexType>
</xs:element>

<xs:element name="business">
 <xs:complexType>
   <xs:sequence>
    <xs:element ref="tns:sp-partners"
     minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
 </xs:complexType>
</xs:element>
AAI-1353-2
 <xml-element name="ext-aai-networks"
   type="inventory.aai.onap.org.v14.ExtAaiNetworks"/>
 </java-attributes>
</java-type>

<java-type name="Business">
 <xml-root-element name="business"/>
 <java-attributes>
  <xml-element name="sp-partners"
   type="inventory.aai.onap.org.v14.SpPartners"/>
 </java-attributes>
</java-type>


AAI-1353-2

SOTN Infra

Closed Loop

Site Service Instance

Notes:

See Figure 2 above.

Use existing class of objects.

Closed loop scenario:

  • SO will create “service-instance” object in AAI
  • SO will store “customer-request” string on service-instance object in AAI
  • When Closed Loop call recreates the “service-instance”, it will query “service-instance” information first, to get the “customer-request”

aai_schema_v13.xsd

  • "service-instance"
  • "service-instances"

add properties to existing "service-instance" object:

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="ServiceInstance">
 <xml-root-element name="service-instance"/>
 <java-attributes>
  <xml-element name="customerinput-requestsparameters" type="java.lang.String"/>
 </java-attributes>
</java-type>

Code Block
languagexml
titleMockup Schema (XSD)
collapsetrue
<xs:element name="service-instance">
 <xs:complexType>
   <xs:sequence>
    <xs:element name="customer-requests" type="xs:string">
   </xs:sequence>
 </xs:complexType>
</xs:element>


Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/business
 /customers/customer/{global-customer-id}
 /service-subscriptions/service-subscription/{service-type}
 /service-instances/service-instance/{service-instance-id}
Method: PUT
Request Body:
{
    service-instance-id: "{service-instance-id}",
    service-instance-name: "instance name",
    service-type: "some type",
    service-role: "some role",
    resource-version: "some version",
    model-invariant-id: "model id",
    model-version-id: "model version",
    customerinput-requestsparameters: "request parameters"
}


AAI-1353-3

SOTN Connectivity

Notes:

See Figure 2 above.

Proposal for specific new class of "connectivity" objects.Key value is "Ethernet Service Name" property.

aai_schema_v13.xsd

  • "service-instancesinstance"
  • "vpn-bindings"

new element "connectivity" , with 10-12 properties and 1-2 relationships and and new element "connectivities":

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="Connectivity">
 <xml-root-element name="connectivity"/>
 <java-attributes>
  <xml-element name="ethtconnectivity-svc-nameid" type="java.lang.String"/>
  <xml-element name="bandwidth-profile-name" type="java.lang.String"/>
  <xml-element name="bandwidth-profilevpn-type" type="java.lang.String"/>
  <xml-element name="CIRcir" type="java.lang.String"/>
  <xml-element name="EIReir" type="java.lang.String"/>
  <xml-element name="CBScbs" type="java.lang.String"/>
  <xml-element name="EBSebs" type="java.lang.String"/>
  <xml-element name="color-aware" type="java.lang.String"/>
  <xml-element name="coupling-flag" type="java.lang.String"/>
  <xml-element name="accessetht-providersvc-idname" type="java.lang.String"/>
  <xml-element name="access-clientprovider-id" type="java.lang.String"/>
  <xml-element name="access-topologyclient-id" type="java.lang.String"/>
  <xml-element name="access-nodetopology-id" type="java.lang.String"/>
  <xml-element name="access-ltpnode-id" type="java.lang.String"/>
  <xml-element name="cvlanaccess-tagltp-entryid" 
   type="inventoryjava.aai.onap.org.v14.CvlanTagEntrylang.String"/>
  <xml-element name="serviceconnectivity-instanceselflink" 
   type="inventoryjava.aai.onap.org.v14.ServiceInstancelang.String"/>
  <xml-element name="vpn-bindings" 
  cvlan" type="inventoryjava.aai.onap.org.v14.VpnBindingslang.String"/>
  </java-attributes>
</java-type>

<java-type name="Connectivities">
 <xml-root-element name="connectivities<xml-element name="operational-status" type="java.lang.String"/>
  <xml-element name="model-customization-id" type="java.lang.String"/>
  <xml-element name="model-version-id" type="java.lang.String"/>
 <java-attributes>   <xml-element name="connectivitymodel-invariant-id" container-type="java.lang.ArrayListString"/>
  <xml-element name="relationship-list" 
   type="inventory.aai.onap.org.v14.ConnectivityRelationshipList"/>
 </java-attributes>
</java-type>


Code Block
languagexml
titleMockup Schema (XSD)
collapsetrue
<xs:<java-type name="Connectivities">
 <xml-root-element name="connectivityconnectivities"/>
 <xs:complexType><java-attributes>
   <xs:sequence>
    <xs:<xml-element name="etht-svc-nameconnectivity" container-type="xs:string" minOccurs="1">
    <xs:element name="bandwidth-profile-name" type="xs:string">
    <xs:element name="bandwidth-profile-type" type="xs:string">
    <xs:element name="CIR" type="xs:string">
    <xs:element name="EIR" type="xs:string">
    <xs:element name="CBS" type="xs:string">
    <xs:element name="EBS" type="xs:string">
    <xs:element name="color-aware" type="xs:string">
    <xs:element name="coupling-flag" type="xs:string">
    <xs:element name="access-provider-id" type="xs:string">
    <xs:element name="access-client-id" type="xs:string">
    <xs:element name="access-topology-id" type="xs:string">
    <xs:element name="access-node-id" type="xs:string">
    <xs:element name="access-ltp-id" type="xs:string">
    <xs:element ref="tns:cvlan-tag-entry"
     minOccurs="0" maxOccurs="1"/>
    <xs:element ref="tns:service-instance"
     minOccurs="0" maxOccurs="1"/>
    <xs:element ref="tns:vpn-bindings"
     minOccurs="1" maxOccurs="unbounded"/>
   </xs:sequence>
 </xs:complexType>
</xs:element>

<xs:element name="connectivities">
 <xs:complexType>
   <xs:sequence>
    <xs:element ref="tns:connectivity"
     minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
 </xs:complexType>
</xs:element>
Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /connectivities/connectivity/{ethSvcName}
Method: PUT
Request Body:
{
    "bandwidth-profile-name": "a name",
    "bandwidth-profile-type": "a type",
    "CIR": "cir value",
    "EIR": "eir value",
    "CBS": "cbs value",
    "EBS": "ebs value",
    "color-aware": "color value",
    "coupling-flag": "flag value",
    "etht-svc-name": "{ethSvcName}",
    "access-provider-id": "provider id",
    "access-client-id": "client id",
    "access-topology-id": "topology id",
    "access-node-id": "node id",
    "access-ltp-id": "ltp id",
    "cvlan-tag-entry": {
        "cvlan-tag" : "cvlanTag"
    },
    "service-instance": {
        "service-instance-id" : "instance id"
    },
    "vpn-bindings": {
        "vpn-binding" : [
            {java.lang.ArrayList"
   type="inventory.aai.onap.org.v14.Connectivity"/>
 </java-attributes>
</java-type>


Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /connectivities/connectivity/{connectivityId}
Method: PUT
Request Body:
{
    "connectivity-id": "{connectivityId}",
    "bandwidth-profile-name": "a name",
    "vpn-type": "a type",
    "cir": "cir value",
    "eir": "eir value",
    "cbs": "cbs value",
    "ebs": "ebs value",
    "color-aware": "color value",
    "coupling-flag": "flag value",
    "etht-svc-name": "some name",
    "access-provider-id": "provider id",
    "access-client-id": "client id",
    "access-topology-id": "topology id",
    "access-node-id": "node id",
    "access-ltp-id": "ltp id",
    "connectivity-selflink": "some link",
    "cvlan": "some tag",
    "operational-status": "some status",
    "model-customization-id": "some customization",
    "model-version-id": "some version",
    "model-invariant-id": "some invariant",
    "relationship-list": {
        "relationship" : [
            {
                "related-to": "service-instance",
                "related-link": "url of service-instance",
                "relationship-data": [
                    "relationship-key": "service-instance.service-instance-id",
                    "relationship-value": "some id"
                ]
            },
            {
                "related-to": "vpn-binding",
                "related-link": "url of vpn-binding",
                "relationship-data": [
                    "vpnrelationship-idkey": "vpn id 1"-binding.vpn-id",
            },        "relationship-value": "some  id"
 {                 "vpn-id": "vpn id 2"]
              }
        ]
    }
}


AAI-1353-4

VPN

Notes:

See Figure 2 above.

Update existing class of objects.


aai_schema_v13.xsd

  • "vpn-binding"
  • "vpn-bindings"

add properties to existing "vpn-binding" object:

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="VpnBinding">
 <xml-root-element name="vpn-binding"/>
 <java-attributes>
  <xml-element name="access-provider-id" type="java.lang.String"/>
  <xml-element name="access-client-id" type="java.lang.String"/>
  <xml-element name="access-topology-id" type="java.lang.String"/>
  <xml-element name="access-node-id" type="java.lang.String"/>
  <xml-element name="access-ltp-id" type="java.lang.String"/>
  <xml-element name="src-access-node-id" type="java.lang.String"/>
  <xml-element name="src-access-ltp-id" type="java.lang.String"/>
  <xml-element name="dst-access-node-id" type="java.lang.String"/>
  <xml-element name="dst-access-ltp-id" type="java.lang.String"/>
 </java-attributes>
</java-type>

Code Block
languagexml
titleMockup Schema (XSD)
collapsetrue
<xs: <xml-element name="vpn-binding">
 <xs:complexType>
   <xs:sequence>
    <xs:operational-status" type="java.lang.String"/>
  <xml-element name="accessmodel-providercustomization-id" type="xs:string"java.lang.String"/>
    <xs:<xml-element name="accessmodel-clientversion-id" type="xs:string"java.lang.String"/>
    <xs:<xml-element name="accessmodel-topologyinvariant-id" type="xs:string">
    <xs:element name="src-access-node-id" type="xs:string">
    <xs:element name="src-access-ltp-id" type="xs:string">
    <xs:element name="dst-access-node-id" type="xs:string">
    <xs:element name="dst-access-ltp-id" type="xs:string">
   </xs:sequence>
 </xs:complexType>
</xs:element>

Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /vpn-bindings/vpn-binding/vpnId
Method: PUT
Request Body:
{
    "vpn-id": "vpnId"java.lang.String"/>
 </java-attributes>
</java-type>


Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /vpn-bindings/vpn-binding/vpnId
Method: PUT
Request Body:
{
    "vpn-id": "vpnId",
    "vpn-name": "vpn name",
    "access-provider-id": "provider id",
    "access-client-id": "client id",
    "access-topology-id": "topology id",
    "src-access-node-id": "src node id",
    "vpn-namesrc-access-ltp-id": "vpnsrc ltp nameid",
    "dst-access-providernode-id": "providerdst node id",
    "dst-access-clientltp-id": "clientdst ltp id",
    "accessoperational-topology-idstatus": "topologysome idstatus",
    "srcmodel-access-nodecustomization-id": "srcsome node idcustomization",
    "srcmodel-access-ltpversion-id": "srcsome ltp idversion",
    "dstmodel-accessinvariant-node-id": "dst node id",
    "dst-access-ltp-id": "dst ltp idsome invariant"
}


AAI-1353-5

SP Partner

Notes:

See Figure 2 above.

Proposal for specific new class of "sp-partner" objects.


aai_schema_v13.xsd

  • "service-instances"

new element "sp-partner" and new element "sp-partners":

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="SpPartner">
 <xml-root-element name="sp-partner"/>
 <java-attributes>
  <xml-element name="sp-partner-id" type="java.lang.String"/>
  <xml-element name="url" type="java.lang.String"/>
  <xml-element name="callsource" type="java.lang.String"/>
  <xml-element name="servicerelationship-instancelist" 
   type="inventory.aai.onap.org.v14.ServiceInstanceRelationshipList"/>
 </java-attributes>
</java-type>


<java-type name="SpPartners">
 <xml-root-element name="sp-partners"/>
 <java-attributes>
  <xml-element name="sp-partner"
   type="inventory.aai.onap.org.v14.SpPartner"/>
 </java-attributes>
</java-type>


Code Block
languagexmljs
titleMockup Schema (XSD)API
collapsetrue
<xs:element name="sp-partner">
 <xs:complexType>
   <xs:sequence>
    <xs:element name="id" type="xs:string">URL: https://<AAI host>:<AAI port>/aai/v14/business
 /sp-partners/sp-partner/partnerId
Method: PUT
Request Body:
{
    "sp-partner-id": "partnerId",
    <xs"url":element name="partner url" type="xs:string">
,
    "callsource": "some source",
   <xs:element ref="tns:servicerelationship-instance"list": {
        minOccurs="0relationship" maxOccurs="1"/>
: [
  </xs:sequence>  </xs:complexType> </xs:element>  <xs:element name="sp-partners">  <xs:complexType>  {
 <xs:sequence>     <xs:element ref="tns:sp-partner"          minOccurs="0related-to": maxOccurs="unbounded"/>
   </xs:sequence>
 </xs:complexType>
</xs:element>
Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/business
 /sp-partners/sp-partner/partnerId
Method: PUT
Request Body:
{service-instance",
                "idrelated-link": "partnerIdurl of service-instance",
    "url": "partner url",            "servicerelationship-instancedata": { [
                    "relationship-key": "service-instance.service-instance-id",
                    "relationship-value": "instancesome id"
                ]
            }
        ]
    }
}


AAI-1353-6

SOTN Attachment

Notes:

See Figure 3 above.

Update existing class of objects.


aai_schema_v13.xsd

  • "allotted-resource"
  • "allotted-resources"

add properties to existing "allotted-resource" object:

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="AllottedResource">
 <xml-root-element name="allotted-resource"/>
 <java-attributes>
  <xml-element name="allotted-resource-name" type="java.lang.String"/>
  <xml-element name="access-provider-id" type="java.lang.String"/>
  <xml-element name="access-client-id" type="java.lang.String"/>
  <xml-element name="access-topology-id" type="java.lang.String"/>
  <xml-element name="access-node-id" type="java.lang.String"/>
  <xml-element name="access-ltp-id" type="java.lang.String"/>
  <xml-element name="cvlan-tag-entry"" type="java.lang.String"/>
  <xml-element name="vpn-name" type="inventoryjava.aai.onap.org.v14.CvlanTagEntrylang.String"/>
 </java-attributes>
</java-type>


Code Block
languagexmljs
titleMockup Schema (XSD)API
collapsetrue
<xsURL:element name="allotted-resource">
 <xs:complexType>
   <xs:sequence>
    <xs:element name="access-provider-id" type="xs:string">
    <xs:element name="access-client-id" type="xs:string">
    <xs:element name="access-topology-id" type="xs:string">
    <xs:element name="access-node-id" type="xs:string">
    <xs:element name="access-ltp-id" type="xs:string">
    <xs:element ref="tns:cvlan-tag-entry"
     minOccurs="0" maxOccurs="1"/>
   </xs:sequence>
 </xs:complexType>
</xs:element>

Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/business
 /customers/customer/{global-customer-id}
 /service-subscriptions/service-subscription/{service-type}
 /service-instances/service-instance/{service-instance-id}
 /allotted-resources/allotted-resource/{id}
Method: PUT
Request Body:
{
    "access-provider-id": "provider id",
    "access-client-id": "client id",
    "access-topology-id": "topology id",
    "access-node-id": "node id",
    "access-ltp-id": "ltp id",
    "cvlan-tag-entry": {
        "cvlan-tag" : "cvlanTag"
    }
}
AAI-1353-7

aai_schema_v13.xsd

  • "service-instances"
Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
 https://<AAI host>:<AAI port>/aai/v14/business
 /customers/customer/{global-customer-id}
 /service-subscriptions/service-subscription/{service-type}
 /service-instances/service-instance/{service-instance-id}
 /allotted-resources/allotted-resource/{id}
Method: PUT
Request Body:
{
    "allotted-resource-name": "some name",
    "access-provider-id": "provider id",
    "access-client-id": "client id",
    "access-topology-id": "topology id",
    "access-node-id": "node id",
    "access-ltp-id": "ltp id",
    "cvlan": "some tag",
    "vpn-name": "some name"
}


AAI-1353-7

LAN port config

Notes:

See Figure 3 above.

Proposal for specific new class of "lan-port-config" objects.


aai_schema_v13.xsd

  • "service-instances"

new element "lan-port-config" and new element "lan-port-configs":

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="LanPortConfig">
 <xml-root-element name="lan-port-config"/>
 <java-attributes>
  <xml-element name="lan-port-config-id" type="java.lang.String"/>
  <xml-element name="lan-port-config-name" type="java.lang.String"/>
  <xml-element name="description" type="java.lang.String"/>
  <xml-element name="device-id" type="java.lang.String"/>
  <xml-element name="port-id" type="java.lang.String"/>
  <xml-element name="ip-address" type="java.lang.String"/>
  <xml-element name="vlan-tag" type="java.lang.String"/>
  <xml-element name="input-bandwidth" type="java.lang.String"/>
  <xml-element name="output-bandwidth" type="java.lang.String"/>
  <xml-element name="dhcp-services" 
   type="inventory.aai.onap.org.v14.DhcpServices"/>
  <xml-element name="relationship-list" 
   type="inventory.aai.onap.org.v14.RelationshipList"/>
 </java-attributes>
</java-type>

<java-type name="LanPortConfigs">
 <xml-root-element name="lan-port-configs"/>
 <java-attributes>
  <xml-element name="lan-port-config" container-type="java.lang.ArrayList"
   type="inventory.aai.onap.org.v14.LanPortConfigs"/>
 </java-attributes>
</java-type>


Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /lan-port-configs/lan-port-config/id
Method: PUT
Request Body:
{
    "lan-port-config-id": "id",
    "lan-port-config-name": "some name",
    "description": "some description",
    "device-id": "some device",
    "port-id": "some port",
    "ip-address": "some address",
    "vlan-tag": "some tag",
    "input-bandwidth": "some input",
    "output-bandwidth": "some output",
    "dhcp-services": {
        "dhcp-service": [
            {
                "service-enable": "some enable",
                "dhcp-service-type": "some service",
                "lease-time": "some time",
                "domain-name": "some domain",
                "dns": "some dns",
                "ntp-primary": "some ntp",
                "ntp-secondary": "some secondary",
                "nbns": "some nbns",
                "server-ip-address": "some server"
            }
        ]
    },
    "relationship-list": {
        "relationship" : [
            {
                "related-to": "service-instance",
                "related-link": "url of service-instance",
                "relationship-data": [
                    "relationship-key": "service-instance.service-instance-id",
                    "relationship-value": "some id"
                ]
            }
        ]
    }
}


AAI-1353-7bdhcp-service

new element "dhcp-service" and new element "dhcp-services", as sub-component of "lan-port-config":

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="DhcpService">
 <xml-root-element name="dhcp-service"/>
 <java-attributes>
  <xml-element name="service-enable" type="java.lang.String"/>
  <xml-element name="dhcp-service-type" type="java.lang.String"/>
  <xml-element name="lease-time" type="java.lang.String"/>
  <xml-element name="domain-name" type="java.lang.String"/>
  <xml-element name="dns" type="java.lang.String"/>
  <xml-element name="ntp-primary" type="java.lang.String"/>
  <xml-element name="ntp-secondary" type="java.lang.String"/>
  <xml-element name="nbns" type="java.lang.String"/>
  <xml-element name="server-ip-address" type="java.lang.String"/>
  <xml-element name="relationship-list" 
   type="inventory.aai.onap.org.v14.RelationshipList"/>
 </java-attributes>
</java-type>

<java-type name="DhcpServices">
 <xml-root-element name="dhcp-services"/>
 <java-attributes>
  <xml-element name="dhcp-service" container-type="java.lang.ArrayList"
   type="inventory.aai.onap.org.v14.DhcpService"/>
 </java-attributes>
</java-type>


AAI-1353-8

site-resource

Notes:

See Figure 3 above.


new element "site-resource" and new element "site-resources":

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="SiteResource">
 <xml-root-element name="site-resource"/>
 <java-attributes>
  <xml-element name="site-resource-id" type="java.lang.String"/>
  <xml-element name="site-resource-name" type="java.lang.String"/>
  <xml-element name="description" type="java.lang.String"/>
  <xml-element name="type" type="java.lang.String"/>
  <xml-element name="role" type="java.lang.String"/>
  <xml-element name="generated-site-id" type="java.lang.String"/>
  <xml-element name="selflink" type="java.lang.String"/>
  <xml-element name="operational-status" type="java.lang.String"/>
  <xml-element name="model-customization-id" type="java.lang.String"/>
  <xml-element name="model-version-id" type="java.lang.String"/>
  <xml-element name="model-invariant-id" type="java.lang.String"/>
  <xml-element name="relationship-list" 
   type="inventory.aai.onap.org.v14.RelationshipList"/>
 </java-attributes>
</java-type>

<java-type name="SiteResources">
 <xml-root-element name="site-resources"/>
 <java-attributes>
  <xml-element name="site-resource" container-type="java.lang.ArrayList"
   type="inventory.aai.onap.org.v14.SiteResource"/>
 </java-attributes>
</java-type>


Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /site-resources/site-resource/{id}
Method: PUT
Request Body:
{
    "site-resource-id": "{id}",
    "site-resource-name": "some name",
    "description": "some description",
    "type": "some type",
    "role": "some role",
    "generated-site-id": "some id",
    "selflink": "some URL",
    "operational-status": "some status",
    "model-customization-id": "some customization",
    "model-version-id": "some version",
    "model-invariant-id": "some invariant",
    "relationship-list": {
        "relationship" : [
            {
                "related-to": "service-instance",
                "related-link": "url of service-instance",
                "relationship-data": [
                    "relationship-key": "service-instance.service-instance-id",
                    "relationship-value": "some id"
                ]
            },
            {
                "related-to": "complex",
                "related-link": "url of complex",
                "relationship-data": [
                    "relationship-key": "complex.physical-location-id",
                    "relationship-value": "some id"
                ]
            }
        ]
    }
}


AAI-1353-9

physical location

Notes:

See Figure 3 above.

aai_schema_v13.xsd

  • "complex"

use existing element "complex" to represent "physical location".


AAI-1353-10

topo-network

Notes:

See Figure 4 above.

Proposal for specific new class of "network-resource" objects.


aai_schema_v13.xsd

  • "pnfs"
  • "p-interfaces"
  • "vpn-bindings"

new element "network-resource" and new element "network-resources":

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="networkResource">
 <xml-root-element name="network-resource"/>
 <java-attributes>
  <xml-element name="network-id" type="java.lang.String"/>
  <xml-element name="provider-id" type="java.lang.String"/>
  <xml-element name="client-id" type="java.lang.String"/>
  <xml-element name="te-topo-id" type="java.lang.String"/>
  <xml-element name="selflink" type="java.lang.String"/>
  <xml-element name="pnfs"
   type="inventory.aai.onap.org.v14.Pnfs"/>
  <xml-element name="relationship-list" 
   type="inventory.aai.onap.org.v14.RelationshipList"/>
 </java-attributes>
</java-type>

<java-type name="networkResources">
 <xml-root-element name="network-resources"/>
 <java-attributes>
  <xml-element name="network-resource" container-type="java.lang.ArrayList"
   type="inventory.aai.onap.org.v14.NetworkResource"/>
 </java-attributes>
</java-type>


Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /network-resources/network-resource/{networkId}
Method: PUT
Request Body:
{
    "network-id": "{networkId}",
    "provider-id": "some provider",
    "client-id": "some client",
    "te-topo-id": "some topo",
    "selflink": "some URL",
    "pnfs": {
        "pnf" : [
            {
                "pnf-name": "name 1"
            },
            {
                "pnf-name": "name 2"
            }
        ]
    },
    "relationship-list": {
        "relationship" : [
            {
                "related-to": "vpn-binding",
                "related-link": "url of vpn-binding",
                "relationship-data": [
                    "relationship-key": "vpn-binding.vpn-id",
                    "relationship-value": "some id"
                ]
            }
        ]
    }
}


AAI-1353-11

termination-point

Notes:

See Figure 4 above.

Update existing class of objects.


aai_schema_v13.xsd

  • "p-interface"
  • "vpn-bindings"

add properties to existing "p-interface" object:

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="PInterface">
 <xml-root-element name="p-interface"/>
 <java-attributes>
  <xml-element name="network-ref" type="java.lang.String"/>
  <xml-element name="transparent" type="java.lang.String"/>
  <xml-element name="operational-status" type="java.lang.String"/>
  <xml-element name="relationship-list" 
   type="inventory.aai.onap.org.v14.RelationshipList"/>
 </java-attributes>
</java-type>


Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /pnfs/pnf/{pnfName}
 /p-interfaces/p-interface/{tp-id}
Method: PUT
Request Body:
{
    "interface-name": "{tp-id}",
    "network-ref": "some network",
    "transparent": "some value",
    "operational-status": "some oper",
    "speed-value": "eth bandwidth",
    "relationship-list": {
        "relationship" : [
            {
                "related-to": "vpn-binding",
                "related-link": "url of vpn-binding",
                "relationship-data": [
                    "relationship-key": "vpn-binding.vpn-id",
                    "relationship-value": "some id"
                ]
            }
        ]
    }
}


AAI-1353-12

cross-domain link

Notes:

See Figures 5, 6, 7, 8 and 9 above.

Record information in AAI that crosses between ONAP Domain 1 and ONAP Domain 2


new proposed elements "external-aai-list" and "external-aai":

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="ExtAaiNetworks">
  <xml-root-element name="ext-aai-networks" />
    <java-attributes>
      <xml-element name="ext-aai-network"
       type="inventory.aai.onap.org.v14.ExtAaiNetwork" />
    </java-attributes>
</java-type>

<java-type name="ExtAaiNetwork">
  <xml-root-element name="ext-aai-network" />
  <java-attributes>
    <xml-element name="aai-id" type="java.lang.String"
      required="true" xml-key="true">
    <xml-element name="schema-version" type="java.lang.String">
    <xml-element name="esr-system-info"
      type="inventory.aai.onap.org.v14.EsrSystemInfo" />
    <xml-element name="logical-links"
      type="inventory.aai.onap.org.v14.LogicalLinks" />
    <xml-element name="vpn-bindings"
      type="inventory.aai.onap.org.v14.VpnBindings" />
    <xml-element name="service-instancepnfs"
      type="inventory.aai.onap.org.v14.ServiceInstancePnfs" />

</java-attributes> </java-type>   <java<xml-typeelement name="PortConfigs">connectivities"
     <xml-root-element nametype="port-configs"inventory.aai.onap.org.v14.Connectivities" />
 <java-attributes>   <xml-element name="lan-port-config" container-type="java.lang.ArrayList-configs"
      type="inventory.aai.onap.org.v14.PortConfigsLanPortConfigs" />
  </java-attributes>
</java-type>
Code Block
languagexml
titleMockup Schema (XSD)
collapsetrue
<xs:  <xml-element name="portnetwork-configresources">
   <xs:complexType>    <xs:sequence>type="inventory.aai.onap.org.v14.NetworkResources" />
    <xs:<xml-element name="port-id" type="xs:string">site-resources"
    <xs:element name="config-type" type="xs:string"inventory.aai.onap.org.v14.SiteResources" />
    <xs:<xml-element refname="tns:servicesdwan-instancevpns"
     minOccurs="0" maxOccurs="1type="inventory.aai.onap.org.v14.SdwanVpns"/>
   </xs:sequence>
 </xs:complexType>
</xs:element>

<xs: <xml-element name="port-configsdevices">
 <xs:complexType>    <xs:sequence>type="inventory.aai.onap.org.v14.Devices"/>
    <xs:<xml-element refname="tns:wan-port-configconfigs"
      minOccurs="0" maxOccurs="unbounded"type="inventory.aai.onap.org.v14.WanPortConfigs" />
   </xs:sequence>
 </xs:complexType>
</xs:element>java-attributes>
</java-type>


Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /ext-aai-networks/ext-aai-network/{aaiId}
 /portp-configsinterfaces/portp-config/portIdinterface/{tp-id}
Method: PUT
Request Body:
{
    "portaai-id-name": "portId{aaiId}",
    "configschema-typeversion": "lansome or wanversion",
    "serviceesr-system-instanceinfo": {
        "service-instance-id" esr-system-info-id": "some id",
        "system-name": "instancesome idname"
    }
}


AAI-1353-13

SDWAN VPN

Notes:

See Figure

10 above.

Proposal for specific new class of "sdwan-vpn" objects.

aai_schema_v13.xsd

  • "service-instance"

new element "

sdwan-

vpn" and new element "

sdwan-

vpns":

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
collapsetrue
<java-type name="SdwanVpn">
 <xml-root-element name="
sdwan-vpn"/>
 
<java-attributes>
  <xml-element name="
sdwan-vpn-id" type="java.lang.String"/>
  <xml-element name="
sdwan-vpn-name" type="java.lang.String"/>
  <xml-element name="
vxlan-id" type="java.lang.String"/>

  <xml-element name="
topology" 
type="java.lang.
String"/>
  <xml-element name="tenant-id" type="
java.
lang.String"/>
 
Code Block
languagexml
titleMockup Schema (XSD)
collapsetrue
 <xml-element name="
vpn-id" type="java.lang.String"/>
  <xml-element name="
selflink" type="
java.lang.String"/>
  
<xml-element name="
operational-status" type="
java.lang.String"/>
  
<xml-element name="
model-customization-id" type="
java.lang.String"/>
  
<xml-element name="
model-version-id" type="
java.lang.String"/>
  
<xml-element name="
model-invariant-id" type="
java.lang.String"/>
  
<xml-element 
name="
relationship-
list" 
   
type="
inventory.aai.onap.org.v14.RelationshipList"/>
 
</java-attributes>
</
java-type>

<java-type name="SdwanVpns">
 <xml-root-element name="
sdwan-
vpns"/>
 
<java-attributes>
  
<xml-element 
name=
"sdwan-vpn" container-type="java.lang.ArrayList"
   
type="inventory.aai.onap.org.v14.SdwanVpn"/>

 
</
java-attributes>
</java-type>


Code Block
languagejs
titleMockup API
collapsetrue
URL: https://<AAI host>:<AAI port>/aai/v14/network
 /
sdwan-
vpns/
sdwan-
vpn/{id}
Method: PUT
Request Body:
{
    "sdwan-vpn-id": "{id}",
    "sdwan-vpn-name": "
a name",
    "
vxlan-id": "
an 
id",
    "
topology": "
topology 
value",
    "
tenant-id": "
tenant 
value",
    "
vpn-id": "vpn value",
    "
selflink": "some 
URL",

    
"
operational-status": "some 
status",

    "
model-customization-id": "some 
customization",

    
"model-version-id": "some 
version"
,
  
 
 
AAI-1353-9

p-location

Notes:

See Figure 3 above.

new element "p-location" and new element "p-locations", as sub-component of "site-resource":

Code Block
languagexml
titleMockup Schema (OXM)
collapsetrue
<java-type name="PLocation">
 <xml-root-element name="p-location"/>
 <java-attributes>
  <xml-element name="emails" type="java.lang.String"/>
  <xml-element name="postcode" type="java.lang.String"/>
  <xml-element name="address" type="java.lang.String"/>
  <xml-element name="latitude" type="java.lang.String"/>
  <xml-element name="longitude" type="java.lang.String"/>
 </java-attributes>
</java-type>

<java-type name="PLocations">
 <xml-root-element name="p-locations"/>
 <java-attributes>
  <xml-element name="site-resource" container-type="java.lang.ArrayList"
   type="inventory.aai.onap.org.v14.PLocation"/>
 </java-attributes>
</java-type>
Code Block
languagexml
titleMockup Schema (XSD)
collapsetrue
<xs:element name="p-location">
 <xs:complexType>
   <xs:sequence>
    <xs:element name="emails" type="xs:string">
    <xs:element name="postcode" type="xs:string">
    <xs:element name="address" type="xs:string">
    <xs:element name="latitude" type="xs:string">
    <xs:element name="longitude" type="xs:string">
   </xs:sequence>
 </xs:complexType>
</xs:element>

<xs:element name="p-locations">
 <xs:complexType>
   <xs:sequence>
    <xs:element ref="tns:p-location"
     minOccurs="0" maxOccurs="unbounded"/>
   </xs:sequence>
 </xs:complexType>
</xs:element>
AAI-1353-10
"model-invariant-id": "some invariant",
    "relationship-list": {
        "relationship" : [
            {
                "related-to": "service-instance",
                "related-link": "url of service-instance",
                "relationship-data": [
                    "relationship-key": "service-instance.service-instance-id",
                    "relationship-value": "some id"
                ]
            }
        ]
    }
}


AAI-1353-14

SDWAN Device

Notes:

Proposal for specific new class of "network-resourcedevice" objects.aai_schema_v13.xsd

  • "pnfs"
  • "p-interfaces"
  • "vpn-bindings"



    new element "network-resourcedevice" and new element "network-resourcesdevices":

    Code Block
    languagexml
    titleMockup Schema (OXM)
    collapsetrue
    <java-type name="networkResourceDevice">
     <xml-root-element name="device"/>
     <java-attributes>
      <xml-element name="network-resource="device-id" type="java.lang.String"/>
     <java-attributes>
      <xml-element name="network-idesn" type="java.lang.String"/>
      <xml-element name="providerdevice-idname" type="java.lang.String"/>
      <xml-element name="client-iddescription" type="java.lang.String"/>
      <xml-element name="te-topo-idvendor" type="java.lang.String"/>
      <xml-element name="pnfsclass"
       type="inventoryjava.aai.onap.org.v14.Pnfslang.String"/>
      <xml-element name="p-interfaces"
      type" type="inventoryjava.aai.onap.org.v14.PInterfaceslang.String"/>
      <xml-element name="vpn-bindings"
      version" type="inventoryjava.aai.onap.org.v14.VpnBindingslang.String"/>
      </java<xml-attributes>
    </java-type>
    
    
    <java-type name="networkResources">
     <xml-rootelement name="system-ip" type="java.lang.String"/>
      <xml-element name="selflink" type="network-resourcesjava.lang.String"/>
     <java-attributes>
      <xml-element name="networkoperational-resourcestatus" container-type="java.lang.ArrayListString"/>
      <xml-element name="model-customization-id" type="inventoryjava.aai.onap.org.v14.NetworkResourcelang.String"/>
     </java-attributes>
    </java-type>
    Code Block
    languagexml
    titleMockup Schema (XSD)
    collapsetrue
    <xs: <xml-element name="networkmodel-version-resourceid">
     <xs:complexType>
       <xs:sequence>
        <xs: type="java.lang.String"/>
      <xml-element name="networkmodel-invariant-id" type="xs:string"java.lang.String"/>
        <xs:<xml-element name="providerrelationship-idlist" 
       type="xs:string"inventory.aai.onap.org.v14.RelationshipList"/>
     </java-attributes>
    </java-type>
    
    <xs:element<java-type name="client-id" type="xs:string">
        <xs:"Devices">
     <xml-root-element name="devices"/>
     <java-attributes>
      <xml-element name="device"te-topo-id" container-type="java.lang.ArrayList"
       type="xs:string">
        <xs:element ref="tns:pnfs"
         minOccurs="1" maxOccurs="unbounded"/>
        <xs:element ref="tns:p-interfaces"
         minOccurs="1" maxOccurs="unbounded"/>
        <xs:element ref="tns:vpn-bindings"
         minOccurs="1" maxOccurs="unbounded"/>
       </xs:sequence>
     </xs:complexType>
    </xs:element>
    
    <xs:element name="network-resources">
     <xs:complexType>
       <xs:sequence>
        <xs:element ref="tns:network-resource"
         minOccurs="0" maxOccurs="unbounded"/>
       </xs:sequence>
     </xs:complexType>
    </xs:element>
    Code Block
    languagejs
    titleMockup API
    collapsetrue
    URL: https://<AAI host>:<AAI port>/aai/v14/network
     /network-resources/network-resource/{networkId}
    Method: PUT
    Request Body:
    {
        "network-id": "{networkId}inventory.aai.onap.org.v14.Device"/>
     </java-attributes>
    </java-type>
    
    


    Code Block
    languagejs
    titleMockup API
    collapsetrue
    URL: https://<AAI host>:<AAI port>/aai/v14/network
     /devices/device/{id}
    Method: PUT
    Request Body:
    {
        "device-id": "{id}",
        "esn": "an esn",
        "device-name": "a name",
        "description": "a description",
        "vendor": "vendor value",
        "class": "a class",
        "type": "a type",
        "version": "version value",
        "system-ip": "ip value",
        "selflink": "some URL",
        "operational-status": "some status",
        "providermodel-customization-id": "some providercustomization",
        "clientmodel-version-id": "some clientversion",
        "temodel-topoinvariant-id": "some topoinvariant",
        "pnfsrelationship-list": {
            "pnfrelationship" : [
                {
                    "pnfrelated-nameto": "name 1"service-instance",
                    "related-link": "url of },service-instance",
                    "relationship-data": [
       {                 "pnfrelationship-namekey": "name 2""service-instance.service-instance-id",
                       } "relationship-value": "some id"
         ]     },     "p-interfaces": { ]
            "p-interface" : [  }
            ]
     {   }
    }
    


    AAI-1353-15

    SDWAN Port

    Notes:

    Proposal for specific new class of "wan-port-config" objects.


    new element "wan-port-config" and new element "wan-port-configs":

    Code Block
    languagexml
    titleMockup Schema (OXM)
    collapsetrue
    <java-type name="WanPortConfig">
     <xml-root-element name="wan-port-config"/>
     <java-attributes>
         "interface-name": "name 1"
                },
                {
                    "interface-name": "name 2"
                }
            ]
        },
        "vpn-bindings": {
            "vpn-binding" : [
                {
                    "vpn-id": "vpn id 1"
                },
                {
                    "vpn-id": "vpn id 2"
                }
            ]
        }
    }
    
    
    AAI-1353-11

    aai_schema_v13.xsd

    • "p-interface"
    • "vpn-bindings"

    add properties to existing object:

    Code Block
    languagexml
    titleMockup Schema (OXM)
    collapsetrue
    <java-type name="PInterface">
     <xml-root-element name="p-interface"/>
     <java-attributes>
      <xml-element name="network-ref" type="java.lang.String"/>
      <xml-element name="transparent" type="java.lang.String"/>
      <xml-element name="vpn-bindings<xml-element name="wan-port-config-id" type="java.lang.String"/>
      <xml-element name="wan-port-config-name" type="java.lang.String"/>
      <xml-element name="device-id" type="java.lang.String"/>
      <xml-element name="vlan-id" type="java.lang.String"/>
      <xml-element name="ip-address" type="java.lang.String"/>
      <xml-element name="provider-ip-address" type="java.lang.String"/>
      <xml-element name="input-bandwidth" type="java.lang.String"/>
      <xml-element name="output-bandwidth" type="java.lang.String"/>
      <xml-element name="description" type="java.lang.String"/>
      <xml-element name="port-type" type="java.lang.String"/>
      <xml-element name="port-number" type="java.lang.String"/>
      <xml-element name="transport-network-name" type="java.lang.String"/>
      <xml-element name="device-port-id" type="java.lang.String"/>
      <xml-element name="wan-port-id" type="java.lang.String"/>
      <xml-element name="selflink" type="java.lang.String"/>
      <xml-element name="operational-status" type="java.lang.String"/>
      <xml-element name="model-customization-id" type="java.lang.String"/>
      <xml-element name="model-version-id" type="java.lang.String"/>
      <xml-element name="model-invariant-id" type="java.lang.String"/>
      <xml-element name="relationship-list" 
       type="inventory.aai.onap.org.v14.RelationshipList"/>
     </java-attributes>
    </java-type>
    
    <java-type name="WanPortConfigs">
     <xml-root-element name="wan-port-configs"/>
     <java-attributes>
      <xml-element name="wan-port-config" container-type="java.lang.ArrayList"
       type="inventory.aai.onap.org.v14.VpnBindingsWanPortConfig"/>
     </java-attributes>
    </java-type>
    
    


    Code Block
    languagexmljs
    titleMockup Schema (XSD)API
    collapsetrue
    <xs:element name="p-interface">
     <xs:complexType>
       <xs:sequence>
        <xs:element name="network-ref" type="xs:string">
        <xs:element name="transparent" type="xs:string">
        <xs:element ref="tns:vpn-bindings"
         minOccurs="0" maxOccurs="unbounded"/>
       </xs:sequence>
     </xs:complexType>
    </xs:element>
    
    
    Code Block
    languagejs
    titleMockup API
    collapsetrue
    URL: https://<AAI host>:<AAI port>/aai/v14/network
     /pnfs/pnf/{pnfName}
     /p-interfaces/p-interface/{tp-id}
    Method: PUT
    Request Body:
    {
        "interface-name": "{tp-id}URL: https://<AAI host>:<AAI port>/aai/v14/network
     /wan-port-configs/wan-port-config/{id}
    Method: PUT
    Request Body:
    {
        "wan-port-config-id": "{id}",
        "wan-port-config-name": "a name",
        "device-id": "id value",
        "vlan-id": "vlan value",
        "ip-address": "ip value",
        "provider-ip-address": "provider ip value",
        "input-bandwidth": "bandwidth value",
        "output-bandwidth": "bandwidth value",
        "description": "a description",
        "port-type": "type value",
        "port-number": "number value",
        "transport-network-refname": "somename networkvalue",
        "transparentdevice-port-id": "someid value",
        "speedwan-port-valueid": "ethid bandwidthvalue",
        "vpn-bindingsselflink": {
       "some URL",
        "vpnoperational-bindingstatus" : ["some status",
        "model-customization-id": "some customization",
        {
               "model-version-id": "some version",
        "vpnmodel-invariant-id": "vpn id 1"
     "some invariant",
        "relationship-list": {
            "relationship" :  },[
                {
                    "vpnrelated-idto": "vpn id 2"
                }service-instance",
            ]     } }
    
    AAI-1353-12

    cross-domain link

    Notes:

    See Figures 5, 6, 7, 8 and 9 above.

    Record information in AAI that crosses between ONAP Domain 1 and ONAP Domain 2

    aai_schema_v13.xsd

    • "inventory"

    Add new namespace to graph for new proposed elements "external-aai-list" and "external-aai":

    Code Block
    languagexml
    titleMockup Schema (OXM)
    collapsetrue
    <java-type name="Inventory">
      <xml-root-element name="inventory" />
        <java-attributes>    "related-link": "url of service-instance",
                    "relationship-data": [
                        "relationship-key": "service-instance.service-instance-id",
                <xml-element java-attribute="externalAaiList" name="external-aai-list" type="inventory.aai.onap.org.v14.ExternalAaiList" /> 	</java-attributes> </java-type>  <java-type name="ExternalAaiList">
      <xml-root-element name="external-aai-list" />
        <java-attributes>"relationship-value": "some id"
            <xml-element name="external-aai"        type="inventory.aai.onap.org.v14.ExternalAai" />]
               </java-attributes>
    </java-type> }
     <java-type name="ExternalAai">   <xml-root-element name="external-aai" /> ]
     <java-attributes>   }
    }
    <xml-element name="aai-id" type="java.lang.String"
          required="true" xml-key="true">
     


    AAI-1353-16pnf

    aai_schema_v13.xsd

    • "pnf"

    add properties to existing "pnf" object:

    Code Block
    languagexml
    titleMockup Schema (OXM)
    collapsetrue
    <java-type name="Pnf">
     <xml-root-element name="pnf"/>
     <java-attributes>
      <xml-element name="schemaadmin-versionstatus" type="java.lang.String"/>
    
       <xml-element name="esr-system-info-list"
          operational-status" type="inventoryjava.aai.onap.org.v14.EsrSystemInfoList" lang.String"/>
        <xml-element name="network"
         model-customization-id" type="inventoryjava.aai.onap.org.v14.Network" lang.String"/>
    
       <xml-element name="business"
         model-version-id" type="inventory.aai.onap.org.v14.Business" "java.lang.String"/>
        <xml-element name="cloudmodel-invariant-infrastructure"
         id" type="inventoryjava.aai.onap.org.v14.CloudInfrastructure" lang.String"/>
    
     </java-attributes>
    </java-type>
    
    


    Code Block
    languagexmljs
    titleMockup Schema (XSD)API
    collapsetrue
    <xs:element name="external-aai-list">
     <xs:complexType>
       <xs:sequence>
        <xs:element ref="tns:external-aai"
         minOccurs="0" maxOccurs="unbounded"/>
       </xs:sequence>
     </xs:complexType>
    </xs:element>
    
    <xs:element name="external-aai">
     <xs:complexType>
       <xs:sequence>
        <xs:element name="aai-id" type="xs:string">
        <xs:element name="schema-version" type="xs:string">
        <xs:element ref="tns:esr-system-info-list"/>
        <xs:element ref="tns:network"/>
        <xs:element ref="tns:business"/>
        <xs:element ref="tns:cloud-infrastructure"/>
       </xs:sequence>
     </xs:complexType>
    </xs:element>
    
    AAI-1353-999SDWAN-service
    URL: https://<AAI host>:<AAI port>/aai/v14/network
     /pnfs/pnf/{pnfName}
    Method: PUT
    Request Body:
    {
        "interface-name": "{tp-id}",
        "admin-status": "some admin",
        "operational-status": "some status",
        "model-customization-id": "some customization",
        "model-version-id": "some version",
        "model-invariant-id": "some invariant",
    }