-
Sub-task
-
Resolution: Done
-
Medium
-
None
-
None
- supports the Create Network AAI (network_id, data)
- data = {
"network-id": self.vl_inst_id,
"network-name": self.vl_inst_id,
"is-bound-to-vpn": False,
"is-provider-network": True,
"is-shared-network": True,
"is-external-network": True,
"relationship-list": {
"relationship": [
Unknown macro: { "related-to"}]
}
}
- data = {
-
- resource = network/l3-networks/l3-network/{network_id}
- call AAI (resource, "PUT", data)
- supports the Delete Network AAI (network_id, resource_version="")
- resource = network/l3-networks/l3-network/{network_id}
- if resource_version is not empty, resource_version = resource + "?resource-version={resource_version}
- call AAI (resource, "DELETE")
- supports the Query Network AAI (network_id)
- resource = network/l3-networks/l3-network/{network_id}
- call AAI (resource, "GET")
- supports the Create subnet AAI (network_id, subnet_id, data)
- resource = /network/l3-networks/l3-network/{network_id}/subnets/subnet/{subnet_id}
-
- data = {
"subnets":Unknown macro: { "subnet"},
}
- data = {
-
- call AAI (resource, "PUT", data)
- supports the Query subnet AAI (network_id, subnet_id)
- resource = /network/l3-networks/l3-network/{network_id}/subnets/subnet/{subnet_id}
- call AAI (resource, "GET")
- supports the Delete subnet AAI (network_id, subnet_id, resource_version = "")
- resource = /network/l3-networks/l3-network/{network_id}/subnets/subnet/{subnet_id}
- if resource_version is not empty, resource_version = resource + "?resource-version={resource_version}
- call AAI (resource, "DELETE")