backing up
[vsorcdistro/.git] / ryu / build / lib.linux-armv7l-2.7 / ryu / tests / switch / of10 / action / 00_OUTPUT.json
1 [
2     "action: 00_OUTPUT",
3     {
4         "description": "ethernet/ipv4/tcp-->'actions=output:2'",
5         "prerequisite": [
6             {
7                 "OFPFlowMod": {
8                     "actions": [
9                         {
10                             "OFPActionOutput": {
11                                 "port": 2
12                             }
13                         }
14                     ],
15                     "command": 0,
16                     "cookie": 0,
17                     "match": {
18                         "OFPMatch": {}
19                     }
20                 }
21             }
22         ],
23         "tests": [
24             {
25                 "ingress": [
26                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=2048)",
27                     "ipv4(tos=32, proto=6, src='192.168.10.10', dst='192.168.20.20', ttl=64)",
28                     "tcp(dst_port=2222, option=bytes(b'\\x00' * 4), src_port=11111)",
29                     "b'\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f\\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17\\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f'"
30                 ],
31                 "egress": [
32                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=2048)",
33                     "ipv4(tos=32, proto=6, src='192.168.10.10', dst='192.168.20.20', ttl=64)",
34                     "tcp(dst_port=2222, option=bytes(b'\\x00' * 4), src_port=11111)",
35                     "b'\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f\\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17\\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f'"
36                 ]
37             }
38         ]
39     },
40     {
41         "description": "ethernet/ipv6/tcp-->'actions=output:2'",
42         "prerequisite": [
43             {
44                 "OFPFlowMod": {
45                     "actions": [
46                         {
47                             "OFPActionOutput": {
48                                 "port": 2
49                             }
50                         }
51                     ],
52                     "command": 0,
53                     "cookie": 0,
54                     "match": {
55                         "OFPMatch": {}
56                     }
57                 }
58             }
59         ],
60         "tests": [
61             {
62                 "ingress": [
63                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
64                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=6, hop_limit=64, traffic_class=32)",
65                     "tcp(dst_port=2222, option=bytes(b'\\x00' * 4), src_port=11111)",
66                     "b'\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f\\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17\\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f'"
67                 ],
68                 "egress": [
69                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
70                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=6, hop_limit=64, traffic_class=32)",
71                     "tcp(dst_port=2222, option=bytes(b'\\x00' * 4), src_port=11111)",
72                     "b'\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f\\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17\\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f'"
73                 ]
74             }
75         ]
76     },
77     {
78         "description": "ethernet/arp-->'actions=output:2'",
79         "prerequisite": [
80             {
81                 "OFPFlowMod": {
82                     "actions": [
83                         {
84                             "OFPActionOutput": {
85                                 "port": 2
86                             }
87                         }
88                     ],
89                     "command": 0,
90                     "cookie": 0,
91                     "match": {
92                         "OFPMatch": {}
93                     }
94                 }
95             }
96         ],
97         "tests": [
98             {
99                 "ingress": [
100                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=2054)",
101                     "arp(dst_ip='192.168.20.20',dst_mac='22:22:22:22:22:22', opcode=1, src_ip='192.168.10.10',src_mac='12:11:11:11:11:11')",
102                     "bytes(b'\\x00' * (60 - 42))"
103                 ],
104                 "egress": [
105                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=2054)",
106                     "arp(dst_ip='192.168.20.20',dst_mac='22:22:22:22:22:22', opcode=1, src_ip='192.168.10.10',src_mac='12:11:11:11:11:11')",
107                     "bytes(b'\\x00' * (60 - 42))"
108                 ]
109             }
110         ]
111     }
112 ]