Markus Armbruster | 8c0aa61 | 2017-03-15 13:57:01 +0100 | [diff] [blame] | 1 | # -*- Mode: Python -*- |
Andrea Bolognani | f7160f3 | 2020-07-29 20:50:24 +0200 | [diff] [blame] | 2 | # vim: filetype=python |
Markus Armbruster | 8c0aa61 | 2017-03-15 13:57:01 +0100 | [diff] [blame] | 3 | |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 4 | ## |
Marc-André Lureau | d3a4837 | 2017-01-13 15:41:23 +0100 | [diff] [blame] | 5 | # = Rocker switch device |
| 6 | ## |
| 7 | |
| 8 | ## |
Marc-André Lureau | 4d5c8bc | 2016-11-17 19:54:53 +0400 | [diff] [blame] | 9 | # @RockerSwitch: |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 10 | # |
| 11 | # Rocker switch information. |
| 12 | # |
| 13 | # @name: switch name |
| 14 | # |
| 15 | # @id: switch ID |
| 16 | # |
| 17 | # @ports: number of front-panel ports |
| 18 | # |
| 19 | # Since: 2.4 |
| 20 | ## |
| 21 | { 'struct': 'RockerSwitch', |
| 22 | 'data': { 'name': 'str', 'id': 'uint64', 'ports': 'uint32' } } |
| 23 | |
| 24 | ## |
| 25 | # @query-rocker: |
| 26 | # |
| 27 | # Return rocker switch information. |
| 28 | # |
| 29 | # Returns: @Rocker information |
| 30 | # |
| 31 | # Since: 2.4 |
Marc-André Lureau | a35c33f | 2016-06-23 15:11:47 +0200 | [diff] [blame] | 32 | # |
| 33 | # Example: |
| 34 | # |
| 35 | # -> { "execute": "query-rocker", "arguments": { "name": "sw1" } } |
| 36 | # <- { "return": {"name": "sw1", "ports": 2, "id": 1327446905938}} |
| 37 | # |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 38 | ## |
| 39 | { 'command': 'query-rocker', |
| 40 | 'data': { 'name': 'str' }, |
| 41 | 'returns': 'RockerSwitch' } |
| 42 | |
| 43 | ## |
| 44 | # @RockerPortDuplex: |
| 45 | # |
| 46 | # An eumeration of port duplex states. |
| 47 | # |
| 48 | # @half: half duplex |
| 49 | # |
| 50 | # @full: full duplex |
| 51 | # |
| 52 | # Since: 2.4 |
| 53 | ## |
| 54 | { 'enum': 'RockerPortDuplex', 'data': [ 'half', 'full' ] } |
| 55 | |
| 56 | ## |
| 57 | # @RockerPortAutoneg: |
| 58 | # |
| 59 | # An eumeration of port autoneg states. |
| 60 | # |
| 61 | # @off: autoneg is off |
| 62 | # |
| 63 | # @on: autoneg is on |
| 64 | # |
| 65 | # Since: 2.4 |
| 66 | ## |
| 67 | { 'enum': 'RockerPortAutoneg', 'data': [ 'off', 'on' ] } |
| 68 | |
| 69 | ## |
| 70 | # @RockerPort: |
| 71 | # |
| 72 | # Rocker switch port information. |
| 73 | # |
| 74 | # @name: port name |
| 75 | # |
| 76 | # @enabled: port is enabled for I/O |
| 77 | # |
| 78 | # @link-up: physical link is UP on port |
| 79 | # |
| 80 | # @speed: port link speed in Mbps |
| 81 | # |
| 82 | # @duplex: port link duplex |
| 83 | # |
| 84 | # @autoneg: port link autoneg |
| 85 | # |
| 86 | # Since: 2.4 |
| 87 | ## |
| 88 | { 'struct': 'RockerPort', |
| 89 | 'data': { 'name': 'str', 'enabled': 'bool', 'link-up': 'bool', |
| 90 | 'speed': 'uint32', 'duplex': 'RockerPortDuplex', |
| 91 | 'autoneg': 'RockerPortAutoneg' } } |
| 92 | |
| 93 | ## |
| 94 | # @query-rocker-ports: |
| 95 | # |
Marc-André Lureau | 7e20b16 | 2016-06-23 15:12:36 +0200 | [diff] [blame] | 96 | # Return rocker switch port information. |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 97 | # |
Marc-André Lureau | 7e20b16 | 2016-06-23 15:12:36 +0200 | [diff] [blame] | 98 | # Returns: a list of @RockerPort information |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 99 | # |
| 100 | # Since: 2.4 |
Marc-André Lureau | 7e20b16 | 2016-06-23 15:12:36 +0200 | [diff] [blame] | 101 | # |
| 102 | # Example: |
| 103 | # |
| 104 | # -> { "execute": "query-rocker-ports", "arguments": { "name": "sw1" } } |
| 105 | # <- { "return": [ {"duplex": "full", "enabled": true, "name": "sw1.1", |
| 106 | # "autoneg": "off", "link-up": true, "speed": 10000}, |
| 107 | # {"duplex": "full", "enabled": true, "name": "sw1.2", |
| 108 | # "autoneg": "off", "link-up": true, "speed": 10000} |
| 109 | # ]} |
| 110 | # |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 111 | ## |
| 112 | { 'command': 'query-rocker-ports', |
| 113 | 'data': { 'name': 'str' }, |
| 114 | 'returns': ['RockerPort'] } |
| 115 | |
| 116 | ## |
| 117 | # @RockerOfDpaFlowKey: |
| 118 | # |
| 119 | # Rocker switch OF-DPA flow key |
| 120 | # |
| 121 | # @priority: key priority, 0 being lowest priority |
| 122 | # |
| 123 | # @tbl-id: flow table ID |
| 124 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 125 | # @in-pport: physical input port |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 126 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 127 | # @tunnel-id: tunnel ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 128 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 129 | # @vlan-id: VLAN ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 130 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 131 | # @eth-type: Ethernet header type |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 132 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 133 | # @eth-src: Ethernet header source MAC address |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 134 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 135 | # @eth-dst: Ethernet header destination MAC address |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 136 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 137 | # @ip-proto: IP Header protocol field |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 138 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 139 | # @ip-tos: IP header TOS field |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 140 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 141 | # @ip-dst: IP header destination address |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 142 | # |
Markus Armbruster | 8c0aa61 | 2017-03-15 13:57:01 +0100 | [diff] [blame] | 143 | # Note: optional members may or may not appear in the flow key |
Peter Maydell | 26ec4e5 | 2020-02-13 17:56:26 +0000 | [diff] [blame] | 144 | # depending if they're relevant to the flow key. |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 145 | # |
| 146 | # Since: 2.4 |
| 147 | ## |
| 148 | { 'struct': 'RockerOfDpaFlowKey', |
| 149 | 'data' : { 'priority': 'uint32', 'tbl-id': 'uint32', '*in-pport': 'uint32', |
| 150 | '*tunnel-id': 'uint32', '*vlan-id': 'uint16', |
| 151 | '*eth-type': 'uint16', '*eth-src': 'str', '*eth-dst': 'str', |
| 152 | '*ip-proto': 'uint8', '*ip-tos': 'uint8', '*ip-dst': 'str' } } |
| 153 | |
| 154 | ## |
| 155 | # @RockerOfDpaFlowMask: |
| 156 | # |
| 157 | # Rocker switch OF-DPA flow mask |
| 158 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 159 | # @in-pport: physical input port |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 160 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 161 | # @tunnel-id: tunnel ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 162 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 163 | # @vlan-id: VLAN ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 164 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 165 | # @eth-src: Ethernet header source MAC address |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 166 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 167 | # @eth-dst: Ethernet header destination MAC address |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 168 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 169 | # @ip-proto: IP Header protocol field |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 170 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 171 | # @ip-tos: IP header TOS field |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 172 | # |
Markus Armbruster | 8c0aa61 | 2017-03-15 13:57:01 +0100 | [diff] [blame] | 173 | # Note: optional members may or may not appear in the flow mask |
Peter Maydell | 26ec4e5 | 2020-02-13 17:56:26 +0000 | [diff] [blame] | 174 | # depending if they're relevant to the flow mask. |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 175 | # |
| 176 | # Since: 2.4 |
| 177 | ## |
| 178 | { 'struct': 'RockerOfDpaFlowMask', |
| 179 | 'data' : { '*in-pport': 'uint32', '*tunnel-id': 'uint32', |
| 180 | '*vlan-id': 'uint16', '*eth-src': 'str', '*eth-dst': 'str', |
| 181 | '*ip-proto': 'uint8', '*ip-tos': 'uint8' } } |
| 182 | |
| 183 | ## |
| 184 | # @RockerOfDpaFlowAction: |
| 185 | # |
| 186 | # Rocker switch OF-DPA flow action |
| 187 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 188 | # @goto-tbl: next table ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 189 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 190 | # @group-id: group ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 191 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 192 | # @tunnel-lport: tunnel logical port ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 193 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 194 | # @vlan-id: VLAN ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 195 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 196 | # @new-vlan-id: new VLAN ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 197 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 198 | # @out-pport: physical output port |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 199 | # |
Markus Armbruster | 8c0aa61 | 2017-03-15 13:57:01 +0100 | [diff] [blame] | 200 | # Note: optional members may or may not appear in the flow action |
Peter Maydell | 26ec4e5 | 2020-02-13 17:56:26 +0000 | [diff] [blame] | 201 | # depending if they're relevant to the flow action. |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 202 | # |
| 203 | # Since: 2.4 |
| 204 | ## |
| 205 | { 'struct': 'RockerOfDpaFlowAction', |
| 206 | 'data' : { '*goto-tbl': 'uint32', '*group-id': 'uint32', |
| 207 | '*tunnel-lport': 'uint32', '*vlan-id': 'uint16', |
| 208 | '*new-vlan-id': 'uint16', '*out-pport': 'uint32' } } |
| 209 | |
| 210 | ## |
| 211 | # @RockerOfDpaFlow: |
| 212 | # |
| 213 | # Rocker switch OF-DPA flow |
| 214 | # |
| 215 | # @cookie: flow unique cookie ID |
| 216 | # |
| 217 | # @hits: count of matches (hits) on flow |
| 218 | # |
| 219 | # @key: flow key |
| 220 | # |
| 221 | # @mask: flow mask |
| 222 | # |
| 223 | # @action: flow action |
| 224 | # |
| 225 | # Since: 2.4 |
| 226 | ## |
| 227 | { 'struct': 'RockerOfDpaFlow', |
| 228 | 'data': { 'cookie': 'uint64', 'hits': 'uint64', 'key': 'RockerOfDpaFlowKey', |
| 229 | 'mask': 'RockerOfDpaFlowMask', 'action': 'RockerOfDpaFlowAction' } } |
| 230 | |
| 231 | ## |
| 232 | # @query-rocker-of-dpa-flows: |
| 233 | # |
| 234 | # Return rocker OF-DPA flow information. |
| 235 | # |
| 236 | # @name: switch name |
| 237 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 238 | # @tbl-id: flow table ID. If tbl-id is not specified, returns |
Peter Maydell | 26ec4e5 | 2020-02-13 17:56:26 +0000 | [diff] [blame] | 239 | # flow information for all tables. |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 240 | # |
Marc-André Lureau | 435fcb2 | 2016-06-23 15:14:30 +0200 | [diff] [blame] | 241 | # Returns: rocker OF-DPA flow information |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 242 | # |
| 243 | # Since: 2.4 |
Marc-André Lureau | 435fcb2 | 2016-06-23 15:14:30 +0200 | [diff] [blame] | 244 | # |
| 245 | # Example: |
| 246 | # |
| 247 | # -> { "execute": "query-rocker-of-dpa-flows", |
| 248 | # "arguments": { "name": "sw1" } } |
| 249 | # <- { "return": [ {"key": {"in-pport": 0, "priority": 1, "tbl-id": 0}, |
| 250 | # "hits": 138, |
| 251 | # "cookie": 0, |
| 252 | # "action": {"goto-tbl": 10}, |
| 253 | # "mask": {"in-pport": 4294901760} |
| 254 | # }, |
| 255 | # {...more...}, |
| 256 | # ]} |
| 257 | # |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 258 | ## |
| 259 | { 'command': 'query-rocker-of-dpa-flows', |
| 260 | 'data': { 'name': 'str', '*tbl-id': 'uint32' }, |
| 261 | 'returns': ['RockerOfDpaFlow'] } |
| 262 | |
| 263 | ## |
| 264 | # @RockerOfDpaGroup: |
| 265 | # |
| 266 | # Rocker switch OF-DPA group |
| 267 | # |
| 268 | # @id: group unique ID |
| 269 | # |
| 270 | # @type: group type |
| 271 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 272 | # @vlan-id: VLAN ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 273 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 274 | # @pport: physical port number |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 275 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 276 | # @index: group index, unique with group type |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 277 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 278 | # @out-pport: output physical port number |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 279 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 280 | # @group-id: next group ID |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 281 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 282 | # @set-vlan-id: VLAN ID to set |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 283 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 284 | # @pop-vlan: pop VLAN headr from packet |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 285 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 286 | # @group-ids: list of next group IDs |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 287 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 288 | # @set-eth-src: set source MAC address in Ethernet header |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 289 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 290 | # @set-eth-dst: set destination MAC address in Ethernet header |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 291 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 292 | # @ttl-check: perform TTL check |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 293 | # |
Markus Armbruster | 8c0aa61 | 2017-03-15 13:57:01 +0100 | [diff] [blame] | 294 | # Note: optional members may or may not appear in the group depending |
Peter Maydell | 26ec4e5 | 2020-02-13 17:56:26 +0000 | [diff] [blame] | 295 | # if they're relevant to the group type. |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 296 | # |
| 297 | # Since: 2.4 |
| 298 | ## |
| 299 | { 'struct': 'RockerOfDpaGroup', |
| 300 | 'data': { 'id': 'uint32', 'type': 'uint8', '*vlan-id': 'uint16', |
| 301 | '*pport': 'uint32', '*index': 'uint32', '*out-pport': 'uint32', |
| 302 | '*group-id': 'uint32', '*set-vlan-id': 'uint16', |
| 303 | '*pop-vlan': 'uint8', '*group-ids': ['uint32'], |
| 304 | '*set-eth-src': 'str', '*set-eth-dst': 'str', |
| 305 | '*ttl-check': 'uint8' } } |
| 306 | |
| 307 | ## |
| 308 | # @query-rocker-of-dpa-groups: |
| 309 | # |
| 310 | # Return rocker OF-DPA group information. |
| 311 | # |
| 312 | # @name: switch name |
| 313 | # |
Markus Armbruster | 1d8bda1 | 2017-03-15 13:57:06 +0100 | [diff] [blame] | 314 | # @type: group type. If type is not specified, returns |
Peter Maydell | 26ec4e5 | 2020-02-13 17:56:26 +0000 | [diff] [blame] | 315 | # group information for all group types. |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 316 | # |
Marc-André Lureau | 9389a4e | 2016-06-23 15:17:32 +0200 | [diff] [blame] | 317 | # Returns: rocker OF-DPA group information |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 318 | # |
| 319 | # Since: 2.4 |
Marc-André Lureau | 9389a4e | 2016-06-23 15:17:32 +0200 | [diff] [blame] | 320 | # |
| 321 | # Example: |
| 322 | # |
| 323 | # -> { "execute": "query-rocker-of-dpa-groups", |
| 324 | # "arguments": { "name": "sw1" } } |
| 325 | # <- { "return": [ {"type": 0, "out-pport": 2, |
| 326 | # "pport": 2, "vlan-id": 3841, |
| 327 | # "pop-vlan": 1, "id": 251723778}, |
| 328 | # {"type": 0, "out-pport": 0, |
| 329 | # "pport": 0, "vlan-id": 3841, |
| 330 | # "pop-vlan": 1, "id": 251723776}, |
| 331 | # {"type": 0, "out-pport": 1, |
| 332 | # "pport": 1, "vlan-id": 3840, |
| 333 | # "pop-vlan": 1, "id": 251658241}, |
| 334 | # {"type": 0, "out-pport": 0, |
| 335 | # "pport": 0, "vlan-id": 3840, |
| 336 | # "pop-vlan": 1, "id": 251658240} |
| 337 | # ]} |
| 338 | # |
Scott Feldman | fafa4d5 | 2015-06-10 18:21:21 -0700 | [diff] [blame] | 339 | ## |
| 340 | { 'command': 'query-rocker-of-dpa-groups', |
| 341 | 'data': { 'name': 'str', '*type': 'uint8' }, |
| 342 | 'returns': ['RockerOfDpaGroup'] } |