06-14-2018 10:34 PM
Hello
to anyone using ERS (External REST Services) to poll PAN nodes for active/standby status, you might be surprised to find that there is a change in the attribute name when polling the status of a PAN node.
I found this out (the hard way) today when my production F5 health monitor stopped working because it was looking for "isprimaryPapNode" and now it's called "primaryPapNode".
I didn't see this mentioned in any release notes and it's certainly not mentioned in the API guide.
Is there a list of changes like this that might affect other parts of ERS?
Below is the curl command
$ curl -v -X GET --cacert ./rootca.pem --cert-type DER -H 'ACCEPT: application/json' 'https://ers:supersecret@ise001.net.local:supersecret@ise001.net.local:9060/ers/config/node/name/ise001'
>>>> snipped all the TLS stuff
<<<<
< HTTP/1.1 200 OK
< Cache-Control: no-cache, no-store, must-revalidate
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Set-Cookie: JSESSIONIDSSO=2D2DA2290913DB95B70D08CFA29A12A8; Path=/; Secure; HttpOnly
< Set-Cookie: APPSESSIONID=517B8560324002F274B8976557B2BDA8; Path=/ers; Secure; HttpOnly
< Pragma: no-cache
< ETag: "F93B25BC0B71EE77D7AE682188170C01"
< Date: Fri, 15 Jun 2018 05:26:39 GMT
< Content-Type: application/json;charset=utf-8
< Content-Length: 586
< Server:
<
{
"Node" : {
"id" : "e0dd4d20-6f70-11e8-a2bb-aa6dcd1e2d9c",
"name" : "ise001",
"gateWay" : "10.0.0.254",
"displayName" : "ise001",
"inDeployment" : true,
"otherPapFqdn" : "ise002",
"ipAddresses" : [ "10.0.0.10" ],
"ipAddress" : "10.0.0.10",
"nodeServiceTypes" : "NONE",
"primaryPapNode" : true,
"papNode" : true,
"pxGridNode" : false,
"link" : {
"rel" : "self",
"href" : "https://ise001.net.local:9060/ers/config/node/name/ise001",
"type" : "application/xml"
}
}
* Connection #0 to host ise001.net.local left intact
Solved! Go to Solution.
06-16-2018 10:34 AM
Not aware of other changes.
This particular change appears due to introducing the new attribute "NodeServiceTypes".
06-16-2018 10:34 AM
Not aware of other changes.
This particular change appears due to introducing the new attribute "NodeServiceTypes".
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