address update
This commit is contained in:
parent
cd205b5e1d
commit
bb1b4fd49e
@ -7,7 +7,7 @@ headers = {
|
||||
'Authorization': 'Bearer {}'.format(token)
|
||||
}
|
||||
|
||||
url1 = "https://10.52.90.90:8443/nfm-p/rest/api/v1/managedobjects/searchWithFilter"
|
||||
url1 = "https://10.52.90.110:8443/nfm-p/rest/api/v1/managedobjects/searchWithFilter"
|
||||
payload1 = json.dumps({
|
||||
"fullClassName": "equipment.PhysicalPort",
|
||||
"filterExpression": "siteId = '10.172.172.172' AND portName='1/1/1'",
|
||||
@ -18,4 +18,4 @@ payload1 = json.dumps({
|
||||
})
|
||||
response = requests.request("POST", url1, headers=headers, data=payload1, verify=False)
|
||||
print(response.json()[0]['objectFullName'])
|
||||
print(response.json()[0]['description'])
|
||||
print(response.json()[0]['description'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user