YANG Flashcards

1
Q

What is YANG

A

YANG is a language for describing data models. Although it can describe any data model, it was originally designed for networking data models.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are aspects of YANG?

A

-Every data model is a module, a self-contained top-level hierarchy of nodes.

  • Data types can be imported from another YANG module or defined within a module.
  • It uses containers to group related nodes.
  • It uses lists to identify nodes that are stored in sequence.
  • A leaf represents each individual attribute of a node.
  • Every leaf must have an associated type.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How is an individual data model called?

A

YANG Module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are device data models?

A
  • YANG Language
  • Clear text
  • XML
  • JSON
  • HTML or Javascript
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a helpfull tool for YANG language?

A

PYANG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is a module structured?

A
  1. Containers
  2. Within each container you have list(s)

Every leaf has attributes like: RO/RW, ?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you receive YANG data with netconf?

A

With XML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How you can you receive YANG data with restconf?

A

With JSON

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is perfect with YANG

A

It is an open standard but vendors can create explicated augment or deviate from the standard with additional data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly