350-901 · Question #18
Refer to the exhibit. The Ansible playbook is using the netconf_module to configure an interface using a YANG model. As part of this workflow, which YANG models augment the interface? name…
The correct answer is D. ietf-ip and iana-if-type. In the playbook, ietf-ip and iana-if-type are the YANG models that augment the base ietf-interfaces model for IP addressing and interface type.
Question
- name: Configure Interfaces cisco.ios.ios_interfaces: config:
- host_info xml: <config>
Exhibit
Options
- Aietf-interfaces and ietf-ip
- Biana-if-type and ietf-interfaces
- Cietf-ip and openconfig-interface
- Dietf-ip and iana-if-type
How the community answered
(54 responses)- A4% (2)
- B9% (5)
- C15% (8)
- D72% (39)
Why each option
In the playbook, ietf-ip and iana-if-type are the YANG models that augment the base ietf-interfaces model for IP addressing and interface type.
ietf-interfaces is the base model being augmented, not one of the augmenting models; listing it as an augmentor is incorrect.
iana-if-type augments interface type but ietf-interfaces is the base container, not an augmenting model in this context.
openconfig-interface does not appear anywhere in the XML namespaces shown in the playbook exhibit.
The XML payload shows the base container using the ietf-interfaces namespace, with iana-if-type referenced via its namespace to define the interface type (ianaift:ethernetCsmacd) and ietf-ip referenced via its namespace to configure the IPv4 address block. Both ietf-ip and iana-if-type are standard YANG augmentation models that extend ietf-interfaces with IP configuration and standardized interface type definitions respectively.
Concept tested: YANG model augmentation with ietf-ip and iana-if-type
Source: https://datatracker.ietf.org/doc/html/rfc8343
Topics
Community Discussion
No community discussion yet for this question.
