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

Super simple apps, hostname config!

saalvare
Cisco Employee
Cisco Employee

These apps are so simple that I may make one of them the YDK "hello world" example going forward    Here's how  to manage the host name on an IOS XR device:

CRUD custom apps:

nc-create-xr-shellutil-cfg-20-ydk.py - set hostname

nc-delete-xr-shellutil-cfg-20-ydk.py - delete hostname (set default)

nc-read-xr-shellutil-cfg-20-ydk.py   - read/print hostname

nc-update-xr-shellutil-cfg-20-ydk.py - update hostname

CRUD boilerplate apps:

nc-create-xr-shellutil-cfg-10-ydk.py - create boilerplate

nc-read-xr-shellutil-cfg-10-ydk.py   - read boilerplate

nc-update-xr-shellutil-cfg-10-ydk.py - update boilerplate

nc-delete-xr-shellutil-cfg-10-ydk.py - delete boilerplate

Codec custom app:

cd-encode-xr-shellutil-cfg-20-ydk.py - hostname config

Codec boilerplate app:

cd-encode-xr-shellutil-cfg-10-ydk.py - encode boilerplate

With these apps, we just about reach 350 apps in the ydk-py-samples repository.  Enjoy!

0 Replies 0