[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Verifying Software Compatibility
Exchanging <?xml?> and <junoscript> tag elements enables a client application and the JUNOScript server
to determine if they are running different versions of the software
used during a JUNOScript session. Different versions are sometimes
incompatible, and by JUNOScript convention the party running the later
version of software determines how to handle any incompatibility.
For fully automated performance, include code in the client application
that determines if its version of software is later than that of the
JUNOScript server. Decide which of the following options is appropriate
when the application’s version is more recent, and implement
the corresponding response:
- Ignore the version difference, and do not alter standard
behavior to accommodate the JUNOScript server’s version. A version
difference does not always imply incompatibility, so this is often
a valid response.
- Alter standard behavior to provide backward compatibility
to the JUNOScript server. If the client application is running a later
version of the JUNOS software, for example, it can choose to emit
only tag elements that represent the software features available in
the JUNOScript server’s version of the JUNOS software.
- End the JUNOScript session and terminate the connection.
This is appropriate if you decide that accommodating the JUNOScript
server’s version of software is not practical. For instructions,
see Ending a JUNOScript Session and Closing the Connection.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]