Reference Id | CCVPN Use Case Reference | AAI Schema Reference | AAI Proposed Schema |
---|
AAI-1353-1 |
| aai_schema_v13.xsd | Update existing "network" and "business" entry points to graph for new proposed elements: Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <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"/>
<xml-element name="ext-aai-networkssdwan-vpns"
type="inventory.aai.onap.org.v14.SdwanVpns"/>
<xml-element name="devices"
type="inventory.aai.onap.org.v14.ExtAaiNetworksDevices"/>
<xml-element name="sdwanwan-port-vpnsconfigs"
type="inventory.aai.onap.org.v14.SdwanVpnsWanPortConfigs"/>
<xml-element name="devicesext-aai-networks"
type="inventory.aai.onap.org.v14.DevicesExtAaiNetworks"/>
</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>
|
Code Block |
---|
language | xml |
---|
title | Mockup Schema (XSD) |
---|
collapse | true |
---|
| <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:element ref="tns:site-resources"
minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="tns:ext-aai-networks"
minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="tns:devices"
minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="tns:sdwan-vpns"
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 | 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 object:
|
Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
|
<java-type name="ServiceInstance">
<xml-root-element name="service-instance"/>
<java-attributes>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 |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name="ServiceInstance">
<xml-root-element name="service-instance"/>
<java-attributes>
<xml-element name="input-parameters" type="java.lang.String"/>
</java-attributes>
</java-type>
|
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| 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",
input-parameters: "request parameters"
}
|
| AAI-1353-3 | SOTN Connectivity Notes: See Figure 2 above. Proposal for specific new class of "connectivity" objects. | aai_schema_v13.xsd - "service-instance"
- "vpn-bindings"
| new element "connectivity" and new element "connectivities": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name="Connectivity">
<xml-root-element name="connectivity"/>
<java-attributes>
<xml-element name="connectivity-id" type="java.lang.String"/>
<xml-element name="bandwidth-profile-name" type="java.lang.String"/>
<xml-element name="vpn-type" type="java.lang.String"/>
<xml-element name="cir" type="java.lang.String"/>
<xml-element name="eir" type="java.lang.String"/>
<xml-element name="cbs" type="java.lang.String"/>
<xml-element name="ebs" 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="etht-svc-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="connectivity-selflink" type="java.lang.String"/>
<xml-element name="cvlan" 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="Connectivities">
<xml-root-element name="connectivities"/>
<java-attributes>
<xml-element name="connectivity" container-type="java.lang.ArrayList"
type="inventory.aai.onap.org.v14.Connectivity"/>
</java-attributes>
</java-type>
|
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| 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": [
"relationship-key": "vpn-binding.vpn-id",
"relationship-value": "some id"
]
}
]
}
}
|
|
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 |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <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"/>
<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"/>
</java-attributes>
</java-type>
|
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| 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",
"src-access-ltp-id": "src ltp id",
"dst-access-node-id": "dst node id",
"dst-access-ltp-id": "dst ltp id",
"operational-status": "some status",
"model-customization-id": "some customization",
"model-version-id": "some version",
"model-invariant-id": "some invariant"
}
|
|
AAI-1353-5 | SP Partner Notes: See Figure 2 above. Proposal for specific new class of "sp-partner" objects.
| aai_schema_v13.xsd | new element "sp-partner" and new element "sp-partners": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <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="relationship-list"
type="inventory.aai.onap.org.v14.RelationshipList"/>
</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 |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| URL: https://<AAI host>:<AAI port>/aai/v14/business
/sp-partners/sp-partner/partnerId
Method: PUT
Request Body:
{
"sp-partner-id": "partnerId",
"url": "partner url",
"callsource": "some source",
"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-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 |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <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=" |
| customer-requestscvlan" type="java.lang.String"/>
|
| </java-attributes>
</java-type>
Code Block |
---|
language | xml |
---|
title | Mockup Schema (XSD) |
---|
collapse | true |
---|
|
<xs: | service-instance">
<xs:complexType>
<xs:sequence>
<xs:element name="customer-requests" | xs:string" | | xs:sequence>
</xs:complexType>
</xs:element>
java-attributes>
</java-type>
|
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| 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-/service-instance/{service-instance-id}
/allotted-resources/allotted-resource/{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 | model | model-version-id | model | version | customer | requests | request | parameters | AAI-1353-3SOTN Connectivity7 | LAN port config Notes: See Figure 2 3 above. Proposal for specific new class of "connectivitylan-port-config" objects.
| aai_schema_v13.xsd - "service-instanceinstances"
- "vpn-bindings"
| new element "connectivity", with 10-12 properties and 1-2 relationships lan-port-config" and new element "connectivitieslan-port-configs": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name="Connectivity">
<xml-root"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="connectivity"description" type="java.lang.String"/>
<java-attributes>
<xml-element name="connectivitydevice-id" type="java.lang.String"/>
<xml-element name="bandwidthport-profile-nameid" type="java.lang.String"/>
<xml-element name="vpnip-typeaddress" type="java.lang.String"/>
<xml-element name="CIRvlan-tag" type="java.lang.String"/>
<xml-element name="EIRinput-bandwidth" type="java.lang.String"/>
<xml-element name="CBSoutput-bandwidth" type="java.lang.String"/>
<xml-element name="EBS"dhcp-services"
type="java.lang.Stringinventory.aai.onap.org.v14.DhcpServices"/>
<xml-element name="colorrelationship-awarelist"
type="java.lang.Stringinventory.aai.onap.org.v14.RelationshipList"/>
</java-attributes>
</java-type>
<xml<java-elementtype name="coupling-flag" type="java.lang.StringLanPortConfigs">
<xml-root-element name="lan-port-configs"/>
<java-attributes>
<xml-element name="ethtlan-svcport-nameconfig" container-type="java.lang.StringArrayList"/>
<xml-element name="access-provider-id" type="java.lang.Stringinventory.aai.onap.org.v14.LanPortConfigs"/>
<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="connectivity-selflink" type="java.lang.String"/>
<xml-element name="cvlan-tag-entry"
type="inventory.aai.onap.org.v14.CvlanTagEntry"/>
<xml-element name="service-instance"
type="inventory.aai.onap.org.v14.ServiceInstance"/>
<xml-element name="vpn-bindings"
type="inventory.aai.onap.org.v14.VpnBindings"/>
</java-attributes>
</java-type>
<java-type name="Connectivities">
<xml-root-element name="connectivities"/>
<java-attributes>
<xml-element name="connectivity" container-type="java.lang.ArrayList"
type="inventory.aai.onap.org.v14.Connectivity"/>
</java-attributes>
</java-type>
|
Code Block |
---|
language | xml |
---|
title | Mockup Schema (XSD) |
---|
collapse | true |
---|
| <xs:element name="connectivity">
<xs:complexType>
<xs:sequence>
<xs:element name="connectivity-id" type="xs:string" minOccurs="1">
<xs:element name="bandwidth-profile-name" type="xs:string">
<xs:element name="vpn-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="etht-svc-name" 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 name="connectivity-selflink" 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 |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| 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-tag-entry": {
"cvlan-tag" : "cvlanTag"
},
"service-instance": {
"service-instance-id" : "instance id"
},
"vpn-bindings": {
"vpn-binding" : [
{
"vpn-id": "vpn id 1"
},
{
"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 object: Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name="VpnBinding">
<xml-root-element name="vpn-binding"/>
<java-attributes>
<xml-element name="access-provider</java-attributes>
</java-type> |
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| 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-7b | dhcp-service |
| new element "dhcp-service" and new element "dhcp-services", as sub-component of "lan-port-config": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <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 |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <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="access-client-idselflink" type="java.lang.String"/>
<xml-element name="accessoperational-topology-idstatus" type="java.lang.String"/>
<xml-element name="accessmodel-nodecustomization-id" type="java.lang.String"/>
<xml-element name="accessmodel-ltpversion-id" type="java.lang.String"/>
<xml-element name="srcmodel-access-nodeinvariant-id" type="java.lang.String"/>
<xml-element name="src-access-ltp-id"relationship-list"
type="java.lang.Stringinventory.aai.onap.org.v14.RelationshipList"/>
</java-attributes>
</java-type>
<xml<java-elementtype name="dst-access-node-id" type="java.lang.String"/>"SiteResources">
<xml-root-element name="site-resources"/>
<java-attributes>
<xml-element name="dst-access-ltp-idsite-resource" container-type="java.lang.StringArrayList"
type="inventory.aai.onap.org.v14.SiteResource"/>
</java-attributes>
</java-type>
|
Code Block |
---|
language | xmljs |
---|
title | Mockup Schema (XSD)API |
---|
collapse | true |
---|
| <xsURL:element name="vpn-binding">
<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="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 |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| URL: https://<AAI host>:<AAI port>/aai/v14/network
/vpn-bindings/vpn-binding/vpnId
Method: PUT
Request Body:
{
"vpn-id": "vpnId 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",
"vpnmodel-customization-nameid": "vpnsome namecustomization",
"accessmodel-providerversion-id": "providersome idversion",
"accessmodel-clientinvariant-id": "clientsome idinvariant",
"accessrelationship-topology-idlist": {
"topology id", "src-access-node-id": "src node id",relationship" : [
{
"src-access-ltp-idrelated-to": "src ltp id",service-instance",
"dst-access-node-idrelated-link": "dsturl nodeof idservice-instance",
"dst-access-ltp-id": "dst ltp id"
}
|
| AAI-1353-5 | SP Partner
Notes:
See Figure 2 above.
Proposal for specific new class of "sp-partner" objects.
aai_schema_v13.xsd | new element "sp-partner" and new element "sp-partners": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name="SpPartner">
<xml-root-element name="sp-partner"/>
<java-attributes>
<xml-element name="id" type="java.lang.String"/>
<xml-element name="url" type="java.lang.String"/>
<xml-element name="service-instance"
type="inventory.aai.onap.org.v14.ServiceInstance"/>
</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 |
---|
language | xml |
---|
title | Mockup Schema (XSD) |
---|
collapse | true |
---|
| <xs:element name="sp-partner">
<xs:complexType>
<xs:sequence>
<xs:element name="id" type="xs:string">
<xs:element name="url" type="xs:string">
<xs:element ref="tns:service-instance"
minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sp-partners">
<xs:complexType>
<xs:sequence>
<xs:element ref="tns:sp-partner"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element> |
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| URL: https://<AAI host>:<AAI port>/aai/v14/business
/sp-partners/sp-partner/partnerId
Method: PUT
Request Body:
{
"id": "partnerId",
"url": "partner url",
"service-instance": {
"service-instance-id" : "instance id" "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 | use existing element "complex" to represent "physical location".
|
AAI-1353- | 6SOTN Attachment10 | topo-network Notes: See Figure | 3 4 above. | Update existing Proposal for specific new class of "network-resource" objects.
| aai_schema_v13.xsd | allotted | resource | allotted | resources"add properties to existing object | new element "network-resource" and new element "network-resources": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java |
| -type name="AllottedResource">
<xml-root-element name="allotted-resource"/>
<java-attributes>
<xml-element name="name" type="java.lang.String"/>
<xml-element name="access-provider-id" type="java.lang.String"/>
<xml-type name="networkResource">
<xml-root-element name=" |
| access | client-id" type="java.lang.String"/>resource"/>
<java-attributes>
<xml-element name=" |
| access-topologynetwork-id" type="java.lang.String"/>
<xml-element name=" |
| access | node-id" type="java.lang.String"/>
<xml-element name=" |
| access-ltpclient-id" type="java.lang.String"/>
<xml-element name=" |
| cvlan | tag | entry |
| inventory | aai.onap.org.v14.CvlanTagEntry"/>
</java-attributes>
</java-type>
Code Block |
---|
language | xml |
---|
title | Mockup Schema (XSD) |
---|
collapse | true |
---|
|
<xs:element name="allotted-resource">
<xs:complexType>
<xs:sequence>
<xs:lang.String"/>
<xml-element name=" |
| name | xs:string" | <xs: | access-provider-id | xs:string"inventory.aai.onap.org.v14.Pnfs"/>
|
| <xs: | access | client-id | xs:string"inventory.aai.onap.org.v14.RelationshipList"/>
</java-attributes>
</java-type>
|
| <xs:element name="access-topology-id" type="xs:string<java-type name="networkResources">
|
| <xs: | access | node-id" type="xs:string"resources"/>
<java-attributes>
|
| <xs: | access | ltp-idresource" container-type=" |
| xs:string"> | <xs:element ref="tns:cvlan-tag-entry"
minOccurs="0" maxOccurs="1type="inventory.aai.onap.org.v14.NetworkResource"/>
|
| | xs:sequence>
</xs:complexType>
</xs:element>
java-attributes>
</java-type> |
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| 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/allottednetwork-resources/network-resource/{ |
| idnetworkId}
Method: PUT
Request Body:
{
" |
| name | some name | access-provider-id": "some provider |
| id | access- | id | access | topology | topology | id | access-node-id | node id",
"access-ltp-id": "ltp id | cvlan-tag-entry | cvlan-tag | "cvlanTag" | } | } | AAI-1353-7 | LAN port config
WAN port config
Notes:
See Figure 3 above.
Proposal for specific new class of "port-config" objects.
aai_schema_v13.xsd | new element "port-config" and new element "port-configs": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name="PortConfig"> <xml-root-element name="port-config"/> <java-attributes> <xml-element name="id" type="java.lang.String"/> <xml-element name="configpnf-typename": type="java.lang.String"/>
<xml-element name="service-instance""name 1"
},
type="inventory.aai.onap.org.v14.ServiceInstance"/>
</java-attributes>
</java-type>{
<java-type name="PortConfigs"> <xml-root-element name="port-configs"/> <java-attributes> <xml-element name="portpnf-configname": container-type="java.lang.ArrayList"
type="inventory.aai.onap.org.v14.PortConfigs"/>
</java-attributes>
</java-type> | Code Block |
---|
language | xml |
---|
title | Mockup Schema (XSD) |
---|
collapse | true |
---|
| <xs:element name="port-config">
<xs:complexType>
<xs:sequence>
<xs:element name="port-id" type="xs:string">
<xs:element name="config-type" type="xs:string">
<xs:element ref="tns:service-instance""name 2"
}
]
},
"relationship-list": {
"relationship" : [
{
minOccurs="0related-to": maxOccurs="1"/>vpn-binding",
</xs:sequence> </xs:complexType>
</xs:element> <xs:element name="port-configs">
<xs:complexType>related-link": "url of vpn-binding",
<xs:sequence> <xs:element ref="tns:port-config" minOccurs="0" maxOccurs="unbounded"/>
relationship-data": [
</xs:sequence> </xs:complexType> </xs:element> | Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| URL: https://<AAI host>:<AAI port>/aai/v14/network /port-configs/port-config/portId Method: PUT Request Body: { "portrelationship-idkey": "portIdvpn-binding.vpn-id",
"config-type "relationship-value": "lan or wan",some id"
]
"service-instance": { }
"service-instance-id" : "instance id"]
}
}
|
| AAI-1353-8 | site-resource Notes: See Figure 3 above. | new element "site-resource" and new element "site-resources"-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 |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <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"/>
<xml-element name="description" type="java.lang.String"/>
<xml-element name="type" type="java.lang.String"/>
| <java-type name="PInterface">
<xml-root-element name="p-interface"/>
<java-attributes>
<xml-element name="rolenetwork-ref" type="java.lang.String"/>
<xml-element name="p-locationtransparent" type="inventoryjava.aai.onap.org.v14.PLocation"/>
</java-attributes>
</java-type>
<java-type name="SiteResources">
<xml-root-element name="site-resources"/>
<java-attributes>lang.String"/>
<xml-element name="siteoperational-resourcestatus" container-type="java.lang.ArrayList"String"/>
<xml-element name="relationship-list"
type="inventory.aai.onap.org.v14.SiteResourceRelationshipList"/>
</java-attributes>
</java-type>
|
Code Block |
---|
language | xmljs |
---|
title | Mockup Schema (XSD)API |
---|
collapse | true |
---|
| <xs:element name="site-resource">
<xs:complexType>
<xs:sequence>
<xs:element name="id" type="xs:string">
<xs:element name="name" type="xs:string">
<xs:element name="description" type="xs:string">
<xs:element name="type" type="xs:string">
<xs:element name="role" type="xs:string">
<xs:element ref="tns:p-location"
minOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="site-resources">
<xs:complexType>
<xs:sequence>
<xs:element ref="tns:site-resource"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element> |
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| URL: https://<AAI host>:<AAI port>/aai/v14/network
/site-resources/site-resource/{id}
Method: PUT
Request Body:
{
"id": "{id}",
"name": "some name",
"description": "some description",
"type": "some type",
"role": "some role",
"p-location": {
"emails": "some email",
"address": "some address",
"postcode": "some postcode",
"latitude": "some latitude",
"longitude": "some longitude"
}
}
|
| 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 |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name="PLocation">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 |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <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="pext-aai-locationnetwork" />
<java-attributes>
<xml-element name="emailsaai-id" type="java.lang.String"/>"
required="true" xml-key="true">
<xml-element name="postcodeschema-version" type="java.lang.String"/>
<xml-element name="address"esr-system-info"
type="java.lang.String"/>inventory.aai.onap.org.v14.EsrSystemInfo" />
<xml-element name="latitude"logical-links"
type="java.lang.String"/>inventory.aai.onap.org.v14.LogicalLinks" />
<xml-element name="longitudevpn-bindings"
type="java.lang.String"inventory.aai.onap.org.v14.VpnBindings" />
</java-attributes> </java-type> <java<xml-typeelement name="PLocations">pnfs"
<xml-root-element nametype="p-locations"inventory.aai.onap.org.v14.Pnfs" />
<java-attributes> <xml-element name="p-location" container-type="java.lang.ArrayList"connectivities"
type="inventory.aai.onap.org.v14.PLocationConnectivities" />
</java-attributes>
</java-type> | Code Block |
---|
language | xml |
---|
title | Mockup Schema (XSD) |
---|
collapse | true |
---|
| <xs: <xml-element name="plan-port-location">
<xs:complexType>configs"
<xs:sequence> <xs:element name="emails" type="xs:string"type="inventory.aai.onap.org.v14.LanPortConfigs" />
<xs:<xml-element name="postcodenetwork-resources"
type="xs:string"> <xs:element nametype="address" type="xs:string"inventory.aai.onap.org.v14.NetworkResources" />
<xs:<xml-element name="latitude"site-resources"
type="xs:string"inventory.aai.onap.org.v14.SiteResources" />
<xs:<xml-element name="longitudesdwan-vpns"
type="xs:string"inventory.aai.onap.org.v14.SdwanVpns"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs: <xml-element name="p-locationsdevices">
<xs:complexType> <xs:sequence>type="inventory.aai.onap.org.v14.Devices"/>
<xs:<xml-element refname="tns:p-location"wan-port-configs"
minOccurstype="0inventory.aai.onap.org.v14.WanPortConfigs" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element> |
| 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":java-attributes>
</java-type>
|
Code Block |
---|
language | xmljs |
---|
title | Mockup Schema (OXM)API |
---|
collapse | true |
---|
| <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="pnfs"
type="inventory.aai.onap.org.v14.Pnfs"/>
<xml-element name="vpn-bindings"
type="inventory.aai.onap.org.v14.VpnBindings"/>
</java-attributes>
</java-type>
URL: https://<AAI host>:<AAI port>/aai/v14/network
/ext-aai-networks/ext-aai-network/{aaiId}
/p-interfaces/p-interface/{tp-id}
Method: PUT
Request Body:
{
"aai-id-name": "{aaiId}",
"schema-version": "some version",
"esr-system-info": {
"esr-system-info-id": "some id",
"system-name": "some name"
}
}
|
|
AAI-1353-13 | SDWAN VPN Notes: See Figure 10 above. Proposal for specific new class of "sdwan-vpn" objects. | aai_schema_v13.xsd | new element "sdwan-vpn" and new element "sdwan-vpns": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name=" |
| networkResourcesSdwanVpn">
<xml-root-element name=" |
| network | resourcesvpn"/>
<java-attributes>
<xml-element name=" |
| network | resource | container- | ArrayListString"/>
<xml-element name="sdwan-vpn-name" type=" |
| inventory | aai.onap.org.v14.NetworkResource | </java-attributes>
</java-type> Code Block |
---|
language | xml |
---|
title | Mockup Schema (XSD) |
---|
collapse | true |
---|
|
<xs: | network-resource"vxlan-id" type="java.lang.String"/>
|
| <xs:complexType> | <xs:sequence>
name="topology" type="java.lang.String"/>
|
| <xs: | network | xs:string" | <xs: | provider | xs:string"java.lang.String"/>
<xml-element |
| <xs:name="selflink" type="java.lang.String"/>
<xml-element name=" |
| client | id | xs:string" | <xs: | te | topo | xs:string"java.lang.String"/>
<xml-element |
| <xs:element ref="tns:pnfs"
minOccurs="1" maxOccurs="unboundedname="model-version-id" type="java.lang.String"/>
<xml-element name="model-invariant-id" type="java.lang.String"/>
|
| <xs: | ref | tns:vpn | bindings | minOccurs="1" maxOccurs="unbounded"type="inventory.aai.onap.org.v14.RelationshipList"/>
|
| | xs:sequence>
</xs:complexType>
</xs:element>
<xs:elementjava-attributes>
</java-type>
<java-type name=" |
| network-resources | <xs:complexType>
<xs:sequence>
<xs:element ref="tns:network-resource"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element><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 |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| URL: https://<AAI host>:<AAI port>/aai/v14/network
/ |
| network | resources | network | resource | networkIdid}
Method: PUT
Request Body:
{
" |
| network | networkId}"id}",
"sdwan-vpn-name": "a name",
" |
| provider | some provideran id",
"topology": "topology value",
" |
| client | some | client | te-topo | some | topo | pnfs | {
| | pnf | | [ | {
"pnf-name"model-customization-id": " |
| name | 1"
}customization",
"model-version-id": |
| {
| pnf | name | name | 2invariant",
"relationship-list": {
|
| } | ] | }, | "vpn-bindings": | "vpn-binding" | : | [ "related-to": "service-instance",
|
| { | "vpn-id | vpn | id | 1 | }, | { | "vpn-id": "vpn id 2""relationship-key": "service-instance.service-instance-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 object:
Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
|
<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" | type="inventory.aai.onap.org.v14.VpnBindings"/>
</java-attributes>
</java-type>
| AAI-1353-14 | SDWAN Device Notes: Proposal for specific new class of "device" objects.
|
| new element "device" and new element "devices": Code Block |
---|
language | xml |
---|
title | Mockup Schema (XSDOXM) |
---|
collapse | true |
---|
| <xs:<java-type name="Device">
<xml-root-element name="p-interfacedevice"/>
<xs:complexType><java-attributes>
<xs:sequence>
<xs:<xml-element name="device-id" type="java.lang.String"/>
<xml-element name="network-refesn" type="xs:string"java.lang.String"/>
<xs:<xml-element name="transparentdevice-name" type="xs:string"java.lang.String"/>
<xs:<xml-element refname="tns:vpn-bindingsdescription" type="java.lang.String"/>
<xml-element minOccursname="0vendor" maxOccurstype="unboundedjava.lang.String"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| 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",
"speed-value": "eth bandwidth",
"vpn-bindings": {
"vpn-binding" : [
{
"vpn-id": "vpn id 1"
},
{
"vpn-id": "vpn id 2"
}
]
}
}
|
| 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 | Update existing entry points to graph for new proposed elements "external-aai-list" and "external-aai": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <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-list"
type="inventory.aai.onap.org.v14.EsrSystemInfoList" />
<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="pnfs"
type="inventory.aai.onap.org.v14.Pnfs" />
<xml-element name="connectivities"
type="inventory.aai.onap.org.v14.Connectivities" />
<xml-element name="port-configs"
type="inventory.aai.onap.org.v14.PortConfigs" />
<xml-element name="network-resources"
type="inventory.aai.onap.org.v14.NetworkResources" />
<xml-element name="site-resources"
type="inventory.aai.onap.org.v14.SiteResources" />
<xml-element name="sdwan-vpns"
type="inventory.aai.onap.org.v14.SdwanVpns"/>
<xml-element name="devices"
type="inventory.aai.onap.org.v14.Devices"/>
</java-attributes>
</java-type>
<xml-element name="class" type="java.lang.String"/>
<xml-element name="type" type="java.lang.String"/>
<xml-element name="version" type="java.lang.String"/>
<xml-element name="system-ip" 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="Devices">
<xml-root-element name="devices"/>
<java-attributes>
<xml-element name="device" container-type="java.lang.ArrayList"
type="inventory.aai.onap.org.v14.Device"/>
</java-attributes>
</java-type>
|
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| 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",
"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"
]
}
]
}
}
|
|
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 |
---|
language | xml |
---|
title | Mockup Schema (XSDOXM) |
---|
collapse | true |
---|
| <xs:element name="ext-aai-networks">
<xs:complexType>
<xs:sequence>
<xs:element ref="tns:ext-aai-network"
minOccurs="0" maxOccurs="unbounded<java-type name="WanPortConfig">
<xml-root-element name="wan-port-config"/>
<java-attributes>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs: <xml-element name="extwan-port-aai-network"config-id" type="java.lang.String"/>
<xs:complexType>
<xs:sequence>
<xs: <xml-element name="aai-idwan-port-config-name" type="xs:string"java.lang.String"/>
<xs:<xml-element name="schemadevice-versionid" type="xs:string"java.lang.String"/>
<xs:<xml-element refname="tns:esr-system-info-listvlan-id" type="java.lang.String"/>
<xs:<xml-element refname="tns:logicalip-linksaddress"/>
<xs:element ref="tns:vpn-bindings type="java.lang.String"/>
<xs:<xml-element refname="tns:pnfs"/>
<xs:element ref="tns:connectivitiesprovider-ip-address" type="java.lang.String"/>
<xs:<xml-element refname="tns:port-configsinput-bandwidth" type="java.lang.String"/>
<xs:<xml-element refname="tns:network-resourcesoutput-bandwidth" type="java.lang.String"/>
<xml-element <xs:element ref="tns:site-resourcesname="description" type="java.lang.String"/>
<xs:<xml-element refname="tns:sdwan-vpnsport-type" type="java.lang.String"/>
<xs:<xml-element refname="tns:devices"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
| AAI-1353-13 | SDWAN VPN Notes: See Figure 10 above. Proposal for specific new class of "sdwan-vpn" objects. | aai_schema_v13.xsd | new element "sdwan-vpn" and new element "sdwan-vpns":
Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
|
<java-type name="SdwanVpn">
<xml-rootport-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=" |
| sdwan-vpnwan-port-id" type="java.lang.String"/>
|
| <java-attributes> <xml-element name="selflink" type="java.lang.String"/>
<xml-element name=" |
| idoperational-status" type="java.lang.String"/>
<xml-element name=" |
| namemodel-customization-id" type="java.lang.String"/>
<xml-element name=" |
| vxlanmodel-version-id" type="java.lang.String"/>
<xml-element name=" |
| topologymodel-invariant-id" type="java.lang.String"/>
<xml-element name=" |
| service | instancelist"
type="inventory.aai.onap.org.v14. |
| ServiceInstanceRelationshipList"/>
</java-attributes>
</java-type>
<java-type name=" |
| SdwanVpnsWanPortConfigs">
<xml-root-element name=" |
| sdwan | vpnsconfigs"/>
<java-attributes>
<xml-element name=" |
| sdwan | vpnconfig" container-type="java.lang.ArrayList"
type="inventory.aai.onap.org.v14. |
| SdwanVpnWanPortConfig"/>
</java-attributes>
</java-type>
|
| xml | Schema (XSD) Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
|
URL: https://<AAI host>:<AAI port>/aai/v14/network
/sdwan-vpns/sdwan-vpn/{id}
Method: PUT
Request Body:
{
"id": "{id} | <xs:element name="sdwan-vpn">
<xs:complexType>
<xs:sequence>
<xs:element name="id" type="xs:string" minOccurs="1">
<xs:element name="name" type="xs:string">
<xs:element name="vxlan-id" type="xs:string">
<xs:element name="topology" type="xs:string">
<xs:element ref="tns:service-instance"
minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sdwan-vpns">
<xs:complexType>
<xs:sequence>
<xs:element ref="tns:sdwan-vpn"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
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-name": "name value",
"device-port-id": "id value",
"wan-port-id": "id value",
" |
| name | a | name | vxlan | id | an | id | topologymodel-customization-id": " |
| topology | value | service | instance | { | | service | instance | | instance | id | }
}
AAI-1353-14 | SDWAN Device Notes: Proposal for specific new class of "device" objects. new element "device" and new element "devices": Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name="Device">
<xml-root-element name="device"/>
<java-attributes>
<xml-element name="id" type="java.lang.String"/>
<xml-element name="esn" type="java.lang.String"/>
<xml-element name="name" type="java.lang.String"/>
<xml-element name="description" type="java.lang.String"/>
<xml-element name="vendor" type="java.lang.String"/>
<xml-element name="class" type="java.lang.String"/>
<xml-element name="type" type="java.lang.String"/>
<xml-element name="version" type="java.lang.String"/>
<xml-element name="system-ip" type="java.lang.String"/>
</java-attributes>
</java-type>
<java-type name="Devices">
<xml-root-element name="devices"/>
<java-attributes>
<xml-element name="device" container-type="java.lang.ArrayList"
type="inventory.aai.onap.org.v14.Device"/>
</java-attributes>
</java-type>
|
Code Block |
---|
language | xml |
---|
title | Mockup Schema (XSD) |
---|
collapse | true |
---|
| <xs:element name="device">
<xs:complexType>
<xs:sequence>
<xs:element name="id" type="xs:string" minOccurs="1">
<xs:element name="esn" type="xs:string">
<xs:element name="name" type="xs:string">
<xs:element name="description" type="xs:string">
<xs:element name="vendor" type="xs:string">
<xs:element name="class" type="xs:string">
<xs:element name="type" type="xs:string">
<xs:element name="version" type="xs:string">
<xs:element name="system-ip" type="xs:string">
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="devices">
<xs:complexType>
<xs:sequence>
<xs:element ref="tns:device"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>"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-16 | pnf | aai_schema_v13.xsd | add properties to existing "pnf" object: Code Block |
---|
language | xml |
---|
title | Mockup Schema (OXM) |
---|
collapse | true |
---|
| <java-type name="Pnf">
<xml-root-element name="pnf"/>
<java-attributes>
<xml-element name="admin-status" 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"/>
</java-attributes>
</java-type>
|
Code Block |
---|
language | js |
---|
title | Mockup API |
---|
collapse | true |
---|
| URL: https://<AAI host>:<AAI port>/aai/v14/network
/devicespnfs/devicepnf/{idpnfName}
Method: PUT
Request Body:
{
"idinterface-name": "{tp-id}",
"esnadmin-status": "ansome esnadmin",
"nameoperational-status": "asome namestatus",
"descriptionmodel-customization-id": "asome descriptioncustomization",
"vendormodel-version-id": "vendor value",
"class": "a class",
"type": "a type",
"version": "version value"some version",
"systemmodel-invariant-ipid": "ipsome valueinvariant",
}
|
|