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