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.

Changes between Version 15 and Version 16 of Old/WiMAX/17/14addClient


Ignore:
Timestamp:
Jun 26, 2012, 5:22:13 PM (12 years ago)
Author:
Nilanjan Paul
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/WiMAX/17/14addClient

    v15 v16  
    2323
    2424== datapath/config/save - Saves current ACL as a profile in database ==
     25{{{
    2526<service name="datapath/config/save">
    2627   <info>This service saves current datapath client configuration database.</info>
     
    3435   </args>
    3536</service>
    36 
     37}}}
    3738== datapath/config/delete - Removes ACL profile from database ==
     39
     40{{{
    3841<service name="datapath/config/delete">
    3942   <info>This service deletes saved datapath client configuration from database.</info>
     
    4447   </args>
    4548</service>
     49}}}
    4650
    4751== datapath/config/show - Displays content of an ACL profile ==
     52
     53{{{
     54<service name="datapath/config/show">
     55   <info>Show named datapath client configuration from database.</info>
     56   <args>
     57      <arg name="name" isRequired="true">
     58         <info>Name of saved status.</info>
     59      </arg>
     60   </args>
     61</service>
     62}}}
    4863
    4964== datapath/clients/add - Adds client MAC address to ACL ==
     
    5166
    5267{{{
    53 <service name='datapath/clients/addClient'>
     68<service name='datapath/clients/add'>
    5469  <info>Add client with specified MAC address to BS access list</info>
    5570  <args>
     
    6782
    6883== datapath/clients/delete - Delete client MAC address from current ACL ==
     84
     85{{{
     86<service name="datapath/clients/delete">
     87   <info>Delete client from datapath</info>
     88   <args>
     89      <arg name="macaddr" isRequired="true">
     90         <info>Mac address.</info>
     91      </arg>
     92   </args>
     93</service>
     94}}}
     95
     96Example usage:
     97{{{
     98http://cons-wm-01:5052/wimaxrf/clients/delete?macaddr=00:1d:e1:36:ff:0a
     99}}}
     100
    69101== datapath/clients/modify - Modifies client's VLAN or IP address ==
     102
     103{{{
     104<service name="datapath/clients/modify">
     105   <info>Modify client's vlan and/or IP address...</info>
     106   <args>
     107      <arg name="macaddr" isRequired="true">
     108         <info>Mac address.</info>
     109      </arg>
     110      <arg name="vlanid" isRequired="false">
     111         <info>Vlan number.</info>
     112      </arg>
     113      <arg name="ipaddress" isRequired="false">
     114         <info>IP address.</info>
     115      </arg>
     116   </args>
     117</service>
     118}}}
     119
    70120== datapath/clients/status - Displays current ACL configuration on BS ==
    71121
     122{{{
     123<service name="datapath/clients/status">
     124   <info>Current datapaths client configuration</info>
     125   <args>
     126      <arg name="vlanid" isRequired="false">
     127         <info>Vlan number.</info>
     128      </arg>
     129   </args>
     130</service>
     131}}}
     132
     133Example usage:
     134{{{
     135http://cons-wm-01:5052/wimaxrf/clients/status
     136}}}
    72137
    73138== datapath/list - Displays current datapath according to Interface, VLAN id and type ==
     139
     140{{{
     141<service name="datapath/list">
     142   <info>List all datapaths...</info>
     143</service>
     144}}}
     145
    74146== datapath/status - Displays datapath status by VLAN id ==
     147
     148{{{
     149<service name="datapath/status">
     150   <info>Datapath status...</info>
     151   <args>
     152      <arg name="vlan" isRequired="true">
     153         <info>Vlan number.</info>
     154      </arg>
     155   </args>
     156</service>
     157}}}
     158
    75159== datapath/add - Adds datapath according to Interface, VLAN id and type ==
     160
     161{{{
     162<service name=datapath/add>
     163  <info>
     164  Add datapath.....</info>
     165  <args>
     166    <arg name=type isRequired=true>
     167      <info>
     168      Type of datapath, can be: simple, click, mf and openflow </info>
     169    </arg>
     170    <arg name=vlan isRequired=true>
     171      <info>
     172      Vlan number.</info>
     173    </arg>
     174    <arg name=interface isRequired=false>
     175      <info>
     176      Name of the ethernet card that hosts the VLAN</info>
     177    </arg>
     178  </args>
     179</service>
     180}}}
     181
    76182== datapath/delete - Deletes datapath according VLAN id ==
     183
     184{{{
     185<service name="datapath/delete">
     186   <info>Delete datapath.....</info>
     187   <args>
     188      <arg name="vlan" isRequired="true">
     189         <info>Vlan number.</info>
     190      </arg>
     191   </args>
     192</service>
     193}}}
     194
    77195== datapath/clean - Removes all datapaths ==
    78196
    79 
    80 
    81 
    82 
    83 
    84 == /deleteClient -  database ==
    85 Removes client with specified macaddr from authorization list.
    86 {{{
    87 <service name="deleteClient"><info>Delete client with specified MAC address from BS access list</info>
    88   <args>
    89     <arg name="macaddr" isRequired="true" value="macaddr"><info>MAC address of the client</info></arg>
    90   </args>
    91 </service>
    92 }}}
    93 
    94 Example usage:
    95 {{{
    96 http://localhost:5052/wimaxrf/deleteClient?macaddr=00:1d:e1:36:ff:0a
    97 }}}
    98 
    99 == /listClients - List clients registered in the ACL database ==
    100 Display the list of authorized clients.
    101 {{{
    102 <service name="listClients"><info>List clients...</info>
    103 </service>
    104 }}}
    105 
    106 Example usage:
    107 {{{
    108 http://localhost:5052/wimaxrf/listClients
    109 }}}
     197{{{
     198<service name="datapath/clean">
     199   <info>Clean all Datapaths </info>
     200</service>
     201}}}
     202
    110203
    111204