cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
426
Views
0
Helpful
0
Replies

Sample apps for XR locale configuration using CRUD/gNMI

deom
Cisco Employee
Cisco Employee

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!

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: