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>
Description
Indicate that the commit script has encountered a problem with the configuration and pass a warning message to the Junos OS CLI or Junos XML protocol client application. 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 |
xmlns:xnm |
Names the XML namespace for child tag elements that
have the |
Contents
<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 |
<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 |
<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 Generate a Custom Warning, Error, or System Log Message in Commit Scripts
Release Information
Statement introduced in Junos OS Release 7.4.