blob: e99e42b1b1d960c774058da1e54e55febf9e77a3 [file] [log] [blame]
Don Newton98fd8812019-09-23 15:15:02 -04001/*
2 * Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
3 * Copyright (c) 2011, 2012 Open Networking Foundation
4 * Copyright 2013, Big Switch Networks, Inc. This library was generated by the LoxiGen Compiler.
5 * Copyright 2018, Red Hat, Inc.
6 */
7// Automatically generated by LOXI from template module.go
8// Do not modify
9
10package of13
11
12import (
13 "encoding/binary"
14 "fmt"
15
Don Newtone0d34a82019-11-14 10:58:06 -050016 "github.com/donNewtonAlpha/goloxi"
Don Newton98fd8812019-09-23 15:15:02 -040017)
18
19type ActionId struct {
20 Type uint16
21 Len uint16
22}
23
24type IActionId interface {
25 goloxi.Serializable
26 GetType() uint16
27 GetLen() uint16
28}
29
30func (self *ActionId) GetType() uint16 {
31 return self.Type
32}
33
34func (self *ActionId) SetType(v uint16) {
35 self.Type = v
36}
37
38func (self *ActionId) GetLen() uint16 {
39 return self.Len
40}
41
42func (self *ActionId) SetLen(v uint16) {
43 self.Len = v
44}
45
46func (self *ActionId) Serialize(encoder *goloxi.Encoder) error {
47
48 encoder.PutUint16(uint16(self.Type))
49 encoder.PutUint16(uint16(self.Len))
50
51 return nil
52}
53
54func DecodeActionId(decoder *goloxi.Decoder) (IActionId, error) {
55 _actionid := &ActionId{}
56 if decoder.Length() < 4 {
57 return nil, fmt.Errorf("ActionId packet too short: %d < 4", decoder.Length())
58 }
59 _actionid.Type = uint16(decoder.ReadUint16())
60 _actionid.Len = uint16(decoder.ReadUint16())
61 oldDecoder := decoder
62 defer func() { decoder = oldDecoder }()
63 decoder = decoder.SliceDecoder(int(_actionid.Len), 2+2)
64
65 switch _actionid.Type {
66 case 0:
67 return DecodeActionIdOutput(_actionid, decoder)
68 case 11:
69 return DecodeActionIdCopyTtlOut(_actionid, decoder)
70 case 12:
71 return DecodeActionIdCopyTtlIn(_actionid, decoder)
72 case 15:
73 return DecodeActionIdSetMplsTtl(_actionid, decoder)
74 case 16:
75 return DecodeActionIdDecMplsTtl(_actionid, decoder)
76 case 17:
77 return DecodeActionIdPushVlan(_actionid, decoder)
78 case 18:
79 return DecodeActionIdPopVlan(_actionid, decoder)
80 case 19:
81 return DecodeActionIdPushMpls(_actionid, decoder)
82 case 20:
83 return DecodeActionIdPopMpls(_actionid, decoder)
84 case 21:
85 return DecodeActionIdSetQueue(_actionid, decoder)
86 case 22:
87 return DecodeActionIdGroup(_actionid, decoder)
88 case 23:
89 return DecodeActionIdSetNwTtl(_actionid, decoder)
90 case 24:
91 return DecodeActionIdDecNwTtl(_actionid, decoder)
92 case 25:
93 return DecodeActionIdSetField(_actionid, decoder)
94 case 26:
95 return DecodeActionIdPushPbb(_actionid, decoder)
96 case 27:
97 return DecodeActionIdPopPbb(_actionid, decoder)
98 case 65535:
99 return DecodeActionIdExperimenter(_actionid, decoder)
100 default:
101 return _actionid, nil
102 }
103}
104
105func NewActionId(_type uint16) *ActionId {
106 obj := &ActionId{}
107 obj.Type = _type
108 return obj
109}
110
111type ActionIdExperimenter struct {
112 *ActionId
113 Experimenter uint32
114}
115
116type IActionIdExperimenter interface {
117 IActionId
118 GetExperimenter() uint32
119}
120
121func (self *ActionIdExperimenter) GetExperimenter() uint32 {
122 return self.Experimenter
123}
124
125func (self *ActionIdExperimenter) SetExperimenter(v uint32) {
126 self.Experimenter = v
127}
128
129func (self *ActionIdExperimenter) Serialize(encoder *goloxi.Encoder) error {
130 if err := self.ActionId.Serialize(encoder); err != nil {
131 return err
132 }
133
134 encoder.PutUint32(uint32(self.Experimenter))
135
136 return nil
137}
138
139func DecodeActionIdExperimenter(parent *ActionId, decoder *goloxi.Decoder) (IActionIdExperimenter, error) {
140 _actionidexperimenter := &ActionIdExperimenter{ActionId: parent}
141 if decoder.Length() < 4 {
142 return nil, fmt.Errorf("ActionIdExperimenter packet too short: %d < 4", decoder.Length())
143 }
144 _actionidexperimenter.Experimenter = uint32(decoder.ReadUint32())
145
146 switch _actionidexperimenter.Experimenter {
147 case 8992:
148 return DecodeActionIdNicira(_actionidexperimenter, decoder)
149 case 6035143:
150 return DecodeActionIdBsn(_actionidexperimenter, decoder)
151 default:
152 return _actionidexperimenter, nil
153 }
154}
155
156func NewActionIdExperimenter(_experimenter uint32) *ActionIdExperimenter {
157 obj := &ActionIdExperimenter{
158 ActionId: NewActionId(65535),
159 }
160 obj.Experimenter = _experimenter
161 return obj
162}
163
164type ActionIdBsn struct {
165 *ActionIdExperimenter
166 Subtype uint32
167}
168
169type IActionIdBsn interface {
170 IActionIdExperimenter
171 GetSubtype() uint32
172}
173
174func (self *ActionIdBsn) GetSubtype() uint32 {
175 return self.Subtype
176}
177
178func (self *ActionIdBsn) SetSubtype(v uint32) {
179 self.Subtype = v
180}
181
182func (self *ActionIdBsn) Serialize(encoder *goloxi.Encoder) error {
183 if err := self.ActionIdExperimenter.Serialize(encoder); err != nil {
184 return err
185 }
186
187 encoder.PutUint32(uint32(self.Subtype))
188
189 return nil
190}
191
192func DecodeActionIdBsn(parent *ActionIdExperimenter, decoder *goloxi.Decoder) (IActionIdBsn, error) {
193 _actionidbsn := &ActionIdBsn{ActionIdExperimenter: parent}
194 if decoder.Length() < 4 {
195 return nil, fmt.Errorf("ActionIdBsn packet too short: %d < 4", decoder.Length())
196 }
197 _actionidbsn.Subtype = uint32(decoder.ReadUint32())
198
199 switch _actionidbsn.Subtype {
200 case 1:
201 return DecodeActionIdBsnMirror(_actionidbsn, decoder)
202 case 2:
203 return DecodeActionIdBsnSetTunnelDst(_actionidbsn, decoder)
204 case 4:
205 return DecodeActionIdBsnChecksum(_actionidbsn, decoder)
206 case 5:
207 return DecodeActionIdBsnGentable(_actionidbsn, decoder)
208 default:
209 return _actionidbsn, nil
210 }
211}
212
213func NewActionIdBsn(_subtype uint32) *ActionIdBsn {
214 obj := &ActionIdBsn{
215 ActionIdExperimenter: NewActionIdExperimenter(6035143),
216 }
217 obj.Subtype = _subtype
218 return obj
219}
220
221type ActionIdBsnChecksum struct {
222 *ActionIdBsn
223}
224
225type IActionIdBsnChecksum interface {
226 IActionIdBsn
227}
228
229func (self *ActionIdBsnChecksum) Serialize(encoder *goloxi.Encoder) error {
230 if err := self.ActionIdBsn.Serialize(encoder); err != nil {
231 return err
232 }
233
234 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
235
236 return nil
237}
238
239func DecodeActionIdBsnChecksum(parent *ActionIdBsn, decoder *goloxi.Decoder) (*ActionIdBsnChecksum, error) {
240 _actionidbsnchecksum := &ActionIdBsnChecksum{ActionIdBsn: parent}
241 return _actionidbsnchecksum, nil
242}
243
244func NewActionIdBsnChecksum() *ActionIdBsnChecksum {
245 obj := &ActionIdBsnChecksum{
246 ActionIdBsn: NewActionIdBsn(4),
247 }
248 return obj
249}
250
251type ActionIdBsnGentable struct {
252 *ActionIdBsn
253}
254
255type IActionIdBsnGentable interface {
256 IActionIdBsn
257}
258
259func (self *ActionIdBsnGentable) Serialize(encoder *goloxi.Encoder) error {
260 if err := self.ActionIdBsn.Serialize(encoder); err != nil {
261 return err
262 }
263
264 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
265
266 return nil
267}
268
269func DecodeActionIdBsnGentable(parent *ActionIdBsn, decoder *goloxi.Decoder) (*ActionIdBsnGentable, error) {
270 _actionidbsngentable := &ActionIdBsnGentable{ActionIdBsn: parent}
271 return _actionidbsngentable, nil
272}
273
274func NewActionIdBsnGentable() *ActionIdBsnGentable {
275 obj := &ActionIdBsnGentable{
276 ActionIdBsn: NewActionIdBsn(5),
277 }
278 return obj
279}
280
281type ActionIdBsnMirror struct {
282 *ActionIdBsn
283}
284
285type IActionIdBsnMirror interface {
286 IActionIdBsn
287}
288
289func (self *ActionIdBsnMirror) Serialize(encoder *goloxi.Encoder) error {
290 if err := self.ActionIdBsn.Serialize(encoder); err != nil {
291 return err
292 }
293
294 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
295
296 return nil
297}
298
299func DecodeActionIdBsnMirror(parent *ActionIdBsn, decoder *goloxi.Decoder) (*ActionIdBsnMirror, error) {
300 _actionidbsnmirror := &ActionIdBsnMirror{ActionIdBsn: parent}
301 return _actionidbsnmirror, nil
302}
303
304func NewActionIdBsnMirror() *ActionIdBsnMirror {
305 obj := &ActionIdBsnMirror{
306 ActionIdBsn: NewActionIdBsn(1),
307 }
308 return obj
309}
310
311type ActionIdBsnSetTunnelDst struct {
312 *ActionIdBsn
313}
314
315type IActionIdBsnSetTunnelDst interface {
316 IActionIdBsn
317}
318
319func (self *ActionIdBsnSetTunnelDst) Serialize(encoder *goloxi.Encoder) error {
320 if err := self.ActionIdBsn.Serialize(encoder); err != nil {
321 return err
322 }
323
324 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
325
326 return nil
327}
328
329func DecodeActionIdBsnSetTunnelDst(parent *ActionIdBsn, decoder *goloxi.Decoder) (*ActionIdBsnSetTunnelDst, error) {
330 _actionidbsnsettunneldst := &ActionIdBsnSetTunnelDst{ActionIdBsn: parent}
331 return _actionidbsnsettunneldst, nil
332}
333
334func NewActionIdBsnSetTunnelDst() *ActionIdBsnSetTunnelDst {
335 obj := &ActionIdBsnSetTunnelDst{
336 ActionIdBsn: NewActionIdBsn(2),
337 }
338 return obj
339}
340
341type ActionIdCopyTtlIn struct {
342 *ActionId
343}
344
345type IActionIdCopyTtlIn interface {
346 IActionId
347}
348
349func (self *ActionIdCopyTtlIn) Serialize(encoder *goloxi.Encoder) error {
350 if err := self.ActionId.Serialize(encoder); err != nil {
351 return err
352 }
353
354 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
355
356 return nil
357}
358
359func DecodeActionIdCopyTtlIn(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdCopyTtlIn, error) {
360 _actionidcopyttlin := &ActionIdCopyTtlIn{ActionId: parent}
361 return _actionidcopyttlin, nil
362}
363
364func NewActionIdCopyTtlIn() *ActionIdCopyTtlIn {
365 obj := &ActionIdCopyTtlIn{
366 ActionId: NewActionId(12),
367 }
368 return obj
369}
370
371type ActionIdCopyTtlOut struct {
372 *ActionId
373}
374
375type IActionIdCopyTtlOut interface {
376 IActionId
377}
378
379func (self *ActionIdCopyTtlOut) Serialize(encoder *goloxi.Encoder) error {
380 if err := self.ActionId.Serialize(encoder); err != nil {
381 return err
382 }
383
384 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
385
386 return nil
387}
388
389func DecodeActionIdCopyTtlOut(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdCopyTtlOut, error) {
390 _actionidcopyttlout := &ActionIdCopyTtlOut{ActionId: parent}
391 return _actionidcopyttlout, nil
392}
393
394func NewActionIdCopyTtlOut() *ActionIdCopyTtlOut {
395 obj := &ActionIdCopyTtlOut{
396 ActionId: NewActionId(11),
397 }
398 return obj
399}
400
401type ActionIdDecMplsTtl struct {
402 *ActionId
403}
404
405type IActionIdDecMplsTtl interface {
406 IActionId
407}
408
409func (self *ActionIdDecMplsTtl) Serialize(encoder *goloxi.Encoder) error {
410 if err := self.ActionId.Serialize(encoder); err != nil {
411 return err
412 }
413
414 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
415
416 return nil
417}
418
419func DecodeActionIdDecMplsTtl(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdDecMplsTtl, error) {
420 _actioniddecmplsttl := &ActionIdDecMplsTtl{ActionId: parent}
421 return _actioniddecmplsttl, nil
422}
423
424func NewActionIdDecMplsTtl() *ActionIdDecMplsTtl {
425 obj := &ActionIdDecMplsTtl{
426 ActionId: NewActionId(16),
427 }
428 return obj
429}
430
431type ActionIdDecNwTtl struct {
432 *ActionId
433}
434
435type IActionIdDecNwTtl interface {
436 IActionId
437}
438
439func (self *ActionIdDecNwTtl) Serialize(encoder *goloxi.Encoder) error {
440 if err := self.ActionId.Serialize(encoder); err != nil {
441 return err
442 }
443
444 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
445
446 return nil
447}
448
449func DecodeActionIdDecNwTtl(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdDecNwTtl, error) {
450 _actioniddecnwttl := &ActionIdDecNwTtl{ActionId: parent}
451 return _actioniddecnwttl, nil
452}
453
454func NewActionIdDecNwTtl() *ActionIdDecNwTtl {
455 obj := &ActionIdDecNwTtl{
456 ActionId: NewActionId(24),
457 }
458 return obj
459}
460
461type ActionIdGroup struct {
462 *ActionId
463}
464
465type IActionIdGroup interface {
466 IActionId
467}
468
469func (self *ActionIdGroup) Serialize(encoder *goloxi.Encoder) error {
470 if err := self.ActionId.Serialize(encoder); err != nil {
471 return err
472 }
473
474 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
475
476 return nil
477}
478
479func DecodeActionIdGroup(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdGroup, error) {
480 _actionidgroup := &ActionIdGroup{ActionId: parent}
481 return _actionidgroup, nil
482}
483
484func NewActionIdGroup() *ActionIdGroup {
485 obj := &ActionIdGroup{
486 ActionId: NewActionId(22),
487 }
488 return obj
489}
490
491type ActionIdNicira struct {
492 *ActionIdExperimenter
493 Subtype uint16
494}
495
496type IActionIdNicira interface {
497 IActionIdExperimenter
498 GetSubtype() uint16
499}
500
501func (self *ActionIdNicira) GetSubtype() uint16 {
502 return self.Subtype
503}
504
505func (self *ActionIdNicira) SetSubtype(v uint16) {
506 self.Subtype = v
507}
508
509func (self *ActionIdNicira) Serialize(encoder *goloxi.Encoder) error {
510 if err := self.ActionIdExperimenter.Serialize(encoder); err != nil {
511 return err
512 }
513
514 encoder.PutUint16(uint16(self.Subtype))
515
516 return nil
517}
518
519func DecodeActionIdNicira(parent *ActionIdExperimenter, decoder *goloxi.Decoder) (IActionIdNicira, error) {
520 _actionidnicira := &ActionIdNicira{ActionIdExperimenter: parent}
521 if decoder.Length() < 2 {
522 return nil, fmt.Errorf("ActionIdNicira packet too short: %d < 2", decoder.Length())
523 }
524 _actionidnicira.Subtype = uint16(decoder.ReadUint16())
525
526 switch _actionidnicira.Subtype {
527 case 1:
528 return DecodeActionIdNxResubmit(_actionidnicira, decoder)
529 case 2:
530 return DecodeActionIdNxSetTunnel(_actionidnicira, decoder)
531 case 4:
532 return DecodeActionIdNxSetQueue(_actionidnicira, decoder)
533 case 5:
534 return DecodeActionIdNxPopQueue(_actionidnicira, decoder)
535 case 6:
536 return DecodeActionIdNxRegMove(_actionidnicira, decoder)
537 case 7:
538 return DecodeActionIdNxRegLoad(_actionidnicira, decoder)
539 case 8:
540 return DecodeActionIdNxNote(_actionidnicira, decoder)
541 case 9:
542 return DecodeActionIdNxSetTunnel64(_actionidnicira, decoder)
543 case 10:
544 return DecodeActionIdNxMultipath(_actionidnicira, decoder)
545 case 12:
546 return DecodeActionIdNxBundle(_actionidnicira, decoder)
547 case 13:
548 return DecodeActionIdNxBundleLoadInPort(_actionidnicira, decoder)
549 case 14:
550 return DecodeActionIdResubmit(_actionidnicira, decoder)
551 case 15:
552 return DecodeActionIdNxOutputReg(_actionidnicira, decoder)
553 case 16:
554 return DecodeActionIdNxLearn(_actionidnicira, decoder)
555 case 17:
556 return DecodeActionIdNxExit(_actionidnicira, decoder)
557 case 18:
558 return DecodeActionIdNiciraDecTtl(_actionidnicira, decoder)
559 case 19:
560 return DecodeActionIdNxFinTimeout(_actionidnicira, decoder)
561 case 20:
562 return DecodeActionIdNxController(_actionidnicira, decoder)
563 case 21:
564 return DecodeActionIdNxDecTtlCntIds(_actionidnicira, decoder)
565 case 22:
566 return DecodeActionIdNxWriteMetadata(_actionidnicira, decoder)
567 case 23:
568 return DecodeActionIdNxPushMpls(_actionidnicira, decoder)
569 case 24:
570 return DecodeActionIdNxPopMpls(_actionidnicira, decoder)
571 case 25:
572 return DecodeActionIdNxSetMplsTtl(_actionidnicira, decoder)
573 case 26:
574 return DecodeActionIdNxDecMplsTtl(_actionidnicira, decoder)
575 case 27:
576 return DecodeActionIdNxStackPush(_actionidnicira, decoder)
577 case 28:
578 return DecodeActionIdNxStackPop(_actionidnicira, decoder)
579 case 29:
580 return DecodeActionIdNxSample(_actionidnicira, decoder)
581 case 30:
582 return DecodeActionIdNxSetMplsLabel(_actionidnicira, decoder)
583 case 31:
584 return DecodeActionIdNxSetMplsTc(_actionidnicira, decoder)
585 case 32:
586 return DecodeActionIdNxOutputReg2(_actionidnicira, decoder)
587 case 33:
588 return DecodeActionIdNxRegLoad2(_actionidnicira, decoder)
589 case 34:
590 return DecodeActionIdNxConjunction(_actionidnicira, decoder)
591 case 35:
592 return DecodeActionIdNxCt(_actionidnicira, decoder)
593 case 36:
594 return DecodeActionIdNxNat(_actionidnicira, decoder)
595 case 37:
596 return DecodeActionIdNxController2(_actionidnicira, decoder)
597 case 38:
598 return DecodeActionIdNxSample2(_actionidnicira, decoder)
599 case 39:
600 return DecodeActionIdNxOutputTrunc(_actionidnicira, decoder)
601 case 40:
602 return DecodeActionIdNxGroup(_actionidnicira, decoder)
603 case 41:
604 return DecodeActionIdNxSample3(_actionidnicira, decoder)
605 case 42:
606 return DecodeActionIdNxClone(_actionidnicira, decoder)
607 case 43:
608 return DecodeActionIdNxCtClear(_actionidnicira, decoder)
609 case 44:
610 return DecodeActionIdNxResubmitTableCt(_actionidnicira, decoder)
611 case 45:
612 return DecodeActionIdNxLearn2(_actionidnicira, decoder)
613 case 46:
614 return DecodeActionIdNxEncap(_actionidnicira, decoder)
615 case 47:
616 return DecodeActionIdNxDecap(_actionidnicira, decoder)
617 case 48:
618 return DecodeActionIdNxDecNshTtl(_actionidnicira, decoder)
619 case 254:
620 return DecodeActionIdNxDebugSlow(_actionidnicira, decoder)
621 case 255:
622 return DecodeActionIdNxDebugRecirc(_actionidnicira, decoder)
623 default:
624 return _actionidnicira, nil
625 }
626}
627
628func NewActionIdNicira(_subtype uint16) *ActionIdNicira {
629 obj := &ActionIdNicira{
630 ActionIdExperimenter: NewActionIdExperimenter(8992),
631 }
632 obj.Subtype = _subtype
633 return obj
634}
635
636type ActionIdNiciraDecTtl struct {
637 *ActionIdNicira
638}
639
640type IActionIdNiciraDecTtl interface {
641 IActionIdNicira
642}
643
644func (self *ActionIdNiciraDecTtl) Serialize(encoder *goloxi.Encoder) error {
645 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
646 return err
647 }
648
649 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
650
651 return nil
652}
653
654func DecodeActionIdNiciraDecTtl(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNiciraDecTtl, error) {
655 _actionidniciradecttl := &ActionIdNiciraDecTtl{ActionIdNicira: parent}
656 return _actionidniciradecttl, nil
657}
658
659func NewActionIdNiciraDecTtl() *ActionIdNiciraDecTtl {
660 obj := &ActionIdNiciraDecTtl{
661 ActionIdNicira: NewActionIdNicira(18),
662 }
663 return obj
664}
665
666type ActionIdNxBundle struct {
667 *ActionIdNicira
668}
669
670type IActionIdNxBundle interface {
671 IActionIdNicira
672}
673
674func (self *ActionIdNxBundle) Serialize(encoder *goloxi.Encoder) error {
675 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
676 return err
677 }
678
679 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
680
681 return nil
682}
683
684func DecodeActionIdNxBundle(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxBundle, error) {
685 _actionidnxbundle := &ActionIdNxBundle{ActionIdNicira: parent}
686 return _actionidnxbundle, nil
687}
688
689func NewActionIdNxBundle() *ActionIdNxBundle {
690 obj := &ActionIdNxBundle{
691 ActionIdNicira: NewActionIdNicira(12),
692 }
693 return obj
694}
695
696type ActionIdNxBundleLoad struct {
697 *ActionIdNicira
698 SlaveType ActionNxBundleSlaveType
699}
700
701type IActionIdNxBundleLoad interface {
702 IActionIdNicira
703 GetSlaveType() ActionNxBundleSlaveType
704}
705
706func (self *ActionIdNxBundleLoad) GetSlaveType() ActionNxBundleSlaveType {
707 return self.SlaveType
708}
709
710func (self *ActionIdNxBundleLoad) SetSlaveType(v ActionNxBundleSlaveType) {
711 self.SlaveType = v
712}
713
714func (self *ActionIdNxBundleLoad) Serialize(encoder *goloxi.Encoder) error {
715 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
716 return err
717 }
718
719 encoder.PutUint32(uint32(self.SlaveType))
720
721 return nil
722}
723
724func DecodeActionIdNxBundleLoad(parent *ActionIdNicira, decoder *goloxi.Decoder) (IActionIdNxBundleLoad, error) {
725 _actionidnxbundleload := &ActionIdNxBundleLoad{ActionIdNicira: parent}
726 if decoder.Length() < 4 {
727 return nil, fmt.Errorf("ActionIdNxBundleLoad packet too short: %d < 4", decoder.Length())
728 }
729 _actionidnxbundleload.SlaveType = ActionNxBundleSlaveType(decoder.ReadUint32())
730 return _actionidnxbundleload, nil
731}
732
733func NewActionIdNxBundleLoad(_slave_type ActionNxBundleSlaveType) *ActionIdNxBundleLoad {
734 obj := &ActionIdNxBundleLoad{
735 ActionIdNicira: NewActionIdNicira(13),
736 }
737 obj.SlaveType = _slave_type
738 return obj
739}
740
741type ActionIdNxBundleLoadInPort struct {
742 *ActionIdNicira
743 SlaveType ActionNxBundleSlaveType
744 NSlaves uint16
745}
746
747type IActionIdNxBundleLoadInPort interface {
748 IActionIdNicira
749 GetSlaveType() ActionNxBundleSlaveType
750 GetNSlaves() uint16
751}
752
753func (self *ActionIdNxBundleLoadInPort) GetSlaveType() ActionNxBundleSlaveType {
754 return self.SlaveType
755}
756
757func (self *ActionIdNxBundleLoadInPort) SetSlaveType(v ActionNxBundleSlaveType) {
758 self.SlaveType = v
759}
760
761func (self *ActionIdNxBundleLoadInPort) GetNSlaves() uint16 {
762 return self.NSlaves
763}
764
765func (self *ActionIdNxBundleLoadInPort) SetNSlaves(v uint16) {
766 self.NSlaves = v
767}
768
769func (self *ActionIdNxBundleLoadInPort) Serialize(encoder *goloxi.Encoder) error {
770 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
771 return err
772 }
773
774 encoder.PutUint32(uint32(self.SlaveType))
775 encoder.PutUint16(uint16(self.NSlaves))
776
777 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
778
779 return nil
780}
781
782func DecodeActionIdNxBundleLoadInPort(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxBundleLoadInPort, error) {
783 _actionidnxbundleloadinport := &ActionIdNxBundleLoadInPort{ActionIdNicira: parent}
784 if decoder.Length() < 6 {
785 return nil, fmt.Errorf("ActionIdNxBundleLoadInPort packet too short: %d < 6", decoder.Length())
786 }
787 _actionidnxbundleloadinport.SlaveType = ActionNxBundleSlaveType(decoder.ReadUint32())
788 _actionidnxbundleloadinport.NSlaves = uint16(decoder.ReadUint16())
789 return _actionidnxbundleloadinport, nil
790}
791
792func NewActionIdNxBundleLoadInPort() *ActionIdNxBundleLoadInPort {
793 obj := &ActionIdNxBundleLoadInPort{
794 ActionIdNicira: NewActionIdNicira(13),
795 }
796 return obj
797}
798
799type ActionIdNxClone struct {
800 *ActionIdNicira
801}
802
803type IActionIdNxClone interface {
804 IActionIdNicira
805}
806
807func (self *ActionIdNxClone) Serialize(encoder *goloxi.Encoder) error {
808 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
809 return err
810 }
811
812 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
813
814 return nil
815}
816
817func DecodeActionIdNxClone(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxClone, error) {
818 _actionidnxclone := &ActionIdNxClone{ActionIdNicira: parent}
819 return _actionidnxclone, nil
820}
821
822func NewActionIdNxClone() *ActionIdNxClone {
823 obj := &ActionIdNxClone{
824 ActionIdNicira: NewActionIdNicira(42),
825 }
826 return obj
827}
828
829type ActionIdNxConjunction struct {
830 *ActionIdNicira
831}
832
833type IActionIdNxConjunction interface {
834 IActionIdNicira
835}
836
837func (self *ActionIdNxConjunction) Serialize(encoder *goloxi.Encoder) error {
838 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
839 return err
840 }
841
842 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
843
844 return nil
845}
846
847func DecodeActionIdNxConjunction(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxConjunction, error) {
848 _actionidnxconjunction := &ActionIdNxConjunction{ActionIdNicira: parent}
849 return _actionidnxconjunction, nil
850}
851
852func NewActionIdNxConjunction() *ActionIdNxConjunction {
853 obj := &ActionIdNxConjunction{
854 ActionIdNicira: NewActionIdNicira(34),
855 }
856 return obj
857}
858
859type ActionIdNxController struct {
860 *ActionIdNicira
861}
862
863type IActionIdNxController interface {
864 IActionIdNicira
865}
866
867func (self *ActionIdNxController) Serialize(encoder *goloxi.Encoder) error {
868 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
869 return err
870 }
871
872 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
873
874 return nil
875}
876
877func DecodeActionIdNxController(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxController, error) {
878 _actionidnxcontroller := &ActionIdNxController{ActionIdNicira: parent}
879 return _actionidnxcontroller, nil
880}
881
882func NewActionIdNxController() *ActionIdNxController {
883 obj := &ActionIdNxController{
884 ActionIdNicira: NewActionIdNicira(20),
885 }
886 return obj
887}
888
889type ActionIdNxController2 struct {
890 *ActionIdNicira
891}
892
893type IActionIdNxController2 interface {
894 IActionIdNicira
895}
896
897func (self *ActionIdNxController2) Serialize(encoder *goloxi.Encoder) error {
898 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
899 return err
900 }
901
902 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
903
904 return nil
905}
906
907func DecodeActionIdNxController2(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxController2, error) {
908 _actionidnxcontroller2 := &ActionIdNxController2{ActionIdNicira: parent}
909 return _actionidnxcontroller2, nil
910}
911
912func NewActionIdNxController2() *ActionIdNxController2 {
913 obj := &ActionIdNxController2{
914 ActionIdNicira: NewActionIdNicira(37),
915 }
916 return obj
917}
918
919type ActionIdNxCt struct {
920 *ActionIdNicira
921}
922
923type IActionIdNxCt interface {
924 IActionIdNicira
925}
926
927func (self *ActionIdNxCt) Serialize(encoder *goloxi.Encoder) error {
928 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
929 return err
930 }
931
932 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
933
934 return nil
935}
936
937func DecodeActionIdNxCt(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxCt, error) {
938 _actionidnxct := &ActionIdNxCt{ActionIdNicira: parent}
939 return _actionidnxct, nil
940}
941
942func NewActionIdNxCt() *ActionIdNxCt {
943 obj := &ActionIdNxCt{
944 ActionIdNicira: NewActionIdNicira(35),
945 }
946 return obj
947}
948
949type ActionIdNxCtClear struct {
950 *ActionIdNicira
951}
952
953type IActionIdNxCtClear interface {
954 IActionIdNicira
955}
956
957func (self *ActionIdNxCtClear) Serialize(encoder *goloxi.Encoder) error {
958 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
959 return err
960 }
961
962 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
963
964 return nil
965}
966
967func DecodeActionIdNxCtClear(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxCtClear, error) {
968 _actionidnxctclear := &ActionIdNxCtClear{ActionIdNicira: parent}
969 return _actionidnxctclear, nil
970}
971
972func NewActionIdNxCtClear() *ActionIdNxCtClear {
973 obj := &ActionIdNxCtClear{
974 ActionIdNicira: NewActionIdNicira(43),
975 }
976 return obj
977}
978
979type ActionIdNxDebugRecirc struct {
980 *ActionIdNicira
981}
982
983type IActionIdNxDebugRecirc interface {
984 IActionIdNicira
985}
986
987func (self *ActionIdNxDebugRecirc) Serialize(encoder *goloxi.Encoder) error {
988 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
989 return err
990 }
991
992 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
993
994 return nil
995}
996
997func DecodeActionIdNxDebugRecirc(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxDebugRecirc, error) {
998 _actionidnxdebugrecirc := &ActionIdNxDebugRecirc{ActionIdNicira: parent}
999 return _actionidnxdebugrecirc, nil
1000}
1001
1002func NewActionIdNxDebugRecirc() *ActionIdNxDebugRecirc {
1003 obj := &ActionIdNxDebugRecirc{
1004 ActionIdNicira: NewActionIdNicira(255),
1005 }
1006 return obj
1007}
1008
1009type ActionIdNxDebugSlow struct {
1010 *ActionIdNicira
1011}
1012
1013type IActionIdNxDebugSlow interface {
1014 IActionIdNicira
1015}
1016
1017func (self *ActionIdNxDebugSlow) Serialize(encoder *goloxi.Encoder) error {
1018 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1019 return err
1020 }
1021
1022 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1023
1024 return nil
1025}
1026
1027func DecodeActionIdNxDebugSlow(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxDebugSlow, error) {
1028 _actionidnxdebugslow := &ActionIdNxDebugSlow{ActionIdNicira: parent}
1029 return _actionidnxdebugslow, nil
1030}
1031
1032func NewActionIdNxDebugSlow() *ActionIdNxDebugSlow {
1033 obj := &ActionIdNxDebugSlow{
1034 ActionIdNicira: NewActionIdNicira(254),
1035 }
1036 return obj
1037}
1038
1039type ActionIdNxDecMplsTtl struct {
1040 *ActionIdNicira
1041}
1042
1043type IActionIdNxDecMplsTtl interface {
1044 IActionIdNicira
1045}
1046
1047func (self *ActionIdNxDecMplsTtl) Serialize(encoder *goloxi.Encoder) error {
1048 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1049 return err
1050 }
1051
1052 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1053
1054 return nil
1055}
1056
1057func DecodeActionIdNxDecMplsTtl(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxDecMplsTtl, error) {
1058 _actionidnxdecmplsttl := &ActionIdNxDecMplsTtl{ActionIdNicira: parent}
1059 return _actionidnxdecmplsttl, nil
1060}
1061
1062func NewActionIdNxDecMplsTtl() *ActionIdNxDecMplsTtl {
1063 obj := &ActionIdNxDecMplsTtl{
1064 ActionIdNicira: NewActionIdNicira(26),
1065 }
1066 return obj
1067}
1068
1069type ActionIdNxDecNshTtl struct {
1070 *ActionIdNicira
1071}
1072
1073type IActionIdNxDecNshTtl interface {
1074 IActionIdNicira
1075}
1076
1077func (self *ActionIdNxDecNshTtl) Serialize(encoder *goloxi.Encoder) error {
1078 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1079 return err
1080 }
1081
1082 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1083
1084 return nil
1085}
1086
1087func DecodeActionIdNxDecNshTtl(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxDecNshTtl, error) {
1088 _actionidnxdecnshttl := &ActionIdNxDecNshTtl{ActionIdNicira: parent}
1089 return _actionidnxdecnshttl, nil
1090}
1091
1092func NewActionIdNxDecNshTtl() *ActionIdNxDecNshTtl {
1093 obj := &ActionIdNxDecNshTtl{
1094 ActionIdNicira: NewActionIdNicira(48),
1095 }
1096 return obj
1097}
1098
1099type ActionIdNxDecTtlCntIds struct {
1100 *ActionIdNicira
1101}
1102
1103type IActionIdNxDecTtlCntIds interface {
1104 IActionIdNicira
1105}
1106
1107func (self *ActionIdNxDecTtlCntIds) Serialize(encoder *goloxi.Encoder) error {
1108 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1109 return err
1110 }
1111
1112 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1113
1114 return nil
1115}
1116
1117func DecodeActionIdNxDecTtlCntIds(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxDecTtlCntIds, error) {
1118 _actionidnxdecttlcntids := &ActionIdNxDecTtlCntIds{ActionIdNicira: parent}
1119 return _actionidnxdecttlcntids, nil
1120}
1121
1122func NewActionIdNxDecTtlCntIds() *ActionIdNxDecTtlCntIds {
1123 obj := &ActionIdNxDecTtlCntIds{
1124 ActionIdNicira: NewActionIdNicira(21),
1125 }
1126 return obj
1127}
1128
1129type ActionIdNxDecap struct {
1130 *ActionIdNicira
1131}
1132
1133type IActionIdNxDecap interface {
1134 IActionIdNicira
1135}
1136
1137func (self *ActionIdNxDecap) Serialize(encoder *goloxi.Encoder) error {
1138 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1139 return err
1140 }
1141
1142 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1143
1144 return nil
1145}
1146
1147func DecodeActionIdNxDecap(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxDecap, error) {
1148 _actionidnxdecap := &ActionIdNxDecap{ActionIdNicira: parent}
1149 return _actionidnxdecap, nil
1150}
1151
1152func NewActionIdNxDecap() *ActionIdNxDecap {
1153 obj := &ActionIdNxDecap{
1154 ActionIdNicira: NewActionIdNicira(47),
1155 }
1156 return obj
1157}
1158
1159type ActionIdNxEncap struct {
1160 *ActionIdNicira
1161}
1162
1163type IActionIdNxEncap interface {
1164 IActionIdNicira
1165}
1166
1167func (self *ActionIdNxEncap) Serialize(encoder *goloxi.Encoder) error {
1168 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1169 return err
1170 }
1171
1172 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1173
1174 return nil
1175}
1176
1177func DecodeActionIdNxEncap(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxEncap, error) {
1178 _actionidnxencap := &ActionIdNxEncap{ActionIdNicira: parent}
1179 return _actionidnxencap, nil
1180}
1181
1182func NewActionIdNxEncap() *ActionIdNxEncap {
1183 obj := &ActionIdNxEncap{
1184 ActionIdNicira: NewActionIdNicira(46),
1185 }
1186 return obj
1187}
1188
1189type ActionIdNxExit struct {
1190 *ActionIdNicira
1191}
1192
1193type IActionIdNxExit interface {
1194 IActionIdNicira
1195}
1196
1197func (self *ActionIdNxExit) Serialize(encoder *goloxi.Encoder) error {
1198 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1199 return err
1200 }
1201
1202 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1203
1204 return nil
1205}
1206
1207func DecodeActionIdNxExit(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxExit, error) {
1208 _actionidnxexit := &ActionIdNxExit{ActionIdNicira: parent}
1209 return _actionidnxexit, nil
1210}
1211
1212func NewActionIdNxExit() *ActionIdNxExit {
1213 obj := &ActionIdNxExit{
1214 ActionIdNicira: NewActionIdNicira(17),
1215 }
1216 return obj
1217}
1218
1219type ActionIdNxFinTimeout struct {
1220 *ActionIdNicira
1221}
1222
1223type IActionIdNxFinTimeout interface {
1224 IActionIdNicira
1225}
1226
1227func (self *ActionIdNxFinTimeout) Serialize(encoder *goloxi.Encoder) error {
1228 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1229 return err
1230 }
1231
1232 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1233
1234 return nil
1235}
1236
1237func DecodeActionIdNxFinTimeout(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxFinTimeout, error) {
1238 _actionidnxfintimeout := &ActionIdNxFinTimeout{ActionIdNicira: parent}
1239 return _actionidnxfintimeout, nil
1240}
1241
1242func NewActionIdNxFinTimeout() *ActionIdNxFinTimeout {
1243 obj := &ActionIdNxFinTimeout{
1244 ActionIdNicira: NewActionIdNicira(19),
1245 }
1246 return obj
1247}
1248
1249type ActionIdNxGroup struct {
1250 *ActionIdNicira
1251}
1252
1253type IActionIdNxGroup interface {
1254 IActionIdNicira
1255}
1256
1257func (self *ActionIdNxGroup) Serialize(encoder *goloxi.Encoder) error {
1258 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1259 return err
1260 }
1261
1262 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1263
1264 return nil
1265}
1266
1267func DecodeActionIdNxGroup(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxGroup, error) {
1268 _actionidnxgroup := &ActionIdNxGroup{ActionIdNicira: parent}
1269 return _actionidnxgroup, nil
1270}
1271
1272func NewActionIdNxGroup() *ActionIdNxGroup {
1273 obj := &ActionIdNxGroup{
1274 ActionIdNicira: NewActionIdNicira(40),
1275 }
1276 return obj
1277}
1278
1279type ActionIdNxLearn struct {
1280 *ActionIdNicira
1281}
1282
1283type IActionIdNxLearn interface {
1284 IActionIdNicira
1285}
1286
1287func (self *ActionIdNxLearn) Serialize(encoder *goloxi.Encoder) error {
1288 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1289 return err
1290 }
1291
1292 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1293
1294 return nil
1295}
1296
1297func DecodeActionIdNxLearn(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxLearn, error) {
1298 _actionidnxlearn := &ActionIdNxLearn{ActionIdNicira: parent}
1299 return _actionidnxlearn, nil
1300}
1301
1302func NewActionIdNxLearn() *ActionIdNxLearn {
1303 obj := &ActionIdNxLearn{
1304 ActionIdNicira: NewActionIdNicira(16),
1305 }
1306 return obj
1307}
1308
1309type ActionIdNxLearn2 struct {
1310 *ActionIdNicira
1311}
1312
1313type IActionIdNxLearn2 interface {
1314 IActionIdNicira
1315}
1316
1317func (self *ActionIdNxLearn2) Serialize(encoder *goloxi.Encoder) error {
1318 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1319 return err
1320 }
1321
1322 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1323
1324 return nil
1325}
1326
1327func DecodeActionIdNxLearn2(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxLearn2, error) {
1328 _actionidnxlearn2 := &ActionIdNxLearn2{ActionIdNicira: parent}
1329 return _actionidnxlearn2, nil
1330}
1331
1332func NewActionIdNxLearn2() *ActionIdNxLearn2 {
1333 obj := &ActionIdNxLearn2{
1334 ActionIdNicira: NewActionIdNicira(45),
1335 }
1336 return obj
1337}
1338
1339type ActionIdNxMultipath struct {
1340 *ActionIdNicira
1341}
1342
1343type IActionIdNxMultipath interface {
1344 IActionIdNicira
1345}
1346
1347func (self *ActionIdNxMultipath) Serialize(encoder *goloxi.Encoder) error {
1348 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1349 return err
1350 }
1351
1352 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1353
1354 return nil
1355}
1356
1357func DecodeActionIdNxMultipath(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxMultipath, error) {
1358 _actionidnxmultipath := &ActionIdNxMultipath{ActionIdNicira: parent}
1359 return _actionidnxmultipath, nil
1360}
1361
1362func NewActionIdNxMultipath() *ActionIdNxMultipath {
1363 obj := &ActionIdNxMultipath{
1364 ActionIdNicira: NewActionIdNicira(10),
1365 }
1366 return obj
1367}
1368
1369type ActionIdNxNat struct {
1370 *ActionIdNicira
1371}
1372
1373type IActionIdNxNat interface {
1374 IActionIdNicira
1375}
1376
1377func (self *ActionIdNxNat) Serialize(encoder *goloxi.Encoder) error {
1378 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1379 return err
1380 }
1381
1382 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1383
1384 return nil
1385}
1386
1387func DecodeActionIdNxNat(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxNat, error) {
1388 _actionidnxnat := &ActionIdNxNat{ActionIdNicira: parent}
1389 return _actionidnxnat, nil
1390}
1391
1392func NewActionIdNxNat() *ActionIdNxNat {
1393 obj := &ActionIdNxNat{
1394 ActionIdNicira: NewActionIdNicira(36),
1395 }
1396 return obj
1397}
1398
1399type ActionIdNxNote struct {
1400 *ActionIdNicira
1401}
1402
1403type IActionIdNxNote interface {
1404 IActionIdNicira
1405}
1406
1407func (self *ActionIdNxNote) Serialize(encoder *goloxi.Encoder) error {
1408 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1409 return err
1410 }
1411
1412 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1413
1414 return nil
1415}
1416
1417func DecodeActionIdNxNote(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxNote, error) {
1418 _actionidnxnote := &ActionIdNxNote{ActionIdNicira: parent}
1419 return _actionidnxnote, nil
1420}
1421
1422func NewActionIdNxNote() *ActionIdNxNote {
1423 obj := &ActionIdNxNote{
1424 ActionIdNicira: NewActionIdNicira(8),
1425 }
1426 return obj
1427}
1428
1429type ActionIdNxOutputReg struct {
1430 *ActionIdNicira
1431}
1432
1433type IActionIdNxOutputReg interface {
1434 IActionIdNicira
1435}
1436
1437func (self *ActionIdNxOutputReg) Serialize(encoder *goloxi.Encoder) error {
1438 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1439 return err
1440 }
1441
1442 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1443
1444 return nil
1445}
1446
1447func DecodeActionIdNxOutputReg(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxOutputReg, error) {
1448 _actionidnxoutputreg := &ActionIdNxOutputReg{ActionIdNicira: parent}
1449 return _actionidnxoutputreg, nil
1450}
1451
1452func NewActionIdNxOutputReg() *ActionIdNxOutputReg {
1453 obj := &ActionIdNxOutputReg{
1454 ActionIdNicira: NewActionIdNicira(15),
1455 }
1456 return obj
1457}
1458
1459type ActionIdNxOutputReg2 struct {
1460 *ActionIdNicira
1461}
1462
1463type IActionIdNxOutputReg2 interface {
1464 IActionIdNicira
1465}
1466
1467func (self *ActionIdNxOutputReg2) Serialize(encoder *goloxi.Encoder) error {
1468 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1469 return err
1470 }
1471
1472 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1473
1474 return nil
1475}
1476
1477func DecodeActionIdNxOutputReg2(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxOutputReg2, error) {
1478 _actionidnxoutputreg2 := &ActionIdNxOutputReg2{ActionIdNicira: parent}
1479 return _actionidnxoutputreg2, nil
1480}
1481
1482func NewActionIdNxOutputReg2() *ActionIdNxOutputReg2 {
1483 obj := &ActionIdNxOutputReg2{
1484 ActionIdNicira: NewActionIdNicira(32),
1485 }
1486 return obj
1487}
1488
1489type ActionIdNxOutputTrunc struct {
1490 *ActionIdNicira
1491}
1492
1493type IActionIdNxOutputTrunc interface {
1494 IActionIdNicira
1495}
1496
1497func (self *ActionIdNxOutputTrunc) Serialize(encoder *goloxi.Encoder) error {
1498 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1499 return err
1500 }
1501
1502 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1503
1504 return nil
1505}
1506
1507func DecodeActionIdNxOutputTrunc(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxOutputTrunc, error) {
1508 _actionidnxoutputtrunc := &ActionIdNxOutputTrunc{ActionIdNicira: parent}
1509 return _actionidnxoutputtrunc, nil
1510}
1511
1512func NewActionIdNxOutputTrunc() *ActionIdNxOutputTrunc {
1513 obj := &ActionIdNxOutputTrunc{
1514 ActionIdNicira: NewActionIdNicira(39),
1515 }
1516 return obj
1517}
1518
1519type ActionIdNxPopMpls struct {
1520 *ActionIdNicira
1521}
1522
1523type IActionIdNxPopMpls interface {
1524 IActionIdNicira
1525}
1526
1527func (self *ActionIdNxPopMpls) Serialize(encoder *goloxi.Encoder) error {
1528 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1529 return err
1530 }
1531
1532 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1533
1534 return nil
1535}
1536
1537func DecodeActionIdNxPopMpls(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxPopMpls, error) {
1538 _actionidnxpopmpls := &ActionIdNxPopMpls{ActionIdNicira: parent}
1539 return _actionidnxpopmpls, nil
1540}
1541
1542func NewActionIdNxPopMpls() *ActionIdNxPopMpls {
1543 obj := &ActionIdNxPopMpls{
1544 ActionIdNicira: NewActionIdNicira(24),
1545 }
1546 return obj
1547}
1548
1549type ActionIdNxPopQueue struct {
1550 *ActionIdNicira
1551}
1552
1553type IActionIdNxPopQueue interface {
1554 IActionIdNicira
1555}
1556
1557func (self *ActionIdNxPopQueue) Serialize(encoder *goloxi.Encoder) error {
1558 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1559 return err
1560 }
1561
1562 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1563
1564 return nil
1565}
1566
1567func DecodeActionIdNxPopQueue(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxPopQueue, error) {
1568 _actionidnxpopqueue := &ActionIdNxPopQueue{ActionIdNicira: parent}
1569 return _actionidnxpopqueue, nil
1570}
1571
1572func NewActionIdNxPopQueue() *ActionIdNxPopQueue {
1573 obj := &ActionIdNxPopQueue{
1574 ActionIdNicira: NewActionIdNicira(5),
1575 }
1576 return obj
1577}
1578
1579type ActionIdNxPushMpls struct {
1580 *ActionIdNicira
1581}
1582
1583type IActionIdNxPushMpls interface {
1584 IActionIdNicira
1585}
1586
1587func (self *ActionIdNxPushMpls) Serialize(encoder *goloxi.Encoder) error {
1588 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1589 return err
1590 }
1591
1592 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1593
1594 return nil
1595}
1596
1597func DecodeActionIdNxPushMpls(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxPushMpls, error) {
1598 _actionidnxpushmpls := &ActionIdNxPushMpls{ActionIdNicira: parent}
1599 return _actionidnxpushmpls, nil
1600}
1601
1602func NewActionIdNxPushMpls() *ActionIdNxPushMpls {
1603 obj := &ActionIdNxPushMpls{
1604 ActionIdNicira: NewActionIdNicira(23),
1605 }
1606 return obj
1607}
1608
1609type ActionIdNxRegLoad struct {
1610 *ActionIdNicira
1611}
1612
1613type IActionIdNxRegLoad interface {
1614 IActionIdNicira
1615}
1616
1617func (self *ActionIdNxRegLoad) Serialize(encoder *goloxi.Encoder) error {
1618 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1619 return err
1620 }
1621
1622 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1623
1624 return nil
1625}
1626
1627func DecodeActionIdNxRegLoad(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxRegLoad, error) {
1628 _actionidnxregload := &ActionIdNxRegLoad{ActionIdNicira: parent}
1629 return _actionidnxregload, nil
1630}
1631
1632func NewActionIdNxRegLoad() *ActionIdNxRegLoad {
1633 obj := &ActionIdNxRegLoad{
1634 ActionIdNicira: NewActionIdNicira(7),
1635 }
1636 return obj
1637}
1638
1639type ActionIdNxRegLoad2 struct {
1640 *ActionIdNicira
1641}
1642
1643type IActionIdNxRegLoad2 interface {
1644 IActionIdNicira
1645}
1646
1647func (self *ActionIdNxRegLoad2) Serialize(encoder *goloxi.Encoder) error {
1648 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1649 return err
1650 }
1651
1652 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1653
1654 return nil
1655}
1656
1657func DecodeActionIdNxRegLoad2(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxRegLoad2, error) {
1658 _actionidnxregload2 := &ActionIdNxRegLoad2{ActionIdNicira: parent}
1659 return _actionidnxregload2, nil
1660}
1661
1662func NewActionIdNxRegLoad2() *ActionIdNxRegLoad2 {
1663 obj := &ActionIdNxRegLoad2{
1664 ActionIdNicira: NewActionIdNicira(33),
1665 }
1666 return obj
1667}
1668
1669type ActionIdNxRegMove struct {
1670 *ActionIdNicira
1671}
1672
1673type IActionIdNxRegMove interface {
1674 IActionIdNicira
1675}
1676
1677func (self *ActionIdNxRegMove) Serialize(encoder *goloxi.Encoder) error {
1678 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1679 return err
1680 }
1681
1682 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1683
1684 return nil
1685}
1686
1687func DecodeActionIdNxRegMove(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxRegMove, error) {
1688 _actionidnxregmove := &ActionIdNxRegMove{ActionIdNicira: parent}
1689 return _actionidnxregmove, nil
1690}
1691
1692func NewActionIdNxRegMove() *ActionIdNxRegMove {
1693 obj := &ActionIdNxRegMove{
1694 ActionIdNicira: NewActionIdNicira(6),
1695 }
1696 return obj
1697}
1698
1699type ActionIdNxResubmit struct {
1700 *ActionIdNicira
1701}
1702
1703type IActionIdNxResubmit interface {
1704 IActionIdNicira
1705}
1706
1707func (self *ActionIdNxResubmit) Serialize(encoder *goloxi.Encoder) error {
1708 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1709 return err
1710 }
1711
1712 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1713
1714 return nil
1715}
1716
1717func DecodeActionIdNxResubmit(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxResubmit, error) {
1718 _actionidnxresubmit := &ActionIdNxResubmit{ActionIdNicira: parent}
1719 return _actionidnxresubmit, nil
1720}
1721
1722func NewActionIdNxResubmit() *ActionIdNxResubmit {
1723 obj := &ActionIdNxResubmit{
1724 ActionIdNicira: NewActionIdNicira(1),
1725 }
1726 return obj
1727}
1728
1729type ActionIdNxResubmitTable struct {
1730 *ActionIdNicira
1731}
1732
1733type IActionIdNxResubmitTable interface {
1734 IActionIdNicira
1735}
1736
1737func (self *ActionIdNxResubmitTable) Serialize(encoder *goloxi.Encoder) error {
1738 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1739 return err
1740 }
1741
1742 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1743
1744 return nil
1745}
1746
1747func DecodeActionIdNxResubmitTable(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxResubmitTable, error) {
1748 _actionidnxresubmittable := &ActionIdNxResubmitTable{ActionIdNicira: parent}
1749 return _actionidnxresubmittable, nil
1750}
1751
1752func NewActionIdNxResubmitTable() *ActionIdNxResubmitTable {
1753 obj := &ActionIdNxResubmitTable{
1754 ActionIdNicira: NewActionIdNicira(14),
1755 }
1756 return obj
1757}
1758
1759type ActionIdNxResubmitTableCt struct {
1760 *ActionIdNicira
1761}
1762
1763type IActionIdNxResubmitTableCt interface {
1764 IActionIdNicira
1765}
1766
1767func (self *ActionIdNxResubmitTableCt) Serialize(encoder *goloxi.Encoder) error {
1768 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1769 return err
1770 }
1771
1772 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1773
1774 return nil
1775}
1776
1777func DecodeActionIdNxResubmitTableCt(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxResubmitTableCt, error) {
1778 _actionidnxresubmittablect := &ActionIdNxResubmitTableCt{ActionIdNicira: parent}
1779 return _actionidnxresubmittablect, nil
1780}
1781
1782func NewActionIdNxResubmitTableCt() *ActionIdNxResubmitTableCt {
1783 obj := &ActionIdNxResubmitTableCt{
1784 ActionIdNicira: NewActionIdNicira(44),
1785 }
1786 return obj
1787}
1788
1789type ActionIdNxSample struct {
1790 *ActionIdNicira
1791}
1792
1793type IActionIdNxSample interface {
1794 IActionIdNicira
1795}
1796
1797func (self *ActionIdNxSample) Serialize(encoder *goloxi.Encoder) error {
1798 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1799 return err
1800 }
1801
1802 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1803
1804 return nil
1805}
1806
1807func DecodeActionIdNxSample(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxSample, error) {
1808 _actionidnxsample := &ActionIdNxSample{ActionIdNicira: parent}
1809 return _actionidnxsample, nil
1810}
1811
1812func NewActionIdNxSample() *ActionIdNxSample {
1813 obj := &ActionIdNxSample{
1814 ActionIdNicira: NewActionIdNicira(29),
1815 }
1816 return obj
1817}
1818
1819type ActionIdNxSample2 struct {
1820 *ActionIdNicira
1821}
1822
1823type IActionIdNxSample2 interface {
1824 IActionIdNicira
1825}
1826
1827func (self *ActionIdNxSample2) Serialize(encoder *goloxi.Encoder) error {
1828 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1829 return err
1830 }
1831
1832 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1833
1834 return nil
1835}
1836
1837func DecodeActionIdNxSample2(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxSample2, error) {
1838 _actionidnxsample2 := &ActionIdNxSample2{ActionIdNicira: parent}
1839 return _actionidnxsample2, nil
1840}
1841
1842func NewActionIdNxSample2() *ActionIdNxSample2 {
1843 obj := &ActionIdNxSample2{
1844 ActionIdNicira: NewActionIdNicira(38),
1845 }
1846 return obj
1847}
1848
1849type ActionIdNxSample3 struct {
1850 *ActionIdNicira
1851}
1852
1853type IActionIdNxSample3 interface {
1854 IActionIdNicira
1855}
1856
1857func (self *ActionIdNxSample3) Serialize(encoder *goloxi.Encoder) error {
1858 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1859 return err
1860 }
1861
1862 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1863
1864 return nil
1865}
1866
1867func DecodeActionIdNxSample3(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxSample3, error) {
1868 _actionidnxsample3 := &ActionIdNxSample3{ActionIdNicira: parent}
1869 return _actionidnxsample3, nil
1870}
1871
1872func NewActionIdNxSample3() *ActionIdNxSample3 {
1873 obj := &ActionIdNxSample3{
1874 ActionIdNicira: NewActionIdNicira(41),
1875 }
1876 return obj
1877}
1878
1879type ActionIdNxSetMplsLabel struct {
1880 *ActionIdNicira
1881}
1882
1883type IActionIdNxSetMplsLabel interface {
1884 IActionIdNicira
1885}
1886
1887func (self *ActionIdNxSetMplsLabel) Serialize(encoder *goloxi.Encoder) error {
1888 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1889 return err
1890 }
1891
1892 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1893
1894 return nil
1895}
1896
1897func DecodeActionIdNxSetMplsLabel(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxSetMplsLabel, error) {
1898 _actionidnxsetmplslabel := &ActionIdNxSetMplsLabel{ActionIdNicira: parent}
1899 return _actionidnxsetmplslabel, nil
1900}
1901
1902func NewActionIdNxSetMplsLabel() *ActionIdNxSetMplsLabel {
1903 obj := &ActionIdNxSetMplsLabel{
1904 ActionIdNicira: NewActionIdNicira(30),
1905 }
1906 return obj
1907}
1908
1909type ActionIdNxSetMplsTc struct {
1910 *ActionIdNicira
1911}
1912
1913type IActionIdNxSetMplsTc interface {
1914 IActionIdNicira
1915}
1916
1917func (self *ActionIdNxSetMplsTc) Serialize(encoder *goloxi.Encoder) error {
1918 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1919 return err
1920 }
1921
1922 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1923
1924 return nil
1925}
1926
1927func DecodeActionIdNxSetMplsTc(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxSetMplsTc, error) {
1928 _actionidnxsetmplstc := &ActionIdNxSetMplsTc{ActionIdNicira: parent}
1929 return _actionidnxsetmplstc, nil
1930}
1931
1932func NewActionIdNxSetMplsTc() *ActionIdNxSetMplsTc {
1933 obj := &ActionIdNxSetMplsTc{
1934 ActionIdNicira: NewActionIdNicira(31),
1935 }
1936 return obj
1937}
1938
1939type ActionIdNxSetMplsTtl struct {
1940 *ActionIdNicira
1941}
1942
1943type IActionIdNxSetMplsTtl interface {
1944 IActionIdNicira
1945}
1946
1947func (self *ActionIdNxSetMplsTtl) Serialize(encoder *goloxi.Encoder) error {
1948 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1949 return err
1950 }
1951
1952 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1953
1954 return nil
1955}
1956
1957func DecodeActionIdNxSetMplsTtl(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxSetMplsTtl, error) {
1958 _actionidnxsetmplsttl := &ActionIdNxSetMplsTtl{ActionIdNicira: parent}
1959 return _actionidnxsetmplsttl, nil
1960}
1961
1962func NewActionIdNxSetMplsTtl() *ActionIdNxSetMplsTtl {
1963 obj := &ActionIdNxSetMplsTtl{
1964 ActionIdNicira: NewActionIdNicira(25),
1965 }
1966 return obj
1967}
1968
1969type ActionIdNxSetQueue struct {
1970 *ActionIdNicira
1971}
1972
1973type IActionIdNxSetQueue interface {
1974 IActionIdNicira
1975}
1976
1977func (self *ActionIdNxSetQueue) Serialize(encoder *goloxi.Encoder) error {
1978 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
1979 return err
1980 }
1981
1982 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
1983
1984 return nil
1985}
1986
1987func DecodeActionIdNxSetQueue(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxSetQueue, error) {
1988 _actionidnxsetqueue := &ActionIdNxSetQueue{ActionIdNicira: parent}
1989 return _actionidnxsetqueue, nil
1990}
1991
1992func NewActionIdNxSetQueue() *ActionIdNxSetQueue {
1993 obj := &ActionIdNxSetQueue{
1994 ActionIdNicira: NewActionIdNicira(4),
1995 }
1996 return obj
1997}
1998
1999type ActionIdNxSetTunnel struct {
2000 *ActionIdNicira
2001}
2002
2003type IActionIdNxSetTunnel interface {
2004 IActionIdNicira
2005}
2006
2007func (self *ActionIdNxSetTunnel) Serialize(encoder *goloxi.Encoder) error {
2008 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
2009 return err
2010 }
2011
2012 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2013
2014 return nil
2015}
2016
2017func DecodeActionIdNxSetTunnel(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxSetTunnel, error) {
2018 _actionidnxsettunnel := &ActionIdNxSetTunnel{ActionIdNicira: parent}
2019 return _actionidnxsettunnel, nil
2020}
2021
2022func NewActionIdNxSetTunnel() *ActionIdNxSetTunnel {
2023 obj := &ActionIdNxSetTunnel{
2024 ActionIdNicira: NewActionIdNicira(2),
2025 }
2026 return obj
2027}
2028
2029type ActionIdNxSetTunnel64 struct {
2030 *ActionIdNicira
2031}
2032
2033type IActionIdNxSetTunnel64 interface {
2034 IActionIdNicira
2035}
2036
2037func (self *ActionIdNxSetTunnel64) Serialize(encoder *goloxi.Encoder) error {
2038 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
2039 return err
2040 }
2041
2042 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2043
2044 return nil
2045}
2046
2047func DecodeActionIdNxSetTunnel64(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxSetTunnel64, error) {
2048 _actionidnxsettunnel64 := &ActionIdNxSetTunnel64{ActionIdNicira: parent}
2049 return _actionidnxsettunnel64, nil
2050}
2051
2052func NewActionIdNxSetTunnel64() *ActionIdNxSetTunnel64 {
2053 obj := &ActionIdNxSetTunnel64{
2054 ActionIdNicira: NewActionIdNicira(9),
2055 }
2056 return obj
2057}
2058
2059type ActionIdNxStackPop struct {
2060 *ActionIdNicira
2061}
2062
2063type IActionIdNxStackPop interface {
2064 IActionIdNicira
2065}
2066
2067func (self *ActionIdNxStackPop) Serialize(encoder *goloxi.Encoder) error {
2068 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
2069 return err
2070 }
2071
2072 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2073
2074 return nil
2075}
2076
2077func DecodeActionIdNxStackPop(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxStackPop, error) {
2078 _actionidnxstackpop := &ActionIdNxStackPop{ActionIdNicira: parent}
2079 return _actionidnxstackpop, nil
2080}
2081
2082func NewActionIdNxStackPop() *ActionIdNxStackPop {
2083 obj := &ActionIdNxStackPop{
2084 ActionIdNicira: NewActionIdNicira(28),
2085 }
2086 return obj
2087}
2088
2089type ActionIdNxStackPush struct {
2090 *ActionIdNicira
2091}
2092
2093type IActionIdNxStackPush interface {
2094 IActionIdNicira
2095}
2096
2097func (self *ActionIdNxStackPush) Serialize(encoder *goloxi.Encoder) error {
2098 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
2099 return err
2100 }
2101
2102 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2103
2104 return nil
2105}
2106
2107func DecodeActionIdNxStackPush(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxStackPush, error) {
2108 _actionidnxstackpush := &ActionIdNxStackPush{ActionIdNicira: parent}
2109 return _actionidnxstackpush, nil
2110}
2111
2112func NewActionIdNxStackPush() *ActionIdNxStackPush {
2113 obj := &ActionIdNxStackPush{
2114 ActionIdNicira: NewActionIdNicira(27),
2115 }
2116 return obj
2117}
2118
2119type ActionIdNxWriteMetadata struct {
2120 *ActionIdNicira
2121}
2122
2123type IActionIdNxWriteMetadata interface {
2124 IActionIdNicira
2125}
2126
2127func (self *ActionIdNxWriteMetadata) Serialize(encoder *goloxi.Encoder) error {
2128 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
2129 return err
2130 }
2131
2132 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2133
2134 return nil
2135}
2136
2137func DecodeActionIdNxWriteMetadata(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdNxWriteMetadata, error) {
2138 _actionidnxwritemetadata := &ActionIdNxWriteMetadata{ActionIdNicira: parent}
2139 return _actionidnxwritemetadata, nil
2140}
2141
2142func NewActionIdNxWriteMetadata() *ActionIdNxWriteMetadata {
2143 obj := &ActionIdNxWriteMetadata{
2144 ActionIdNicira: NewActionIdNicira(22),
2145 }
2146 return obj
2147}
2148
2149type ActionIdOutput struct {
2150 *ActionId
2151}
2152
2153type IActionIdOutput interface {
2154 IActionId
2155}
2156
2157func (self *ActionIdOutput) Serialize(encoder *goloxi.Encoder) error {
2158 if err := self.ActionId.Serialize(encoder); err != nil {
2159 return err
2160 }
2161
2162 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2163
2164 return nil
2165}
2166
2167func DecodeActionIdOutput(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdOutput, error) {
2168 _actionidoutput := &ActionIdOutput{ActionId: parent}
2169 return _actionidoutput, nil
2170}
2171
2172func NewActionIdOutput() *ActionIdOutput {
2173 obj := &ActionIdOutput{
2174 ActionId: NewActionId(0),
2175 }
2176 return obj
2177}
2178
2179type ActionIdPopMpls struct {
2180 *ActionId
2181}
2182
2183type IActionIdPopMpls interface {
2184 IActionId
2185}
2186
2187func (self *ActionIdPopMpls) Serialize(encoder *goloxi.Encoder) error {
2188 if err := self.ActionId.Serialize(encoder); err != nil {
2189 return err
2190 }
2191
2192 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2193
2194 return nil
2195}
2196
2197func DecodeActionIdPopMpls(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdPopMpls, error) {
2198 _actionidpopmpls := &ActionIdPopMpls{ActionId: parent}
2199 return _actionidpopmpls, nil
2200}
2201
2202func NewActionIdPopMpls() *ActionIdPopMpls {
2203 obj := &ActionIdPopMpls{
2204 ActionId: NewActionId(20),
2205 }
2206 return obj
2207}
2208
2209type ActionIdPopPbb struct {
2210 *ActionId
2211}
2212
2213type IActionIdPopPbb interface {
2214 IActionId
2215}
2216
2217func (self *ActionIdPopPbb) Serialize(encoder *goloxi.Encoder) error {
2218 if err := self.ActionId.Serialize(encoder); err != nil {
2219 return err
2220 }
2221
2222 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2223
2224 return nil
2225}
2226
2227func DecodeActionIdPopPbb(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdPopPbb, error) {
2228 _actionidpoppbb := &ActionIdPopPbb{ActionId: parent}
2229 return _actionidpoppbb, nil
2230}
2231
2232func NewActionIdPopPbb() *ActionIdPopPbb {
2233 obj := &ActionIdPopPbb{
2234 ActionId: NewActionId(27),
2235 }
2236 return obj
2237}
2238
2239type ActionIdPopVlan struct {
2240 *ActionId
2241}
2242
2243type IActionIdPopVlan interface {
2244 IActionId
2245}
2246
2247func (self *ActionIdPopVlan) Serialize(encoder *goloxi.Encoder) error {
2248 if err := self.ActionId.Serialize(encoder); err != nil {
2249 return err
2250 }
2251
2252 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2253
2254 return nil
2255}
2256
2257func DecodeActionIdPopVlan(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdPopVlan, error) {
2258 _actionidpopvlan := &ActionIdPopVlan{ActionId: parent}
2259 return _actionidpopvlan, nil
2260}
2261
2262func NewActionIdPopVlan() *ActionIdPopVlan {
2263 obj := &ActionIdPopVlan{
2264 ActionId: NewActionId(18),
2265 }
2266 return obj
2267}
2268
2269type ActionIdPushMpls struct {
2270 *ActionId
2271}
2272
2273type IActionIdPushMpls interface {
2274 IActionId
2275}
2276
2277func (self *ActionIdPushMpls) Serialize(encoder *goloxi.Encoder) error {
2278 if err := self.ActionId.Serialize(encoder); err != nil {
2279 return err
2280 }
2281
2282 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2283
2284 return nil
2285}
2286
2287func DecodeActionIdPushMpls(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdPushMpls, error) {
2288 _actionidpushmpls := &ActionIdPushMpls{ActionId: parent}
2289 return _actionidpushmpls, nil
2290}
2291
2292func NewActionIdPushMpls() *ActionIdPushMpls {
2293 obj := &ActionIdPushMpls{
2294 ActionId: NewActionId(19),
2295 }
2296 return obj
2297}
2298
2299type ActionIdPushPbb struct {
2300 *ActionId
2301}
2302
2303type IActionIdPushPbb interface {
2304 IActionId
2305}
2306
2307func (self *ActionIdPushPbb) Serialize(encoder *goloxi.Encoder) error {
2308 if err := self.ActionId.Serialize(encoder); err != nil {
2309 return err
2310 }
2311
2312 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2313
2314 return nil
2315}
2316
2317func DecodeActionIdPushPbb(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdPushPbb, error) {
2318 _actionidpushpbb := &ActionIdPushPbb{ActionId: parent}
2319 return _actionidpushpbb, nil
2320}
2321
2322func NewActionIdPushPbb() *ActionIdPushPbb {
2323 obj := &ActionIdPushPbb{
2324 ActionId: NewActionId(26),
2325 }
2326 return obj
2327}
2328
2329type ActionIdPushVlan struct {
2330 *ActionId
2331}
2332
2333type IActionIdPushVlan interface {
2334 IActionId
2335}
2336
2337func (self *ActionIdPushVlan) Serialize(encoder *goloxi.Encoder) error {
2338 if err := self.ActionId.Serialize(encoder); err != nil {
2339 return err
2340 }
2341
2342 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2343
2344 return nil
2345}
2346
2347func DecodeActionIdPushVlan(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdPushVlan, error) {
2348 _actionidpushvlan := &ActionIdPushVlan{ActionId: parent}
2349 return _actionidpushvlan, nil
2350}
2351
2352func NewActionIdPushVlan() *ActionIdPushVlan {
2353 obj := &ActionIdPushVlan{
2354 ActionId: NewActionId(17),
2355 }
2356 return obj
2357}
2358
2359type ActionIdResubmit struct {
2360 *ActionIdNicira
2361}
2362
2363type IActionIdResubmit interface {
2364 IActionIdNicira
2365}
2366
2367func (self *ActionIdResubmit) Serialize(encoder *goloxi.Encoder) error {
2368 if err := self.ActionIdNicira.Serialize(encoder); err != nil {
2369 return err
2370 }
2371
2372 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2373
2374 return nil
2375}
2376
2377func DecodeActionIdResubmit(parent *ActionIdNicira, decoder *goloxi.Decoder) (*ActionIdResubmit, error) {
2378 _actionidresubmit := &ActionIdResubmit{ActionIdNicira: parent}
2379 return _actionidresubmit, nil
2380}
2381
2382func NewActionIdResubmit() *ActionIdResubmit {
2383 obj := &ActionIdResubmit{
2384 ActionIdNicira: NewActionIdNicira(14),
2385 }
2386 return obj
2387}
2388
2389type ActionIdSetField struct {
2390 *ActionId
2391}
2392
2393type IActionIdSetField interface {
2394 IActionId
2395}
2396
2397func (self *ActionIdSetField) Serialize(encoder *goloxi.Encoder) error {
2398 if err := self.ActionId.Serialize(encoder); err != nil {
2399 return err
2400 }
2401
2402 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2403
2404 return nil
2405}
2406
2407func DecodeActionIdSetField(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdSetField, error) {
2408 _actionidsetfield := &ActionIdSetField{ActionId: parent}
2409 return _actionidsetfield, nil
2410}
2411
2412func NewActionIdSetField() *ActionIdSetField {
2413 obj := &ActionIdSetField{
2414 ActionId: NewActionId(25),
2415 }
2416 return obj
2417}
2418
2419type ActionIdSetMplsTtl struct {
2420 *ActionId
2421}
2422
2423type IActionIdSetMplsTtl interface {
2424 IActionId
2425}
2426
2427func (self *ActionIdSetMplsTtl) Serialize(encoder *goloxi.Encoder) error {
2428 if err := self.ActionId.Serialize(encoder); err != nil {
2429 return err
2430 }
2431
2432 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2433
2434 return nil
2435}
2436
2437func DecodeActionIdSetMplsTtl(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdSetMplsTtl, error) {
2438 _actionidsetmplsttl := &ActionIdSetMplsTtl{ActionId: parent}
2439 return _actionidsetmplsttl, nil
2440}
2441
2442func NewActionIdSetMplsTtl() *ActionIdSetMplsTtl {
2443 obj := &ActionIdSetMplsTtl{
2444 ActionId: NewActionId(15),
2445 }
2446 return obj
2447}
2448
2449type ActionIdSetNwTtl struct {
2450 *ActionId
2451}
2452
2453type IActionIdSetNwTtl interface {
2454 IActionId
2455}
2456
2457func (self *ActionIdSetNwTtl) Serialize(encoder *goloxi.Encoder) error {
2458 if err := self.ActionId.Serialize(encoder); err != nil {
2459 return err
2460 }
2461
2462 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2463
2464 return nil
2465}
2466
2467func DecodeActionIdSetNwTtl(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdSetNwTtl, error) {
2468 _actionidsetnwttl := &ActionIdSetNwTtl{ActionId: parent}
2469 return _actionidsetnwttl, nil
2470}
2471
2472func NewActionIdSetNwTtl() *ActionIdSetNwTtl {
2473 obj := &ActionIdSetNwTtl{
2474 ActionId: NewActionId(23),
2475 }
2476 return obj
2477}
2478
2479type ActionIdSetQueue struct {
2480 *ActionId
2481}
2482
2483type IActionIdSetQueue interface {
2484 IActionId
2485}
2486
2487func (self *ActionIdSetQueue) Serialize(encoder *goloxi.Encoder) error {
2488 if err := self.ActionId.Serialize(encoder); err != nil {
2489 return err
2490 }
2491
2492 binary.BigEndian.PutUint16(encoder.Bytes()[2:4], uint16(len(encoder.Bytes())))
2493
2494 return nil
2495}
2496
2497func DecodeActionIdSetQueue(parent *ActionId, decoder *goloxi.Decoder) (*ActionIdSetQueue, error) {
2498 _actionidsetqueue := &ActionIdSetQueue{ActionId: parent}
2499 return _actionidsetqueue, nil
2500}
2501
2502func NewActionIdSetQueue() *ActionIdSetQueue {
2503 obj := &ActionIdSetQueue{
2504 ActionId: NewActionId(21),
2505 }
2506 return obj
2507}