This function returns a string containing XML representing the values of ifNumber, ifTableLastChange, ifStackLastChange. You can use XML to track device changes and to rediscover interfaces on a device, when needed.
Syntax
This function has the following format:
String storePortReconfig ( Integer ifNumber, Long ifTableLastChange, Long ifStackLastChange )
Parameters
The number of ports on the device.
The date and time of the latest port table change in milliseconds, calculated from a start date and time of January 1, 1970 GMT.
The date and time of the latest port stack change in milliseconds, calculated from a start date and time of January 1, 1970 GMT.
Return Values
Returns a string containing XML in the form that is shown in the following example.
Example
The following expression produces the following result for an ifNumber of 5, ifTableLastChange of 123456, and ifStackLastChange of 234567:
Expression:
storePortReconfig ( ifNumber, ifTableLastChange, ifStackLastChange )
Result:
<ReconfigData>
<ReconfigValue name="ifNumber" value="5"/>
<ReconfigValue name="ifTableLastChange" value="123456"/>
<ReconfigValue name="ifStackLastChange" value="234567"/>
</ReconfigData>
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|