You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: labs/coding-102-rest-python-ga/1.md
+17-12Lines changed: 17 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Completion Time: 35 minutes
18
18
19
19
**Access to an APIC-EM Controller**
20
20
* To run these code samples, you will need access to an APIC-EM controller.
21
-
***If you are not using your own APIC-EM Controller**, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: [(https://devnetapi.cisco.com/sandbox/apic_em)](https://devnetapi.cisco.com/sandbox/apic_em)).
21
+
***If you are not using your own APIC-EM Controller**, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: ![https://devnetapi.cisco.com/sandbox/apic_em]().
22
22
23
23
**Python**
24
24
* To run the code samples, you need to have Python 3 installed on your machine.
We are going to use the APIC-EM API as an example of a REST API in this lab. So before we begin, we need to locate the APIC-EM API Reference on DevNet.
56
+
## Step 1. Find the APIC-EM API Resources
58
57
59
-
1. In the browser navigate to <ahref="https://developer.cisco.com"target="_blank">DevNet</a>
60
-
* If you have not yet created a DevNet userid click "Register" and follow the instructions.
61
-
* After registering with DevNet, use your user id to login.<br/><br/>
* If you do not have a Cisco Connection Online ID (CCO ID) click the **Register Now** button and follow the instructions. When done return to the Log In web page and enter your credentials.
66
+
<br/><br/>
67
+
2. Use the menu at the top to navigate directly to the APIC-EM developer resources.
68
+
* Click on the **Technologies** link to access the Technology menu. Inside the menu click on **Networking** followed by **APIC-EM**<br/>
2. Assign the APIC-EM Controller IP address or DNS to the **controller** variable.
130
130
* Open the file **build-topology.py**. For example, in Windows type: **notepad build-topology.py**
131
-
**If you are not using your own APIC-EM Controller*, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: [sandboxapic.cisco.com](https://sandboxapic.cisco.com)
131
+
**If you are not using your own APIC-EM Controller*, use the [DevNet Sandbox](https://developer.cisco.com/site/devnet/sandbox/) Always-On APIC-EM Lab: ![https://sandboxapic.cisco.com]()
132
132
* controller='sandboxapic.cisco.com'
133
133
3. Save the file. If encoding type is an option select **UTF-8**.
134
134
4. Type the python command and then the filename at the command prompt, and press the return key.
We are going to use the APIC-EM API as an example of a REST API in this lab. So before we begin, we need to locate the APIC-EM API Reference on DevNet.
56
+
We are going to use the APIC-EM API as an example of a REST API in this lab. So before we begin, we need to locate the APIC-EM resources on DevNet.
56
57
57
58
1. In the browser navigate to <ahref="https://developer.cisco.com"target="_blank">DevNet</a>
58
-
* If you have not yet created a DevNet userid click "Register" and follow the instructions.
59
-
* After registering with DevNet, use your user id to login.<br/><br/>
3. You will also want to open the [API reference doc](https://anypoint.mulesoft.com/apiplatform/cisco-dev/#/portals/organizations/de91ddd1-9fb8-4731-8bce-03f47c3ba41a/apis/56056/versions/58124/pages/75870) in a separate tab while you are working on this lab.<br/><br/>
* If you do not have a Cisco Connection Online ID (CCO ID) click the **Register Now** button and follow the instructions. When done return to the Log In web page and enter your credentials.
64
+
<br/><br/>
65
+
2. Use the menu at the top to navigate directly to the APIC-EM developer resources.
66
+
* Click on the **Technologies** link to access the Technology menu. Inside the menu click on **Networking** followed by **APIC-EM**<br/>
0 commit comments