Completed Configurations in XML for REST API

This appendix contains the following sections:

Uploading Example Files in Cisco APIC GUI

The following steps show how to upload the XML example files.


Note

Although the following steps use Tenant as an example to trigger POST, the examples in this document can be uploaded from any other location in the Cisco APIC GUI such as VRF, Access Policies etc. Whichever location you use, you must modify the parent DN to uni/.


Procedure


Step 1

Log in to your Cisco APIC GUI, and navigate to Tenants.

Step 2

In the Tenants tab, click an existing tenant name such as infra or common.

Step 3

In the left Navigation pane, below Quick Start, right-click the Tenant name, and click Post.

Step 4

In the parent DN field, change the value to uni/ by removing all additional content.

Step 5

In the File Name field, browse to the .xml file on your desktop that you wish to upload, choose it, and click Post.

The contents of the XML file is uploaded in Cisco APIC, and the configured objects are displayed in Cisco APIC GUI.
Step 6

To upload additional example files, repeat the above set of steps.


Completed Configuration Examples

Download the following XML example files and upload them in your Cisco APIC GUI. This enables you to obtain the completed configurations for each example along with some of the prerequisites.