<junoscript>
使用
<!-- emitted by a client application --> <junoscript version="version" [hostname="hostname"] [junos:key="key"] [release="release"]> <!-- all tag elements generated by the application during the session --> </junoscript> <!-- emitted by the Junos XML protocol server --> <junoscript xmlns="namespace-URL" xmlns:junos="namespace-URL" schemaLocation="namespace-URL" os="os" release="release" hostname="hostname" version="version"> <!-- all tag elements generated by the Junos XML protocol server during the session --> </junoscript>
描述
将 Junos XML 协议会话中的所有标记元素括起来(用作会话的根标记元素)。客户端应用程序和 Junos XML 协议服务器均会发出此标记元素,包括其内部会话期间发出的其他所有标记元素。
属性
hostname |
标记元素发起方运行的设备名称。 |
junos:key |
要求 Junos XML 协议服务器包含每个标记元素的开放标记中的属性,作为配置 |
os |
按属性命名设备的 |
release |
识别Junos OS元素发起方运行的源版本。软件模块始终设置此属性,但客户端应用程序则不需要设置。 |
schemaLocation |
XML 模式语言表示的 XML 命名空间,Junos OS层次结构。 |
version |
(客户端应用程序需要)指定用于括起标记Junos的 Junos XML 管理协议版本。 |
xmlns |
XML 命名空间,用于由标记元素包含的标记元素(其名称上没有前缀)(即,由多个 XML 标记元素Junos |
xmlns:junos |
XML 命名空间,用于由前缀为标记元素括住 |