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).