08-09-2019 07:49 AM
Hi there,I have added new sample applications which configure access lists for XR data model using the CRUD service and the gNMI provider.
These sample applications consist of four boilerplate applications and ten custom applications as follows:
gn-create-xr-ipv4-acl-cfg-10-ydk.py - Create boilerplate gn-create-xr-ipv4-acl-cfg-20-ydk.py - Set log-update rate gn-create-xr-ipv4-acl-cfg-22-ydk.py - Set log-update rate & threshold gn-create-xr-ipv4-acl-cfg-30-ydk.py - Allow one host gn-create-xr-ipv4-acl-cfg-32-ydk.py - Allow multiple hosts gn-create-xr-ipv4-acl-cfg-34-ydk.py - Log access attempts gn-create-xr-ipv4-acl-cfg-80-ydk.py - Allow single prefix gn-create-xr-ipv4-acl-cfg-82-ydk.py - Allow multiple prefixes gn-create-xr-ipv4-acl-cfg-84-ydk.py - Block a prefix gn-create-xr-ipv4-acl-cfg-86-ydk.py - Allow prefix ranges gn-delete-xr-ipv4-acl-cfg-10-ydk.py - Delete boilerplate gn-delete-xr-ipv4-acl-cfg-20-ydk.py - Delete all access list entries gn-read-xr-ipv4-acl-cfg-10-ydk.py - Read boilerplate gn-update-xr-ipv4-acl-cfg-10-ydk.py - Update boilerplate
You can find the python files, the JSON files, and the CLI config files for this set of applications in the following CiscoDevNet Github repository:
https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-ipv4-acl-cfg
Give it a try!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Log in to Community