Specifications
B-6
Cisco NAC Appliance - Clean Access Manager Configuration Guide
OL-28003-01
Appendix B API Support
Device Filter Operations
addsubnet
The addsubnet function adds a subnet to the Devices list.
Required In Parameters:
• op: addsubnet
• subnet: Supported formats a.b.c.d for subnet address. e.g.: subnet=10.210.0.0
• mask: Mask in CIDR format. e.g.: mask=16.
Optional In Parameters:
• type: One of the Strings [deny, allow, userole]. Default is deny.
• role: Specify role name. Default is unauthenticated. Required if type is userole.
• desc: Any description string.
• ssip: Default is global. Provide the IP address used for configuring Clean Access Server to Clean
Access Manager.
Out Parameters:
Comment of form <!--error=mesg--> is returned. If mesg value is 0 then operation is success or else there
will be an error string.
updatesubnet
The updatesubnet function updates a Subnet entry in Devices list.
Required In Parameters:
• op: updatesubnet
• subnet: Supported formats a.b.c.d for subnet address. e.g.: subnet=10.210.0.0
• mask: Mask in CIDR format. e.g.: mask=16.
Optional In Parameters:
• type: One of the Strings [deny, allow, userole]. Default is deny.
• role: Specify role name. Default is unauthenticated. Required if type is userole.
• desc: Any description string.
• ssip: Default is global. Provide the IP address used for configuring Clean Access Server to Clean
Access Manager.
Out Parameters:
Comment of form <!--error=mesg--> is returned. If mesg value is 0 then operation is success or else there
will be an error string.
removesubnet
The removesubnet function removes a subnet entry from the Devices list.
Required In Parameters:
• op: removesubnet
• subnet: Supported formats a.b.c.d for subnet address (e.g. subnet=10.210.0.0)