Versions Compared

Key

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

...

2. SO ↔ CPS


3. SO ↔ SDNC


4. SO ↔ AAI

API Used:

To Fetch PNF's:

https://<ip-address>:<port>/aai/v23/network/pnfs

Response from AAI:


JSON Viewer
modeText
{
	"pnf": [{
		"pnf-name": "networkId-providerId-10-clientId-0-topologyId-2-nodeId-10.1.1.3",
		"pnf-id": "10.1.1.3",
		"in-maint": true,
		"spare-equipment-indicator": false,
		"resource-version": "1642530553170",
		"admin-status": "up",
		"operational-status": "up",
		"relationship-list": {
			"relationship": [{
				"related-to": "esr-thirdparty-sdnc",
				"relationship-label": "org.onap.relationships.inventory.AppliesTo",
				"related-link": "/aai/v23/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/7cfa0c7c-0181-4181-8f3b-1edf20a0f47b",
				"relationship-data": [{
					"relationship-key": "esr-thirdparty-sdnc.thirdparty-sdnc-id",
					"relationship-value": "7cfa0c7c-0181-4181-8f3b-1edf20a0f47b"
				}]
			}, {
				"related-to": "network-resource",
				"relationship-label": "tosca.relationships.network.LinksTo",
				"related-link": "/aai/v23/network/network-resources/network-resource/providerId-10-clientId-0-topologyId-2",
				"relationship-data": [{
					"relationship-key": "network-resource.network-id",
					"relationship-value": "providerId-10-clientId-0-topologyId-2"
				}],
				"related-to-property": [{
					"property-key": "network-resource.network-id",
					"property-value": "providerId-10-clientId-0-topologyId-2"
				}]
			}]
		}
	}

To Fetch p-interface from AAI:

https://<ip-address>:<port>/aai/v23/network/pnfs/pnf/networkId-providerId-10-clientId-0-topologyId-2-nodeId-10.1.1.3/p-interfaces

Response from AAI:


JSON Viewer
modeText
{
	"p-interface": [{
		"interface-name": "networkId-providerId-10-clientId-0-topologyId-2-nodeId-10.1.1.3-ltpId-512",
		"speed-value": "10000000",
		"resource-version": "1642530553011",
		"in-maint": true,
		"operational-status": "up"
	}, {
		"interface-name": "networkId-providerId-10-clientId-0-topologyId-2-nodeId-10.1.1.3-ltpId-1000001",
		"speed-value": "10000000",
		"resource-version": "1642530553011",
		"in-maint": true,
		"operational-status": "up"
	}]
}
  • The interface name of the fetched p-interface will be the nextHopInfo of the endpoints.

AN endpoint - logicInterfaceID:

...