= Datapath Control Services = [[TOC(WiMAX/17*, depth=2, heading=WiMAX RF Aggregate Manager)]] == datapath/config/list - Displays list of ACL (Access control list) profiles == {{{ This service list all datapath client configurations from database. }}} == datapath/config/load - Loads an ACL profile from database == {{{ This service loads datapath client configuration from database. Name of client's status. }}} == datapath/config/save - Saves current ACL as a profile in database == {{{ This service saves current datapath client configuration database. Vlan number. Name of status. }}} == datapath/config/delete - Removes ACL profile from database == {{{ This service deletes saved datapath client configuration from database. Name of configuration. }}} == datapath/config/show - Displays content of an ACL profile == {{{ Show named datapath client configuration from database. Name of saved status. }}} == datapath/clients/add - Adds client MAC address to ACL == Add client with given MAC address to the list of authorized clients and specify the slice to which it belongs. Optionally provide IP address. Depending on the policy setting in the configuration, unauthorized clients will be refused access. {{{ Add client with specified MAC address to BS access list IP address for the client MAC address of the client VLAN ID (slice) that the client belongs to }}} Example usage: {{{ http://cons-mw-01:5052/wimaxrf/datapath/clients/add?macaddr=00:1d:e1:37:11:04&vlanid=1&ipaddress=10.41.18.2 }}} == datapath/clients/delete - Delete client MAC address from current ACL == {{{ Delete client from datapath Mac address. }}} Example usage: {{{ http://cons-wm-01:5052/wimaxrf/clients/delete?macaddr=00:1d:e1:36:ff:0a }}} == datapath/clients/modify - Modifies client's VLAN or IP address == {{{ Modify client's vlan and/or IP address... Mac address. Vlan number. IP address. }}} == datapath/clients/status - Displays current ACL configuration on BS == {{{ Current datapaths client configuration Vlan number. }}} Example usage: {{{ http://cons-wm-01:5052/wimaxrf/clients/status }}} == datapath/list - Displays current datapath according to Interface, VLAN id and type == {{{ List all datapaths... }}} == datapath/status - Displays datapath status by VLAN id == {{{ Datapath status... Vlan number. }}} == datapath/add - Adds datapath according to Interface, VLAN id and type == {{{ Add datapath..... Type of datapath, can be: simple, click, mf and openflow Vlan number. Name of the ethernet card that hosts the VLAN }}} == datapath/delete - Deletes datapath according VLAN id == {{{ Delete datapath..... Vlan number. }}} == datapath/clean - Removes all datapaths == {{{ Clean all Datapaths }}} == Example usage of services from sandbox == To reset base station's datapath configuration back to defaults: {{{ $ wget -qO- http://cons-wm-01:5052/wimaxrf/datapath/clean $ wget -qO- http://cons-wm-01:5052/wimaxrf/datapath/config/load?name=defaults }}} To view all clients loaded under current datapath configuration: {{{ $ wget -qO- http://cons-wm-01:5052/wimaxrf/datapath/clients/status }}} = RF Matrix Control Services = On sandbox 4 there are 8 nodes (node1-1 to node 1-8) these correspond to portX = [1..8]. portX = 9 corresponds to the base station. 1. set - to set attenuation on given ports pair (example portA=1 , portB=2 attenuation = 20).[[BR]] This sets the attenuation between node1-1 and node1-2 equal to 20 db. {{{ $ wget -qO- http://internal2dmz.orbit-lab.org:5052/instr/set?portA=1\&portB=2\&att=20 }}} 2.get - to get attenuation on given pair of ports {{{ $ wget -qO- http://internal2dmz.orbit-lab.org:5052/instr/get?portA=1\&portB=8 }}} 3.status - to get attenuation on all port pairs {{{ $ wget -qO- http://internal2dmz.orbit-lab.org:5052/instr/status }}}