ETExamTower
Q54Using APIsMultiple answers

Refer to the exhibit. This script uses ciscoyang to configure two VRF instances on a Cisco IOS-XR device by using the Yang NETCONF type. Which two words are required to complete the script? (Choose two.)

Question exhibit
Select 2 answers.
← → navigate · a answer
Community votes
C
50% (4)
D
50% (4)
A
0% (0)
B
0% (0)
E
0% (0)
Discussion · 5
21
https://developer.cisco.com/codeexchange/github/repo/cisco/cisco-yang-puppet-module/ mode => replace, force => false,
4
I agree with this answer.
C, D 1
Selected Answer: CD The sample manifest below configures IOS-XR using YANG models in XML format via NETCONF: node 'default' { cisco_yang_netconf { 'my-config': target => '<vrfs xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg"/>', source => '<vrfs xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg"> <vrf> <vrf-name>INTERNET</vrf-name> <create/> <description>Generic external traffic</description> <vpn-id> <vpn-oui>875</vpn-oui> <vpn-index>22</vpn-index> </vpn-id> </vrf> </vrfs>', mode => replace, force => false, } }
C, D 1
Selected Answer: CD The mode option can be 'replace or merge' The force option can be 'true or false' It depends on the question and, in this one, it depends on the answers (there is no true or merge to fill up). So the only answers could be 'false and replace'. https://forge.puppet.com/modules/ciscoeng/ciscoyang
C, D 1
Selected Answer: CD Right answer: C & D Replace False https://developer.cisco.com/codeexchange/github/repo/cisco/cisco-yang-puppet-module/ mode => replace, force => false,