wiki:Old/WiMAX/17/14addClient
close Warning: Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.

Version 14 (modified by Nilanjan Paul, 8 years ago) ( diff )

Datapath Control Services

WiMAX RF Aggregate Manager

    datapath/config/list - Displays list of ACL (Access control list) profiles

    datapath/config/load - Loads an ACL profile from database

    datapath/config/save - Saves current ACL as a profile in database

    datapath/config/delete - Removes ACL profile from database

    datapath/config/show - Displays content of an ACL profile

    datapath/client/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.

    <service name='addClient'><info>Add client with specified MAC address to BS access list</info>
      <args>
        <arg name='ipaddress' isRequired='false' value='[ipaddress]'><info>IP address for the client</info></arg>
        <arg name='macaddr' isRequired='true' value='macaddr'><info>MAC address of the client</info></arg>
        <arg name='vlanid' isRequired='true' value='vlanid'><info>VLAN ID (slice) that the client belongs to</info></arg>
      </args>
    </service>
    

    Example usage:

    http://cons-mw-01:5052/wimaxrf/addClient?macaddr=00:1d:e1:37:11:04&vlanid=1&ipaddress=10.41.18.2
    

    datapath/client/delete - Delete client MAC address from ACL (Access control list)

    datapath/client/modify - Displays list of authorized client profiles

    datapath/client/status - Displays current ACL configuration

    /deleteClient - database

    Removes client with specified macaddr from authorization list.

    <service name="deleteClient"><info>Delete client with specified MAC address from BS access list</info>
      <args>
        <arg name="macaddr" isRequired="true" value="macaddr"><info>MAC address of the client</info></arg>
      </args>
    </service>
    

    Example usage:

    http://localhost:5052/wimaxrf/deleteClient?macaddr=00:1d:e1:36:ff:0a
    

    /listClients - List clients registered in the ACL database

    Display the list of authorized clients.

    <service name="listClients"><info>List clients...</info>
    </service>
    

    Example usage:

    http://localhost:5052/wimaxrf/listClients
    

    RF Matrix Control Services

    1. set - to set attenuation on given ports pair (example portA=1 , portB=2 attenuation = 20)
    $ wget -O status http://localhost:5052/instr/set?portA=1\&portB=2\&att=20
    

    2.get - to get attenuation on given pair of ports

    $ wget -O status http://localhost:5052/instr/get?portA=1\&portB=8
    

    3.status - to get attenuation on all port pairs

    $ wget -O status http://localhost:5052/instr/status 
    
    Note: See TracWiki for help on using the wiki.