The ydk-py-samples repository now has eight sample applications for static and dynamic (DNS) domain lookup. All apps use the CRUD service:
- nc-create-xr-ip-domain-cfg-20-ydk.py - static (local) hosts
- nc-create-xr-ip-domain-cfg-22-ydk.py - single domain, various servers
- nc-create-xr-ip-domain-cfg-24-ydk.py - various domains, various srvs
- nc-create-xr-ip-domain-cfg-30-ydk.py - static (local) hosts / VRF
- nc-create-xr-ip-domain-cfg-32-ydk.py - single domain, various srvs / VRF
- nc-create-xr-ip-domain-cfg-34-ydk.py - various domains, various srvs/VRF
- nc-create-xr-ip-domain-cfg-40-ydk.py - disable domain lookup
- nc-delete-xr-ip-domain-cfg-20-ydk.py - delete all domain configuration
As usual, you will also find four boilerplates that you can use as a starting point to create your own apps:
- nc-create-xr-ip-domain-cfg-10-ydk.py - create boilerplate
- nc-delete-xr-ip-domain-cfg-10-ydk.py - delete boilerplate
- nc-read-xr-ip-domain-cfg-10-ydk.py - read boilerplate
- nc-update-xr-ip-domain-cfg-10-ydk.py - update boilerplate
You can find the apps and the corresponding configuration files in XML and CLI format at:
Comments
0 comments
Please sign in to leave a comment.