cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
570
Views
0
Helpful
0
Replies

Sample apps to configure ACLs using OpenConfig

deom
Cisco Employee
Cisco Employee

Related image

 

Hellow YDK Folks,

 

To give you more chances to get used to Yang Development Kit and its operation,

I just brought a new set of sample apps to configure access control lists (ACL) using OpenConfig and NETCONF.

 

ACL allows you to configure the states of access rules, filters and other access controlling functions in the network.

 

nc-create-oc-acl-10-ydk.py - create boilerplate
nc-create-oc-acl-30-ydk.py - allow one host
nc-create-oc-acl-32-ydk.py - allow multiple hosts
nc-create-oc-acl-34-ydk.py - multiple hosts w/ codepoint
nc-delete-oc-acl-10-ydk.py - delete boilerplate
nc-delete-oc-acl-20-ydk.py - delete all access lists
nc-read-oc-acl-10-ydk.py   - read boilerplate
nc-update-oc-acl-10-ydk.py - update boilerplate

 

You can find the related XML and CLI configuration files in the following Github rink: 

https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/crud/models/openconfig/openconfig-acl

 

Have fun with it!

 

 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: