Recently we published a set of sample apps IPv6 static routing. This new set complements those with some IPv4 examples:
https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/ydk/models/ip
- nc-create-config-ip-static-20-ydk.py - route to next-hop address
- nc-create-config-ip-static-22-ydk.py - route to Null0
- nc-create-config-ip-static-24-ydk.py - route with attributes
- nc-delete-config-ip-static-20-ydk.py - delete IPv4 static routes
Don't forget to take a look at the README file for basic apps. It explains how apps are named and how to run them.
https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic
Happy coding!
Comments
0 comments
Please sign in to leave a comment.