Hello,
I have added sample applications to configure VRFs for XR data model using the CRUD service and the gNMI provider.
This set includes four boilerplate applications and thee custom applications as follows:
gn-create-xr-infra-rsi-cfg-10-ydk.py - create boilerplate
gn-create-xr-infra-rsi-cfg-20-ydk.py - IPv4 VRF
gn-create-xr-infra-rsi-cfg-21-ydk.py - IPv6 VRF
gn-delete-xr-infra-rsi-cfg-10-ydk.py - delete boilerplate
gn-delete-xr-infra-rsi-cfg-20-ydk.py - delete all VRF configuration
gn-read-xr-infra-rsi-cfg-10-ydk.py - read boilerplate
gn-update-xr-infra-rsi-cfg-10-ydk.py - update boilerplate
Please visit the following link to get a full shot of all the python files, CLI files, and JSON files:
https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-infra-rsi-cfg
Give it a try :D