Lines Matching +full:out +full:- +full:ports
1 # -*- Mode: Python -*-
17 # @ports: number of front-panel ports
22 'data': { 'name': 'str', 'id': 'uint64', 'ports': 'uint32' } }
25 # @query-rocker:
35 # .. qmp-example::
37 # -> { "execute": "query-rocker", "arguments": { "name": "sw1" } }
38 # <- { "return": {"name": "sw1", "ports": 2, "id": 1327446905938}} number
40 { 'command': 'query-rocker',
79 # @link-up: physical link is UP on port
90 'data': { 'name': 'str', 'enabled': 'bool', 'link-up': 'bool',
95 # @query-rocker-ports:
105 # .. qmp-example::
107 # -> { "execute": "query-rocker-ports", "arguments": { "name": "sw1" } }
108 # <- { "return": [ {"duplex": "full", "enabled": true, "name": "sw1.1",
109 # "autoneg": "off", "link-up": true, "speed": 10000},
111 # "autoneg": "off", "link-up": true, "speed": 10000}
114 { 'command': 'query-rocker-ports',
121 # Rocker switch OF-DPA flow key
125 # @tbl-id: flow table ID
127 # @in-pport: physical input port
129 # @tunnel-id: tunnel ID
131 # @vlan-id: VLAN ID
133 # @eth-type: Ethernet header type
135 # @eth-src: Ethernet header source MAC address
137 # @eth-dst: Ethernet header destination MAC address
139 # @ip-proto: IP Header protocol field
141 # @ip-tos: IP header TOS field
143 # @ip-dst: IP header destination address
151 'data' : { 'priority': 'uint32', 'tbl-id': 'uint32', '*in-pport': 'uint32',
152 '*tunnel-id': 'uint32', '*vlan-id': 'uint16',
153 '*eth-type': 'uint16', '*eth-src': 'str', '*eth-dst': 'str',
154 '*ip-proto': 'uint8', '*ip-tos': 'uint8', '*ip-dst': 'str' } }
159 # Rocker switch OF-DPA flow mask
161 # @in-pport: physical input port
163 # @tunnel-id: tunnel ID
165 # @vlan-id: VLAN ID
167 # @eth-src: Ethernet header source MAC address
169 # @eth-dst: Ethernet header destination MAC address
171 # @ip-proto: IP Header protocol field
173 # @ip-tos: IP header TOS field
181 'data' : { '*in-pport': 'uint32', '*tunnel-id': 'uint32',
182 '*vlan-id': 'uint16', '*eth-src': 'str', '*eth-dst': 'str',
183 '*ip-proto': 'uint8', '*ip-tos': 'uint8' } }
188 # Rocker switch OF-DPA flow action
190 # @goto-tbl: next table ID
192 # @group-id: group ID
194 # @tunnel-lport: tunnel logical port ID
196 # @vlan-id: VLAN ID
198 # @new-vlan-id: new VLAN ID
200 # @out-pport: physical output port
208 'data' : { '*goto-tbl': 'uint32', '*group-id': 'uint32',
209 '*tunnel-lport': 'uint32', '*vlan-id': 'uint16',
210 '*new-vlan-id': 'uint16', '*out-pport': 'uint32' } }
215 # Rocker switch OF-DPA flow
234 # @query-rocker-of-dpa-flows:
236 # Return rocker OF-DPA flow information.
240 # @tbl-id: flow table ID. If tbl-id is not specified, returns flow
243 # Returns: rocker OF-DPA flow information
247 # .. qmp-example::
249 # -> { "execute": "query-rocker-of-dpa-flows",
251 # <- { "return": [ {"key": {"in-pport": 0, "priority": 1, "tbl-id": 0},
254 # "action": {"goto-tbl": 10},
255 # "mask": {"in-pport": 4294901760}
260 { 'command': 'query-rocker-of-dpa-flows',
261 'data': { 'name': 'str', '*tbl-id': 'uint32' },
267 # Rocker switch OF-DPA group
273 # @vlan-id: VLAN ID
279 # @out-pport: output physical port number
281 # @group-id: next group ID
283 # @set-vlan-id: VLAN ID to set
285 # @pop-vlan: pop VLAN headr from packet
287 # @group-ids: list of next group IDs
289 # @set-eth-src: set source MAC address in Ethernet header
291 # @set-eth-dst: set destination MAC address in Ethernet header
293 # @ttl-check: perform TTL check
301 'data': { 'id': 'uint32', 'type': 'uint8', '*vlan-id': 'uint16',
302 '*pport': 'uint32', '*index': 'uint32', '*out-pport': 'uint32',
303 '*group-id': 'uint32', '*set-vlan-id': 'uint16',
304 '*pop-vlan': 'uint8', '*group-ids': ['uint32'],
305 '*set-eth-src': 'str', '*set-eth-dst': 'str',
306 '*ttl-check': 'uint8' } }
309 # @query-rocker-of-dpa-groups:
311 # Return rocker OF-DPA group information.
318 # Returns: rocker OF-DPA group information
322 # .. qmp-example::
324 # -> { "execute": "query-rocker-of-dpa-groups",
326 # <- { "return": [ {"type": 0, "out-pport": 2,
327 # "pport": 2, "vlan-id": 3841,
328 # "pop-vlan": 1, "id": 251723778},
329 # {"type": 0, "out-pport": 0,
330 # "pport": 0, "vlan-id": 3841,
331 # "pop-vlan": 1, "id": 251723776},
332 # {"type": 0, "out-pport": 1,
333 # "pport": 1, "vlan-id": 3840,
334 # "pop-vlan": 1, "id": 251658241},
335 # {"type": 0, "out-pport": 0,
336 # "pport": 0, "vlan-id": 3840,
337 # "pop-vlan": 1, "id": 251658240}
340 { 'command': 'query-rocker-of-dpa-groups',