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

Sample apps to configure ACLs using OpenConfig

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!

 

 

Everyone's tags (5)
Content for Community-Ad
June's Community Spotlight Awards