Supported Platforms
xnm:warning (Junos XML)
Usage
<xnm:warning xmlns="namespace-URL" xmlns:xnm="namespace-URL">
<source-daemon>module-name</source-daemon>
<filename>filename</filename>
<line-number>line-number</line-number>
<column>column-number</column>
<token>input-token-id</token>
<edit-path>edit-path-name</edit-path>
<statement>statement-name</statement>
<message>error-string</message>
<reason>reason-string</reason>
</xnm:warning>
Release Information
Statement introduced in Junos OS Release 7.4.
Description
Indicate that the commit script has encountered a problem with the configuration. The child tag elements described in the Contents section detail the nature of the warning.
Attributes
xmlns | — | Names the XML namespace for the contents of the tag element. The value is a URL of the form http://xml.juniper.net/xnm/version/xnm, where version is a string such as 1.1. |
xmlns:xnm | — | Names the XML namespace for child tag elements that have the xnm: prefix on their names. The value is a URL of the form http://xml.juniper.net/xnm/version/xnm, where version is a string such as 1.1. |
<column> | — | Identifies the element that caused the warning by specifying its position as the number of characters after the first character in the line specified by the <line-number> tag element in the configuration file that was being loaded (which is named in the <filename> tag element). |
<edit-path> | — | Specifies the CLI configuration mode edit path in effect when the problem occurred (provided only during loading of a configuration file). |
<filename> | — | Names the configuration file that was being loaded. |
<line-number> | — | Specifies the line number where the problem occurred in the configuration file that was being loaded, which is named by the <filename> tag element. |
<message> | — | Describes the warning in a natural-language text string. |
<reason> | — | Describes the reason for the warning. |
<source-daemon> | — | Names the Junos OS module that was processing the request in which the problem occurred. |
<statement> | — | Names the configuration statement in effect when the problem occurred. |
<token> | — | Names which element in the request caused the warning. |
Usage Guidelines
See Generating a Custom Warning, Error, or System Log Message