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.
- Timestamp:
-
Jun 26, 2012, 5:22:13 PM (11 years ago)
- Author:
-
Nilanjan Paul
- Comment:
-
—
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v15
|
v16
|
|
23 | 23 | |
24 | 24 | == datapath/config/save - Saves current ACL as a profile in database == |
| 25 | {{{ |
25 | 26 | <service name="datapath/config/save"> |
26 | 27 | <info>This service saves current datapath client configuration database.</info> |
… |
… |
|
34 | 35 | </args> |
35 | 36 | </service> |
36 | | |
| 37 | }}} |
37 | 38 | == datapath/config/delete - Removes ACL profile from database == |
| 39 | |
| 40 | {{{ |
38 | 41 | <service name="datapath/config/delete"> |
39 | 42 | <info>This service deletes saved datapath client configuration from database.</info> |
… |
… |
|
44 | 47 | </args> |
45 | 48 | </service> |
| 49 | }}} |
46 | 50 | |
47 | 51 | == 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 | }}} |
48 | 63 | |
49 | 64 | == datapath/clients/add - Adds client MAC address to ACL == |
… |
… |
|
51 | 66 | |
52 | 67 | {{{ |
53 | | <service name='datapath/clients/addClient'> |
| 68 | <service name='datapath/clients/add'> |
54 | 69 | <info>Add client with specified MAC address to BS access list</info> |
55 | 70 | <args> |
… |
… |
|
67 | 82 | |
68 | 83 | == 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 | |
| 96 | Example usage: |
| 97 | {{{ |
| 98 | http://cons-wm-01:5052/wimaxrf/clients/delete?macaddr=00:1d:e1:36:ff:0a |
| 99 | }}} |
| 100 | |
69 | 101 | == 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 | |
70 | 120 | == datapath/clients/status - Displays current ACL configuration on BS == |
71 | 121 | |
| 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 | |
| 133 | Example usage: |
| 134 | {{{ |
| 135 | http://cons-wm-01:5052/wimaxrf/clients/status |
| 136 | }}} |
72 | 137 | |
73 | 138 | == 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 | |
74 | 146 | == 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 | |
75 | 159 | == 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 | |
76 | 182 | == 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 | |
77 | 195 | == datapath/clean - Removes all datapaths == |
78 | 196 | |
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 | |
110 | 203 | |
111 | 204 | |