Augmenting%20YANG%20Groupings - PowerPoint PPT Presentation

About This Presentation
Title:

Augmenting%20YANG%20Groupings

Description:

Bernd Linowski bernd.linowski_at_nsn.com. Augmentable Groupings for YANG. Use Case: ... Makes augmentable groupings consistent with augmenting a list, container, etc. ... – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 4
Provided by: lino7
Learn more at: https://www.ietf.org
Category:

less

Transcript and Presenter's Notes

Title: Augmenting%20YANG%20Groupings


1
  • Augmenting YANG Groupings
  • Balazs Lengyel balazs.lengyel_at_ericsson.com
  • Bernd Linowski bernd.linowski_at_nsn.com

2
Augmentable Groupings for YANG
draft-ietf-ipfix-configuration-model-00.txt
  • Use Case
  • Adding missing parts to a grouping for reuse in
    multiple places
  • Avoid augmenting all uses individually
  • less overhead
  • less error-prone
  • IPFIX Example Enhancing grouping
    InformationElement

grouping InformationElement description
"Parameters of an
Information Element." leaf
ieEnterpriseNumber // // list field
// uses InformationElement
// list optionField // uses
InformationElement
augment /ipfix-psampInformationElement
leaf ext
2
3
Potential Issues
  • Augmenting a grouping affects all modules the
    grouping is used
  • This is the desired feature!
  • Augmented elements should be in the namespace of
    the augment statement
  • Makes augmentable groupings consistent with
    augmenting a list, container, etc.
  • Avoids name clashes
  • Dealing with augmented elements in other
    namespaces is a well known side-effect, e.g.
    augmenting of a list

3
Write a Comment
User Comments (0)
About PowerShow.com