def demonstrate(device_name, acl_name):
    ''' Apply function 'acl_delete' to the specified device/ACL.'''
    print('\nacl_delete(' + device_name, acl_name, sep=', ', end=')\n')
    acl_delete(device_name, acl_name)
def demonstrate(device_name, acl_name):
    ''' Apply function 'acl_delete' to the specified device/ACL.'''
    print('\nacl_delete(' + device_name, acl_name, sep=', ', end=')\n')
    acl_delete(device_name, acl_name)
Exemplo n.º 3
0
def delete_acls(acl_list, device_name):
    for acl in acl_list:
        acl_delete(device_name, acl.name)