Руководство Разработчика для Cisco Cisco Virtual Topology System 2.0
VTS 2.0 Developer Guide
19
4.9.4.3 Payload example
{
“distribution-mode”: “decentralized-l2”,
“arp-suppression”: null
}
“distribution-mode”: “decentralized-l2”,
“arp-suppression”: null
}
4.9.5 Parent of a Layer 2 Gateway Group
The following APIs are used to perform CRUD operations to assign a parent
group to a layer 2 gateways group.
group to a layer 2 gateways group.
4.9.5.1 URIs
https://host:8888/api/running/cisco-vts/infrastructure-policy/admin-
domains/administrative-domain/{name}/l2-gateway-groups/l2-gateway-
group/{name2}
domains/administrative-domain/{name}/l2-gateway-groups/l2-gateway-
group/{name2}
4.9.5.2 Payload fields
Note that the fields below are mutually exclusive. That is, only one of them can
be included in a request (or response) to VTS.
Field
be included in a request (or response) to VTS.
Field
Data Type
Description
ad-l3-gw-parent
string
This L2 group's L3
gateway parent in
the current
administrative domain
gateway parent in
the current
administrative domain
l3-gw-parent
string
This L2 group's L3
gateway parent in the
infrastructure policy
hierarchy
gateway parent in the
infrastructure policy
hierarchy
l3-dc-gw-parent
string
This group's L3
datacenter gateway
parent in the
infrastructure policy
hierarchy.
datacenter gateway
parent in the
infrastructure policy
hierarchy.
4.9.5.3 Payload example
{
“ad-l3-gw-parent”: “my-l3-group”
}
“ad-l3-gw-parent”: “my-l3-group”
}
4.9.6 Layer 3 Gateway Groups in an Administrative Domain
The following APIs are used to perform CRUD operations on layer 3 gateways
groups in an administrative domain.
groups in an administrative domain.