Question 86 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question 86 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question

— name: Configure Interfaces
with_items: “{{interfaces}}”
netconf_config:
host: 10.0.0.1
xml: |
<config>
<interfaces xmlns="urn: ietf:params:xml:ns:yang:ietf-interefaces”>
<interface>
<name>{ {item.interface_type}}{{item.interface_id}}</name>
<description>{{item.description}}</description>

<type xmlns:ianaift="urn: ietf:params:xml:ns:yang: iana-if-type”>ianai ft :ethernetCsmacd</type>
<enabled>true</enabled>
<ipv4 xmlns="urn: ietf:params:xml:ns:yang:ietf-ip”>

<address>

<ip>{{item.ip address} }</ip>
<netmask>{ {item.subnet_mask}}</netmask>
</address> ~
</ipv4>
</interface>
</interfaces>
</config>

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?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.