<junoscript>
Usage
<!--when emitted by a client application--><junoscriptversion="version"[hostname="hostname"] [release="release"]><rpc><!--all tag elements generated by a client application--></rpc></junoscript>
<!--when emitted by the JUNOScript server--><junoscript version="version" hostname="hostname"os="os"release="release">
xmlns="namespace-URL" xmlns:xnm="namespace-URL"
xmlns:junos="namespace-URL"<rpc-reply><!--all tag elements generated by the JUNOScript server--></rpc-reply></junoscript>Description
Enclose all tag elements in a JUNOScript session (act as the root tag element for the session). The client application and JUNOScript server each emit this tag element, enclosing all other tag elements that they emit inside it.
Attributes
hostname—Names the machine on which the tag element's originator is running.
os—Specifies the operating system of the machine named by thehostnameattribute.
release—Identifies the software release being run by the tag element's originator. Software modules always set this attribute, but client applications do not have to.
version—(Required) Specifies the version of the JUNOScript API used for the enclosed set of tag elements.
xmlns—Names the XML namespace for the tag elements enclosed by the<junoscript>tag element that do not have a prefix on their names (that is, the default namespace for JUNOScript tag elements). The value is a URL of the formhttp://xml.juniper.net/xnm/version-code/xnm, whereversion-codeis a string such as1.1.
xmlns:junos—Names the XML namespace for the tag elements enclosed by the<junoscript>tag element that have thejunos:prefix on their names. The value is a URL of the formhttp://xml.juniper.net/junos/release-code/junos, whererelease-codeis the standard string that represents a release of the JUNOS Internet software, such as6.1R1for the initial release of version 6.1.
xmlns:xnm—Names the XML namespace for the JUNOScript tag elements enclosed by the<junoscript>tag element that have thexnm:prefix on their names. The value is a URL of the formhttp://xml.juniper.net/xnm/version-code/xnm, whereversion-codeis a string such as1.1.See Also