Versions Compared

Key

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

...

Code Block
titleTopology Service Response
linenumberstrue
collapsetrue
{
	"topologyResponse": {
		"id": "<uuid>",
		"commonData":
		[{
				"name": "requestType",
				"value": "VNF Config Update"
			}, {
				"name": "policies",
				"value": ["vertical", "localMaintenanceWindow"]
			}
		],
		"elements":
		[{
				"elementId": "nodeid1",
				"lat": 32.000,
				"lon": -71.0000,
			"requiredElements": ["pserverid1"],
			"constraintElements": [{
					"elementId": "nodeid1",
					"constraintType": "backupElement",
					"constraintTypeMinimum": 1,
					"optimizerAvailabilityMatrixName": "",
					"availabilityMatrixScope": "NONE",
					"elementAvailabilityAggreagation": true,
					"elements": [
						"nodeid1backup"
					]
				}
			]
			"elementData":
			[{
					"name": "ticketManagementId",
					"value": "33333-333a-dsfa-dsfadsfadsfdsfdasfdaf"
				}, {
					"name": "id",
					"value": "33333333adsfadsfadsfadsfdsfdasfdaf"
				}
			]
		}
	]
	"referencedElements":
	[{
			"elementId": "pserverid1",
			"lat": 32.000,
			"requiredElementslon": ["pserverid1"]-71.0000,
				"failoverElementsreferencingElements": ["nodeid1"],
				"elementData":
				[{
						"name": "ticketManagementId",
						"value": "33333-333a-dsfa-dsfadsfadsfdsfdasfdaf"
					}, {
						"name": "id",
						"value": "33333333adsfadsfadsfadsfdsfdasfdaf33333333adsfa"
					}
				]
			}, {
				"elementId": "pserverid1nodeid1backup",
				"lat": 3244.000,
				"lon": -71.0000,
				"relatedElementsreferencingElements": ["nodeid1"],
				"elementData":
				[{
						"name": "ticketManagementId",
						"value": "33333-333a-dsfadsfadsfadsfdsbackup"
					}, {
						"name": "id",
						"value": "33333333adsfa33333333adsfadsfadsfadsbackup"
					}
				]
			},
		]
	}
}


This represents a response from the Topology Service Note the following attributes

  • lat/lon - This is required for determining the time zone that the elements are serving - may be functionally replaced by timezone if available (TBD)
  • requiredElements - these elements are required to be available in order to accomplish the requested change
  • failoverElements constraintElements - these represent elements that must be available to avoid a network outage during the requested change
  • relatedElements referencedElements - appearing on new elements returned by the topology server. The relatedElements id will appear in either requiredElements or failoverElements fo the elements to be changed.

...