End of Life Products and Features - access_control.list
Description
Fetch a list of all the networking access rules on the gateway. The 0.0.0.0 and LOCAL rules are configured by default and cannot be deleted, though they can be unrestricted.
Arguments
None.
Example Requests & Responses
Example One
Request
Fetch a list of all the networking access rules on the gateway.
{
'method' => 'access_control.list',
'parameters' => { }
} |
Response
'access_control' => {
'rules' => [
{
'admin_web' => '1',
'network' => '0.0.0.0',
'object_type' => 'access_control',
'name' => '0.0.0.0',
'object_id' => '35',
'object_name' => '0.0.0.0',
'sip' => '1'
},
{
'admin_web' => '1',
'network' => 'LOCAL-eth1',
'object_type' => 'access_control',
'name' => 'LOCAL-eth1',
'object_id' => '36',
'object_name' => 'LOCAL-eth1',
'sip' => '1'
},
{
'admin_web' => '1',
'network' => 'LOCAL-eth2',
'object_type' => 'access_control',
'name' => 'LOCAL-eth2',
'object_id' => '57',
'object_name' => 'LOCAL-eth2',
'sip' => '1'
},
{
'admin_web' => '1',
'network' => 'LOCAL-eth1vlan1',
'object_type' => 'access_control',
'name' => 'LOCAL-eth1vlan1',
'object_id' => '58',
'object_name' => 'LOCAL-eth1vlan1',
'sip' => '1'
},
{
'admin_web' => '1',
'network' => 'LOCAL-eth1vlan2',
'object_type' => 'access_control',
'name' => 'LOCAL-eth1vlan2',
'object_id' => '59',
'object_name' => 'LOCAL-eth1vlan2',
'sip' => '1'
},
{
'admin_web' => '1',
'network' => 'LOCAL-eth2vlan1',
'object_type' => 'access_control',
'name' => 'LOCAL-eth2vlan1',
'object_id' => '60',
'object_name' => 'LOCAL-eth2vlan1',
'sip' => '1'
},
{
'admin_web' => '1',
'network' => 'LOCAL-eth2vlan2',
'object_type' => 'access_control',
'name' => 'LOCAL-eth2vlan2',
'object_id' => '61',
'object_name' => 'LOCAL-eth2vlan2',
'sip' => '1'
}
],
}
}; |
Related content
End of Life Products and Features - access_control.save
End of Life Products and Features - access_control.save
More like this
End of Life Products and Features - access_control.delete
End of Life Products and Features - access_control.delete
More like this
End of Life Products and Features - gateway.list
End of Life Products and Features - gateway.list
More like this
End of Life Products and Features - connection_status.list
End of Life Products and Features - connection_status.list
More like this
End of Life Products and Features - advanced_debugging.list
End of Life Products and Features - advanced_debugging.list
More like this
End of Life Products and Features - ip_configuration.list
End of Life Products and Features - ip_configuration.list
More like this