cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
160
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee

Sample apps for XR access lists using CRUD/gNMI

ydk-white-256.png

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!

Everyone's tags (7)
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.