backing up
[vsorcdistro/.git] / ryu / build / lib.linux-armv7l-2.7 / ryu / tests / unit / ofproto / json / of15 / libofproto-OFP15-flow_mod.packet.json
1 {
2    "OFPFlowMod": {
3       "buffer_id": 0, 
4       "command": 0, 
5       "cookie": 1311768467463790320, 
6       "cookie_mask": 18446744073709551615, 
7       "flags": 0, 
8       "hard_timeout": 0, 
9       "idle_timeout": 0, 
10       "importance": 39032, 
11       "instructions": [
12          {
13             "OFPInstructionActions": {
14                "actions": [
15                   {
16                      "OFPActionPopVlan": {
17                         "len": 8, 
18                         "type": 18
19                      }
20                   }, 
21                   {
22                      "OFPActionSetField": {
23                         "field": {
24                            "OXMTlv": {
25                               "field": "ipv4_dst", 
26                               "mask": null, 
27                               "value": "192.168.2.9"
28                            }
29                         },
30                         "len": 16,
31                         "type": 25
32                      }
33                   }, 
34                   {
35                      "NXActionLearn": {
36                         "cookie": 0, 
37                         "experimenter": 8992, 
38                         "fin_hard_timeout": 0, 
39                         "fin_idle_timeout": 0, 
40                         "flags": 0, 
41                         "hard_timeout": 300, 
42                         "idle_timeout": 0, 
43                         "len": 96, 
44                         "priority": 1, 
45                         "specs": [
46                            {
47                               "NXFlowSpecMatch": {
48                                  "dst": [
49                                     "vlan_vid", 
50                                     0
51                                  ], 
52                                  "n_bits": 12, 
53                                  "src": [
54                                     "vlan_vid", 
55                                     0
56                                  ]
57                               }
58                            }, 
59                            {
60                               "NXFlowSpecMatch": {
61                                  "dst": [
62                                     "eth_dst_nxm", 
63                                     0
64                                  ], 
65                                  "n_bits": 48, 
66                                  "src": [
67                                     "eth_src_nxm", 
68                                     0
69                                  ]
70                               }
71                            }, 
72                            {
73                               "NXFlowSpecLoad": {
74                                  "dst": [
75                                     "vlan_vid", 
76                                     0
77                                  ], 
78                                  "n_bits": 12, 
79                                  "src": 0
80                               }
81                            }, 
82                            {
83                               "NXFlowSpecLoad": {
84                                  "dst": [
85                                     "tunnel_id_nxm", 
86                                     0
87                                  ], 
88                                  "n_bits": 64, 
89                                  "src": [
90                                     "tunnel_id_nxm", 
91                                     0
92                                  ]
93                               }
94                            }, 
95                            {
96                               "NXFlowSpecOutput": {
97                                  "dst": "", 
98                                  "n_bits": 32, 
99                                  "src": [
100                                     "in_port", 
101                                     0
102                                  ]
103                               }
104                            }
105                         ], 
106                         "subtype": 16, 
107                         "table_id": 99, 
108                         "type": 65535
109                      }
110                   }
111                ], 
112                "len": 128, 
113                "type": 4
114             }
115          }, 
116          {
117             "OFPInstructionGotoTable": {
118                "len": 8, 
119                "table_id": 100, 
120                "type": 1
121             }
122          }
123       ], 
124       "match": {
125          "OFPMatch": {
126             "length": 70, 
127             "oxm_fields": [
128                {
129                   "OXMTlv": {
130                      "field": "in_port", 
131                      "mask": null, 
132                      "value": 43981
133                   }
134                }, 
135                {
136                   "OXMTlv": {
137                      "field": "eth_dst", 
138                      "mask": null, 
139                      "value": "aa:bb:cc:99:88:77"
140                   }
141                }, 
142                {
143                   "OXMTlv": {
144                      "field": "eth_type", 
145                      "mask": null, 
146                      "value": 2048
147                   }
148                }, 
149                {
150                   "OXMTlv": {
151                      "field": "vlan_vid", 
152                      "mask": null, 
153                      "value": 5095
154                   }
155                }, 
156                {
157                   "OXMTlv": {
158                      "field": "ipv4_dst", 
159                      "mask": null, 
160                      "value": "192.168.2.1"
161                   }
162                }, 
163                {
164                   "OXMTlv": {
165                      "field": "tunnel_id", 
166                      "mask": null, 
167                      "value": 50000
168                   }
169                }, 
170                {
171                   "OXMTlv": {
172                      "field": "tun_ipv4_src", 
173                      "mask": null, 
174                      "value": "192.168.2.3"
175                   }
176                }, 
177                {
178                   "OXMTlv": {
179                      "field": "tun_ipv4_dst", 
180                      "mask": null, 
181                      "value": "192.168.2.4"
182                   }
183                }
184             ], 
185             "type": 1
186          }
187       }, 
188       "out_group": 0, 
189       "out_port": 0, 
190       "priority": 0, 
191       "table_id": 2
192    }
193 }