ConfD User Guide 6.6
confd_user_guide-6.6
User Manual:
Open the PDF directly: View PDF
Page Count: 1026 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- ConfD User Guide
- Table of Contents
- Chapter 1. About the Documentation
- Chapter 2. An introduction to ConfD
- Chapter 3. The YANG Data Modeling Language
- 3.1. The YANG Data Modeling Language
- 3.2. YANG in ConfD
- 3.3. YANG Introduction
- 3.3.1. Modules and Submodules
- 3.3.2. Data Modeling Basics
- 3.3.3. Leaf Nodes
- 3.3.4. Leaf-list Nodes
- 3.3.5. Container Nodes
- 3.3.6. List Nodes
- 3.3.7. Example Module
- 3.3.8. State Data
- 3.3.9. Built-in Types
- 3.3.10. Derived Types (typedef)
- 3.3.11. Reusable Node Groups (grouping)
- 3.3.12. Choices
- 3.3.13. Extending Data Models (augment)
- 3.3.14. RPC Definitions
- 3.3.15. Notification Definitions
- 3.4. Working With YANG Modules
- 3.5. Integrity Constraints
- 3.6. The when statement
- 3.7. Using the Tail-f Extensions with YANG
- 3.8. Custom Help Texts and Error Messages
- 3.9. Hidden Data
- 3.10. An Example: Modeling a List of Interfaces
- 3.11. More on leafrefs
- 3.12. Using Multiple Namespaces
- 3.13. Module Names, Namespaces and Revisions
- 3.14. Hash Values and the id-value Statement
- 3.15. Migrating from Confspecs to YANG
- 3.16. The pyang tool
- Chapter 4. Rendering Agents
- Chapter 5. CDB - The ConfD XML Database
- 5.1. Introduction
- 5.2. CDB
- 5.3. An example
- 5.4. Using keypaths
- 5.5. A session
- 5.6. CDB subscriptions
- 5.7. Reconnect
- 5.8. Loading initial data into CDB
- 5.9. Automatic schema upgrades and downgrades
- 5.10. Using initialization files for upgrade
- 5.11. Using MAAPI to modify CDB during upgrade
- 5.12. More complex schema upgrades
- 5.13. The full dhcpd example
- Chapter 6. Operational Data
- 6.1. Introduction to Operational Data
- 6.2. Reading Statistics Data
- 6.3. Callpoints and Callbacks
- 6.4. Data Callbacks
- 6.5. User Sessions and ConfD Transactions
- 6.6. C Example with Operational Data
- 6.7. The Protocol and a Library Threads Discussion
- 6.8. Operational data in CDB
- 6.9. Delayed Replies
- 6.10. Caching Operational Data
- 6.11. Operational data lists without keys
- Chapter 7. The external database API
- 7.1. Introduction to external data
- 7.2. Scenario - The database is a file
- 7.3. Callpoints and callbacks
- 7.4. Data Callbacks
- 7.5. User sessions and ConfD Transactions
- 7.6. External configuration data
- 7.7. External configuration data with transactions
- 7.8. Writable operational data
- 7.9. Supporting candidate commit
- 7.10. Discussion - CDB versus external DB
- Chapter 8. Configuration Meta-Data
- Chapter 9. Semantic validation
- 9.1. Why Do We Need to Validate
- 9.2. Syntactic Validation in YANG models
- 9.3. Integrity Constraints in YANG Models
- 9.4. The YANG must Statement
- 9.5. Validation Logic
- 9.6. Validation Points
- 9.7. Validating Data in C
- 9.8. Validation Points and CDB
- 9.9. Dependencies - Why Does Validation Points Get Called
- 9.10. Configuration Policies
- Chapter 10. Transformations, Hooks, Hidden Data and Symlinks
- Chapter 11. Actions
- Chapter 12. Notifications
- 12.1. ConfD Asynchronous Events
- 12.2. Audit Messages
- 12.3. Syslog Messages
- 12.4. Commit Events
- 12.5. Commit Failure Events
- 12.6. Confirmed Commit Events
- 12.7. Commit Progress Events
- 12.8. User Sessions
- 12.9. High Availability - Cluster Events
- 12.10. Subagent Events
- 12.11. SNMP Agent Audit Log
- 12.12. Forwarding Events
- 12.13. In-service Upgrade Events
- 12.14. Heartbeat and Health Check Events
- 12.15. Notification stream Events
- Chapter 13. In-service Data Model Upgrade
- Chapter 14. The AAA infrastructure
- Chapter 15. The NETCONF Server
- 15.1. Introduction
- 15.2. Capabilities
- 15.3. NETCONF Transport Protocols
- 15.4. Configuration of the NETCONF Server
- 15.5. Extending the NETCONF Server
- 15.6. Monitoring of the NETCONF Server
- 15.7. Notification Capability
- 15.8. Using netconf-console
- 15.9. Actions Capability
- 15.10. Transactions Capability
- 15.10.1. Overview
- 15.10.2. Dependencies
- 15.10.3. Capability Identifier
- 15.10.4. New Operation: <start-transaction>
- 15.10.5. New Operation: <prepare-transaction>
- 15.10.6. New Operation: <commit-transaction>
- 15.10.7. New Operation: <abort-transaction>
- 15.10.8. Modifications to Existing Operations
- 15.10.9. XML Schema
- 15.11. Proxy Forwarding Capability
- 15.12. Inactive Capability
- 15.13. Tail-f Identification Capability
- 15.14. The Query API
- 15.15. Meta-data in Attributes
- 15.16. Namespace for Additional Error Information
- Chapter 16. The CLI agent
- 16.1. Overview
- 16.2. The J-style CLI
- 16.3. The C- and I-style CLI
- 16.4. The CLI in action
- 16.5. Environment for OS command execution
- 16.6. Command output processing
- 16.7. Range expressions
- 16.8. Autorendering of enabled/disabled
- 16.9. Actions
- 16.10. Command history
- 16.11. Clearing history
- 16.12. Command line editing
- 16.13. Using CLI completion
- 16.14. Using the comment characters # or !
- 16.15. Annotations and tags
- 16.16. Activate and Deactivate
- 16.17. CLI messages
- 16.18. confd.conf settings
- 16.19. CLI Environment
- 16.20. Commands in J-style
- 16.21. Commands in C/I-style
- 16.22. Customizing the CLI
- 16.22.1. Modifying builtin commands
- 16.22.2. Adding new commands
- 16.22.3. Suppressing automatically generated modes
- 16.22.4. Creating new configuration modes
- 16.22.5. Custom mode names
- 16.22.6. Adding custom show output
- 16.22.7. Command parameters
- 16.22.8. Hiding parts of the configuration
- 16.22.9. EXEC commands
- 16.22.10. File access
- 16.22.11. Help texts
- 16.23. User defined wizards
- 16.24. User defined wizards in C
- 16.25. User defined commands in C using the C-API
- 16.26. User defined commands as shell scripts
- 16.27. Modifying built-in commands
- 16.28. Tailoring show commands
- 16.29. Change password at initial login
- Chapter 17. The SNMP Agent
- 17.1. Introduction to the ConfD SNMP Agent
- 17.2. Agent Functional Description
- 17.2.1. Operation Overview
- 17.2.2. MIBs and YANG
- 17.2.3. Types
- 17.2.4. Generating the YANG module
- 17.2.5. Compiling the YANG modules
- 17.2.6. Compiling the MIBs
- 17.2.7. Loading MIBs
- 17.2.8. Loading YANG modules for built-in MIBs
- 17.2.9. The RowStatus column
- 17.2.10. TestAndIncr
- 17.2.11. MIB access and YANG config
- 17.2.12. Optional YANG nodes
- 17.2.13. tailf:sort-order on tables
- 17.2.14. Enumerations
- 17.2.15. Notifications
- 17.3. Generating MIBs from YANG
- 17.4. Configuring the SNMP Agent
- 17.5. How the SNMP Agent Interacts with ConfD
- 17.6. Running the SNMP Agent as a NET-SNMP subagent
- Chapter 18. Web UI Development
- Chapter 19. The JSON-RPC API
- 19.1. JSON-RPC
- 19.2. Methods - commands
- 19.3. Methods - commands - subscribe
- 19.4. Methods - data
- 19.5. Methods - data - attrs
- 19.6. Methods - data - leafs
- 19.7. Methods - data - leafref
- 19.8. Methods - data - lists
- 19.9. Methods - data - query
- 19.10. Methods - database
- 19.11. Methods - general
- 19.12. Methods - messages
- 19.13. Methods - rollbacks
- 19.14. Methods - schema
- 19.15. Methods - session
- 19.16. Methods - session data
- 19.17. Methods - transaction
- 19.18. Methods - transaction - changes
- 19.19. Methods - transaction - commit changes
- 19.20. Methods - transaction - webui
- Chapter 20. The web server
- Chapter 21. The REST API
- 21.1. Introduction
- 21.2. Getting started
- 21.3. Resource Examples
- 21.3.1. GET and Query examples
- 21.3.2. Examples using POST, PUT and PATCH
- Create a List Instance with POST
- Create a Presence Container, within a list, with POST
- Create and Replace a List Instance with PUT
- Create and Replace Presence Container with PUT
- Replace Non-Presence Container with PUT
- Update Existing List Instance with PATCH
- Update Presence Container with PATCH
- Update Non-Presence Container with PATCH
- Insert Data into Resources
- 21.3.3. Invoke Operations
- 21.3.4. Delete Data Resources
- 21.4. Resources
- 21.5. Configuration Meta-Data
- 21.6. Request/Response headers
- 21.7. Special characters
- 21.8. Error Responses
- 21.9. The Query API
- 21.10. Custom Response HTTP Headers
- 21.11. HTTP Status Codes
- Chapter 22. The RESTCONF API
- Chapter 23. The Management Agent API
- Chapter 24. High Availability
- Chapter 25. The SNMP Gateway
- Chapter 26. Subagents and Proxies
- Chapter 27. Plug-and-play scripting
- Chapter 28. Advanced Topics
- 28.1. Datastores
- 28.2. Locks
- 28.3. Installing ConfD on a target system
- 28.4. Configuring ConfD
- 28.5. Starting ConfD
- 28.6. ConfD IPC
- 28.7. Restart strategies
- 28.8. Security issues
- 28.9. Running ConfD as a non privileged user
- 28.10. Storing encrypted values in ConfD
- 28.11. Disaster management
- 28.12. Troubleshooting
- 28.13. Tuning the size of confd_hkeypath_t
- 28.14. Error Message Customization
- 28.15. Using a different version of OpenSSL
- 28.16. Using shared memory for schema information
- 28.17. Running application code inside ConfD
- ConfD man-pages, Volume 1
- ConfD man-pages, Volume 3
- ConfD man-pages, Volume 5
- Glossary