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

280
Views
0
Helpful
0
Replies
saalvare
Cisco Employee

Read sample with pretty print

Nathan writes:

Hi

Is here a sample of a read operation with something equivalent to a pretty print of the configuration that has been read?

Many thanks

Nathan

You can use the CRUD service in combination with the codec service to pprint the configuration you read.  You can find an OC-BGP example using YDK 0.5.0 (or later ) at:

oc-bgp-20-ydk.py · GitHub

Down the road, you can expect the codec service to support other encodings (e.g. JSON, GPB, YAML, etc).

0 REPLIES 0
Create
Recognize Your Peers
Content for Community-Ad