cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

138
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee

Sample apps for XR locale configuration using CRUD/gNMI

Related image

Hi Community,

In the last post, I brought out CRUD/gNMI sample applications configuring time zone.

This time, I would like to introduce sample applications which configure locale and language for XR data model using the gNMI provider and the CRUD service.

These sample applications includes four boilerplate apps and seven custom apps:

gn-create-xr-infra-infra-locale-cfg-10-ydk.py - create boilerplate
gn-create-xr-infra-infra-locale-cfg-20-ydk.py - en_US
gn-create-xr-infra-infra-locale-cfg-22-ydk.py - zh_CN
gn-create-xr-infra-infra-locale-cfg-24-ydk.py - de_DE
gn-create-xr-infra-infra-locale-cfg-26-ydk.py - pt_BR
gn-create-xr-infra-infra-locale-cfg-28-ydk.py - en_NG
gn-delete-xr-infra-infra-locale-cfg-10-ydk.py - delete boilerplate
gn-delete-xr-infra-infra-locale-cfg-20-ydk.py - delete all locale config
gn-read-xr-infra-infra-locale-cfg-10-ydk.py   - read boilerplate
gn-read-xr-infra-infra-locale-cfg-20-ydk.py   - read/format/print locale
gn-update-xr-infra-infra-locale-cfg-10-ydk.py - update boilerplate

 If you want to see the configuration in JSON format or in CLI, please find them in the following directory in the YDK-py samples Github repository: https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-infra-infra-locale-cfg 

 

Please give it a try!

Everyone's tags (6)
Content for Community-Ad
FusionCharts will render here