5.0 Infrastructure and Automation Flashcards
What is the purpose of a data model?
To give a description of the resources, their structure and constraints.
What do data models define, in relation to an API?
They define the syntax and semantics, including constraints of working with the API.
What are the core components of a model driven API?
Data Models, Transport, Encoding, and Protocols.
What are the main protocols used with model-driven APIs?
NETCONF, RESTCONF, and gRPC
What are the two common encoding types with model-driven APIs?
XML and JSON
What is the (3) basic purpose of NETCONF?
Transport configuration payloads to a device, targeted at a specifc datastore.
Retrieve configuration data when queried
Support notifications, often based on SNMP trap definitions
What is NETCONF transported over?
TLS and SSH
What Python client side tool, is used for NETCONF
ncclient
In regards to NETCONF, what is defined as the complete set of configuration data that is required to get a device from its initial default state into a desired operational state?
Configuration Datastore
What NETCONF datastore holds the complete configuration currently active on the network device.?
running
What NETCONF datastore holds configuration data that serves as a workplace for creating and manipulating configuration data? A operation causes the running configuration of the device to be set to this datastore.
candidate
What NETCONF datastore holds the configuration loaded by the device when it boots?
startup
What are all NETCONF operations encoded as?
XML
What language NETCONF data models described with?
YANG
Why is YANG used to describe the data models with NETCONF?
To provide a standard way to model configuration and operational data. It can be interoperable across different vendors.