
Junos 10.3 NETCONF XML Management Protocol Guide
Copyright and Trademark Information
Table of Contents
List of Tables
About This Guide
Overview
Introduction to the NETCONF XML Management Protocol and Junos
XML API
Using NETCONF XML Management Protocol and Junos XML Tag Elements
XML and NETCONF XML Management Protocol Conventions Overview
Mapping Commands to Junos XML Tag Elements
Mapping Configuration Statements to Junos XML Tag Elements
Mapping for Hierarchy Levels and Container Statements
Mapping for Objects That Have an Identifier
Mapping for Single-Value and Fixed-Form Leaf Statements
Mapping for Leaf Statements with Multiple Values
Mapping for Multiple Options on One or More Lines
Mapping for Comments About Configuration Statements
Using the Same Configuration Tag Elements in Requests and Responses
Using the NETCONF XML Management Protocol
Controlling the NETCONF Session
Client Application’s Role in a NETCONF Session
Establishing a NETCONF Session
Exchanging Information with the NETCONF Server
Locking and Unlocking the Candidate Configuration
Terminating Another NETCONF Session
Ending a NETCONF Session and Closing the Connection
Displaying CLI Output as XML Tag Elements
Example of a NETCONF Session
Requesting Information
Overview of the Request Procedure
Requesting Operational Information
Requesting Configuration Information
Requesting Information from the Committed or Candidate Configuration
Specifying the Scope of Configuration Information to Return
Requesting the Complete Configuration
Requesting a
Hierarchy Level or Container Object Without an Identifier
Requesting All Configuration Objects of a
Specified Type
Requesting Identifiers for Configuration Objects
of a Specified Type
Requesting One Configuration Object
Requesting Specific Child Tags for a Configuration
Object
Requesting Multiple Configuration Elements
Simultaneously
Requesting an XML Schema for the Configuration Hierarchy
Requesting a Previous (Rollback) Configuration
Comparing Two Previous (Rollback) Configurations
Requesting the Rescue Configuration
Changing Configuration Information
Committing Configurations
Summary of NETCONF Tag Elements
Summary of Attributes in Junos XML Tags
Writing NETCONF Client Applications
IndexSymbols
A
- access
- protocols for NETCONF 1
- attributes
- in the rpc tag echoed in rpc-reply 1
- Junos XML tags See Index of Tag Elements and Attributes for list See names of individual attributes for usage guidelines
- NETCONF tags See Index of Tag Elements and Attributes for list See names of individual attributes for usage guidelines
- authentication
- NETCONF 1
B
C
- candidate tag (NETCONF) 1
- capabilities tag (NETCONF) 1
- usage guidelines 1
- capability tag (NETCONF) 1
- usage guidelines 1
- child tags (XML) See tags (XML)
- CLI configuration data
- in configuration statements 1
- client applications
- NETCONF See NETCONF client applications 1
- close-session tag (NETCONF) 1
- usage guidelines 1
- commands
- comments
- comments, in configuration statements 1
- commit tag (NETCONF) 1
- compare tag (Junos XML) 1
- compatibility
- between NETCONF server and application 1
- config tag (NETCONF) 1
- usage guidelines 1
- configuration
- adding comments
- Junos XML 1
- committing
- comparing with previous
- NETCONF 1
- creating
- element only if new (NETCONF) 1
- deleting
- deleting candidate 1
- discarding changes
- NETCONF 1
- displaying
- candidate or committed (NETCONF) 1
- entire (NETCONF) 1
- hierarchy level (NETCONF) 1
- identifiers (NETCONF) 1
- multiple elements at once (NETCONF) 1
- objects of specific type (NETCONF) 1
- overview (NETCONF) 1
- rescue (NETCONF) 1
- rollback (NETCONF) 1
- single object (NETCONF) 1
- specific children of object (NETCONF) 1
- XML schema for 1
- editing
- individual elements 1
- loading
- locking (NETCONF) 1
- merge data mode 1
- merging current and new (NETCONF) 1
- modifying (NETCONF) 1
- NETCONF operations on 1
- no-change data mode 1
- replace data mode 1
- replacing
- rescue
- displaying (NETCONF) 1
- rolling back to previous
- NETCONF 1
- statements See configuration statements
- unlocking (NETCONF) 1
- verifying (NETCONF) 1
- configuration data
- configuration statements
- configuration tag (Junos XML) 1
- configuration tag (NETCONF) 1
- requesting information 1
- configuration-information tag (Junos XML)
- configuration-output tag (Junos XML)
- confirm-timeout (NETCONF) 1
- confirmed tag (NETCONF) 1
- usage guidelines 1
- confirmed-timeout tag (NETCONF)
- usage guidelines 1
- conventions
- copy-config tag (NETCONF) 1
- create (NETCONF 'operation' attribute)
- usage guidelines 1
- curly braces, in configuration statements 1
- customer support 1
- contacting JTAC 1
D
- data files
- data tag (NETCONF) 1
- usage guidelines 1
- default mode for NETCONF configuration changes 1
- default-operation tag (NETCONF) 1
- delete (NETCONF 'operation' attribute)
- usage guidelines 1
- delete-config tag 1
- devices
- configuration See configuration
- discard tag (NETCONF)
- usage guidelines 1
- discard-changes tag 1
- discard-changes tag (NETCONF)
- changing configuration 1
- display xml command
- usage guidelines 1
- Document Object Model See DOM
- document type definition See DTD
- documentation
- comments on 1
- DOM 1
- DTD
E
- edit-config tag (NETCONF) 1
- usage guidelines 1
- entity references, predefined (Junos XML) 1
- error messages
- error-info tag (NETCONF) 1
- usage guidelines 1
- error-message tag (NETCONF) 1
- usage guidelines 1
- error-option tag (NETCONF)
- usage guidelines 1
- error-path tag (NETCONF) 1
- usage guidelines 1
- error-severity tag (NETCONF) 1
- usage guidelines 1
- examples, Junos XML
- mapping of configuration statement to tag
- examples, NETCONF
F
G
H
I
J
- Junos XML
- in configuration statements 1
- Junos XML API
- Junos XML tags
- compare tag 1
- configuration 1
- attributes used 1
- configuration-information tag
- configuration-output tag
- displaying CLI output as 1
- format tag 1
- get-rescue-information tag 1
- get-rollback-information tag
- get-xnm-information 1
- junos:comment tag 1
- mapping
- namespace 1
- notational conventions 1
- output tag 1
- rollback tag
- rollback-information tag
- type 1
- undocumented 1
- xsd:import 1
- xsd:schema 1
- junos.xsd file 1
- junos:changed-localtime attribute (Junos XML) 1
- usage guidelines 1
- junos:changed-seconds attribute (Junos XML) 1
- usage guidelines 1
- junos:comment tag (Junos XML) 1
- junos:commit-localtime attribute (Junos XML) 1
- usage guidelines 1
- junos:commit-seconds attribute (Junos XML) 1
- usage guidelines 1
- junos:commit-user attribute (Junos XML) 1
- usage guidelines 1
K
L
M
N
- namespace tag (Junos XML) 1
- namespaces See XML, namespaces
- NET::Netconf module
- about
- NET::Netconf module 1
- Net::Netconf module
- downloading
- Net::Netconf module 1
- NETCONF client applications
- overview 1
- NETCONF server
- NETCONF session
- NETCONF tags
- notational conventions 1
- NETCONF XML management protocol
- NETCONF XML management protocol session
- brief overview 1
- newline character in XML tag sequences 1
- no-change data mode
- configuration changes 1
- no-change mode (NETCONF) 1
- notice icons defined 1
O
P
R
- replace (NETCONF 'operation' attribute)
- usage guidelines 1
- replace data mode
- configuration changes 1
- request tags (XML) See tags (XML)
- rescue configuration
- displaying (NETCONF) 1
- response tags (XML) See tags (XML)
- rollback tag (Junos XML)
- rollback-information tag (Junos XML)
- rpc tag (NETCONF) 1
- usage guidelines 1
- rpc-error tag (NETCONF) 1, 2
- usage guidelines 1
- rpc-reply tag
- NETCONF
- usage guidelines 1
- rpc-reply tag (NETCONF) 1
- running tag (NETCONF)
S
- SAX 1
- schema See XML schema
- security
- NETCONF session 1
- session See NETCONF XML management protocol session
- session-id tag (NETCONF)
- Simple API for XML See SAX
- software versions
- compatibility between NETCONF client and server 1
- source tag (NETCONF)
- space character in XML tag sequences 1
- SSH service
- streaming data
- support, technical See technical support
- syntax conventions 1
T
U
V
W
X
Symbols
- ]]>]]> character sequence (NETCONF) 1
B
- bad-element tag (NETCONF) 1
C
D
E
F
- filter tag (NETCONF)
- requesting information 1
G
- get-config tag (NETCONF) 1
H
- hello tag (NETCONF) 1
K
- kill-session tag (NETCONF) 1
L
- lock tag (NETCONF) 1
O
- ok tag (NETCONF) 1
R
S
T
U
V
- validate tag (NETCONF) 1