backing up
[vsorcdistro/.git] / ryu / build / lib.linux-armv7l-2.7 / ryu / tests / switch / of13 / action / 00_OUTPUT.json
1 [
2     "action: 00_OUTPUT",
3     {
4         "description": "ethernet/ipv4/tcp-->'actions=output:2'",
5         "prerequisite":[
6             {
7                 "OFPFlowMod":{
8                     "table_id":0,
9                     "instructions":[
10                         {
11                             "OFPInstructionActions":{
12                                 "actions":[
13                                     {
14                                         "OFPActionOutput":{
15                                             "port":2
16                                         }
17                                     }
18                                 ],
19                                 "type":4
20                             }
21                         }
22                     ]
23                 }
24             }
25         ],
26         "tests":[
27             {
28                 "ingress":[
29                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=2048)",
30                     "ipv4(tos=32, proto=6, src='192.168.10.10', dst='192.168.20.20', ttl=64)",
31                     "tcp(dst_port=2222, option=bytes(b'\\x00' * 4), src_port=11111)",
32                     "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'"
33                 ],
34                 "egress":[
35                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=2048)",
36                     "ipv4(tos=32, proto=6, src='192.168.10.10', dst='192.168.20.20', ttl=64)",
37                     "tcp(dst_port=2222, option=bytes(b'\\x00' * 4), src_port=11111)",
38                     "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'"
39                 ]
40
41             }
42         ]
43     },
44     {
45         "description": "ethernet/ipv6/tcp-->'actions=output:2'",
46         "prerequisite":[
47             {
48                 "OFPFlowMod":{
49                     "table_id":0,
50                     "instructions":[
51                         {
52                             "OFPInstructionActions":{
53                                 "actions":[
54                                     {
55                                         "OFPActionOutput":{
56                                             "port":2
57                                         }
58                                     }
59                                 ],
60                                 "type":4
61                             }
62                         }
63                     ]
64                 }
65             }
66         ],
67         "tests":[
68             {
69                 "ingress":[
70                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
71                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=6, hop_limit=64, traffic_class=32)",
72                     "tcp(dst_port=2222, option=bytes(b'\\x00' * 4), src_port=11111)",
73                     "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'"
74                 ],
75                 "egress":[
76                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=34525)",
77                     "ipv6(dst='20::20', flow_label=100, src='10::10', nxt=6, hop_limit=64, traffic_class=32)",
78                     "tcp(dst_port=2222, option=bytes(b'\\x00' * 4), src_port=11111)",
79                     "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'"
80                 ]
81             }
82         ]
83     },
84     {
85         "description": "ethernet/arp-->'actions=output:2'",
86         "prerequisite":[
87             {
88                 "OFPFlowMod":{
89                     "table_id":0,
90                     "instructions":[
91                         {
92                             "OFPInstructionActions":{
93                                 "actions":[
94                                     {
95                                         "OFPActionOutput":{
96                                             "port":2
97                                         }
98                                     }
99                                 ],
100                                 "type":4
101                             }
102                         }
103                     ]
104                 }
105             }
106         ],
107         "tests":[
108             {
109                 "ingress":[
110                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=2054)",
111                     "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')",
112                     "bytes(b'\\x00' * (60 - 42))"
113                 ],
114                 "egress":[
115                     "ethernet(dst='22:22:22:22:22:22', src='12:11:11:11:11:11', ethertype=2054)",
116                     "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')",
117                     "bytes(b'\\x00' * (60 - 42))"
118                 ]
119             }
120         ]
121     }
122 ]