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

Sample apps for configuring LLDP using OpenConfig and gNMI

deom
Cisco Employee
Cisco Employee

Image result for ydk

 

Here are new ydk-py sample apps!

I have added the following CRUD sample apps for configuring LLDP using OpenConfig and gNMI.

 

 

gn-create-oc-lldp-10-ydk.py - create boilerplate
gn-create-oc-lldp-20-ydk.py - enable LLDP
gn-create-oc-lldp-22-ydk.py - enable LLDP with timer
gn-create-oc-lldp-24-ydk.py - enable LLDP with TLV adv
gn-delete-oc-lldp-10-ydk.py - delete boilerplate
gn-delete-oc-lldp-20-ydk.py - delete all LLDP configuration
gn-read-oc-lldp-10-ydk.py   - read boilerplate
gn-update-oc-lldp-10-ydk.py - update boilerplate

 

The entire basic level CRUD/LLDP OpenConfig and gNMI sample apps can be found in the following page:

https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/crud/gnmi/models/openconfig/openconfig-lldp

 

Make sure to compare the difference between LLDP sample apps of gNMI and NETCONF.

gNMI does not have "get schema" RPC, and thus you need to pre-populate a model repository.

 

Check it out!

 

 

 

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: