03-01-2018 10:14 AM - edited 06-04-2019 02:37 AM
Hi guys,
sandboxapicdc.cisco.com is down. Have you any information ?
Thanks
10-25-2018 05:44 PM
Any idea when this is coming back up?
03-22-2018 02:54 PM
Hi I am using lab1-1-post-ticket from the devnet learning labs to generate a ticket on an APIC and when I run it on my laptop I get the following error: Any ideas on what the issue is? The code is below.
C:\Python27>python lab1-1-post-ticket.py
('Request Status: ', 400)
('\nRaw response from POST ticket request:\n', u'{"totalCount":"1","imdata":[{"e
rror":{"attributes":{"code":"6","text":"Output format was not specified (possibl
e options: .xml|.json)"}}}]}')
('\nPretty print response:\n', '{\n "imdata": [\n {\n "erro
r": {\n "attributes": {\n "text": "Output form
at was not specified (possible options: .xml|.json)", \n "cod
e": "6"\n }\n }\n }\n ], \n "totalCount":
"1"\n}')
import requests # Use Python "requests" module to do HTTP GET query
import json # Import JSON encoder and decode module
requests.packages.urllib3.disable_warnings() # Disable warnings
# APIC-EM IP, modify these parameters if you are using your APIC-EM
apicem_ip = "x.x.x.x"
username = "admin"
password = "********"
version = "v1"
# JSONhttps://sandboxapic.cisco.com/ input
r_json = {
"username": username,
"password": password
}
# POST ticket API URL
post_url = "https://"+apicem_ip+"/api/"+version+"/ticket"
# All APIC-EM REST API request and response content type is JSON.
headers = {'content-type': 'application/json'}
# Make request and get response - "resp" is the response of this request
resp = requests.post(post_url, json.dumps(r_json), headers=headers,verify=False)
print ("Request Status: ",resp.status_code)
# Get the json-encoded content from response
response_json = resp.json()
print ("\nRaw response from POST ticket request:\n",resp.text)
# Not that easy to read the raw response, so try the formatted print out
# Pretty print the raw response
print ("\nPretty print response:\n",json.dumps(response_json,indent=4))
03-23-2018 03:43 AM
hello.
If using APIC AO sandbox you need to replace the following with the sandboxapicdc.cisco.com URL:
# JSONhttps://sandboxapic.cisco.com/ input <<< Needs to be replaced
r_json = {
"username": username,
"password": password
03-19-2023 01:13 AM
https://sandboxapicdc.cisco.com
Since long its not Solved. though DNA Center and SDWAN Sandbox is working fine.
03-20-2023 03:35 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide