Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by go-swagger; DO NOT EDIT.
package operations
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"net/http"
"strings"
"github.com/go-openapi/errors"
"github.com/go-openapi/loads"
"github.com/go-openapi/runtime"
"github.com/go-openapi/runtime/middleware"
"github.com/go-openapi/runtime/security"
"github.com/go-openapi/spec"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"code.fbi.h-da.de/cocsn/cocsn-api/waveserver/restapi/operations/ciena_waveserver_interfaces"
)
// NewCocsnAPI creates a new Cocsn instance
func NewCocsnAPI(spec *loads.Document) *CocsnAPI {
return &CocsnAPI{
handlers: make(map[string]map[string]http.Handler),
formats: strfmt.Default,
defaultConsumes: "application/json",
defaultProduces: "application/json",
customConsumers: make(map[string]runtime.Consumer),
customProducers: make(map[string]runtime.Producer),
PreServerShutdown: func() {},
ServerShutdown: func() {},
spec: spec,
useSwaggerUI: false,
ServeError: errors.ServeError,
BasicAuthenticator: security.BasicAuth,
APIKeyAuthenticator: security.APIKeyAuth,
BearerAuthenticator: security.BearerAuth,
JSONConsumer: runtime.JSONConsumer(),
JSONProducer: runtime.JSONProducer(),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfaces has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndex has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexIDHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexIDHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexIDParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexID has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexProperties has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4HandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Params) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4 has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexStateHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexStateHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexStateParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexState has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceName has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameIDHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameIDHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameIDParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameID has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameProperties has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernet has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagement has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameStateHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameStateHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameStateParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameState has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutes has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestination has not yet been implemented")
}),
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler: ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandlerFunc(func(params ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndex has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfaces has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndex has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexIDHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexIDHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexIDParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexID has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexProperties has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4HandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Params) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4 has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexStateHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexStateHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexStateParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexState has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceName has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameIDHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameIDHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameIDParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameID has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameProperties has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernet has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagement has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameStateHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameStateHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameStateParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameState has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutes has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestination has not yet been implemented")
}),
CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler: ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandlerFunc(func(params ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndex has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfaces has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterface has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexIDHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexIDHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexIDParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexID has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexProperties has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4HandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Params) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4 has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexStateHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexStateHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexStateParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexState has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterface has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameIDHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameIDHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameIDParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameID has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameProperties has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernet has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagement has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameStateHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameStateHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameStateParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameState has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutes has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRouteHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRouteParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRoute has not yet been implemented")
}),
CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopHandler: ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopHandlerFunc(func(params ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHop has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfaces has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndex has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexIDHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexIDHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexIDParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexID has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexProperties has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4HandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Params) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4 has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexStateHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexStateHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexStateParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexState has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceName has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameIDHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameIDHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameIDParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameID has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameProperties has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernet has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagement has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameStateHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameStateHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameStateParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameState has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutes has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestination has not yet been implemented")
}),
CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler: ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandlerFunc(func(params ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexParams) middleware.Responder {
return middleware.NotImplemented("operation ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndex has not yet been implemented")
}),
}
}
/*CocsnAPI This module defines Ethernet and IP management interfaces support for
Ciena's Waveserver Platform. */
type CocsnAPI struct {
spec *loads.Document
context *middleware.Context
handlers map[string]map[string]http.Handler
formats strfmt.Registry
customConsumers map[string]runtime.Consumer
customProducers map[string]runtime.Producer
defaultConsumes string
defaultProduces string
Middleware func(middleware.Builder) http.Handler
useSwaggerUI bool
// BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function.
// It has a default implementation in the security package, however you can replace it for your particular usage.
BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator
// APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function.
// It has a default implementation in the security package, however you can replace it for your particular usage.
APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator
// BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function.
// It has a default implementation in the security package, however you can replace it for your particular usage.
BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator
// JSONConsumer registers a consumer for the following mime types:
// - application/yang-data+json
JSONConsumer runtime.Consumer
// JSONProducer registers a producer for the following mime types:
// - application/yang-data+json
JSONProducer runtime.Producer
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesHandler sets the operation handler for the delete data waveserver interfaces operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexHandler sets the operation handler for the delete data waveserver interfaces logical interface index operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexIDHandler sets the operation handler for the delete data waveserver interfaces logical interface index ID operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexIDHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexIDHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler sets the operation handler for the delete data waveserver interfaces logical interface index properties operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler sets the operation handler for the delete data waveserver interfaces logical interface index properties IP v4 operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexStateHandler sets the operation handler for the delete data waveserver interfaces logical interface index state operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexStateHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexStateHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameHandler sets the operation handler for the delete data waveserver interfaces physical interface name operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameIDHandler sets the operation handler for the delete data waveserver interfaces physical interface name ID operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameIDHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameIDHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler sets the operation handler for the delete data waveserver interfaces physical interface name properties operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler sets the operation handler for the delete data waveserver interfaces physical interface name properties ethernet operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler sets the operation handler for the delete data waveserver interfaces physical interface name properties management operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameStateHandler sets the operation handler for the delete data waveserver interfaces physical interface name state operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameStateHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameStateHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesHandler sets the operation handler for the delete data waveserver interfaces routes operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler sets the operation handler for the delete data waveserver interfaces routes IP v4 static route destination operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler
// CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler sets the operation handler for the delete data waveserver interfaces routes IP v4 static route destination next hop index operation
CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesHandler sets the operation handler for the get data waveserver interfaces operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexHandler sets the operation handler for the get data waveserver interfaces logical interface index operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexIDHandler sets the operation handler for the get data waveserver interfaces logical interface index ID operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexIDHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexIDHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler sets the operation handler for the get data waveserver interfaces logical interface index properties operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler sets the operation handler for the get data waveserver interfaces logical interface index properties IP v4 operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexStateHandler sets the operation handler for the get data waveserver interfaces logical interface index state operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexStateHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexStateHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameHandler sets the operation handler for the get data waveserver interfaces physical interface name operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameIDHandler sets the operation handler for the get data waveserver interfaces physical interface name ID operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameIDHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameIDHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler sets the operation handler for the get data waveserver interfaces physical interface name properties operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler sets the operation handler for the get data waveserver interfaces physical interface name properties ethernet operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler sets the operation handler for the get data waveserver interfaces physical interface name properties management operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameStateHandler sets the operation handler for the get data waveserver interfaces physical interface name state operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameStateHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameStateHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesHandler sets the operation handler for the get data waveserver interfaces routes operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler sets the operation handler for the get data waveserver interfaces routes IP v4 static route destination operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler
// CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler sets the operation handler for the get data waveserver interfaces routes IP v4 static route destination next hop index operation
CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesHandler sets the operation handler for the post data waveserver interfaces operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceHandler sets the operation handler for the post data waveserver interfaces logical interface operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexIDHandler sets the operation handler for the post data waveserver interfaces logical interface index ID operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexIDHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexIDHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler sets the operation handler for the post data waveserver interfaces logical interface index properties operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler sets the operation handler for the post data waveserver interfaces logical interface index properties IP v4 operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexStateHandler sets the operation handler for the post data waveserver interfaces logical interface index state operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexStateHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexStateHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceHandler sets the operation handler for the post data waveserver interfaces physical interface operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameIDHandler sets the operation handler for the post data waveserver interfaces physical interface name ID operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameIDHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameIDHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler sets the operation handler for the post data waveserver interfaces physical interface name properties operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler sets the operation handler for the post data waveserver interfaces physical interface name properties ethernet operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler sets the operation handler for the post data waveserver interfaces physical interface name properties management operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameStateHandler sets the operation handler for the post data waveserver interfaces physical interface name state operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameStateHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameStateHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesHandler sets the operation handler for the post data waveserver interfaces routes operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteHandler sets the operation handler for the post data waveserver interfaces routes IP v4 static route operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRouteHandler
// CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopHandler sets the operation handler for the post data waveserver interfaces routes IP v4 static route destination next hop operation
CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopHandler ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesHandler sets the operation handler for the put data waveserver interfaces operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexHandler sets the operation handler for the put data waveserver interfaces logical interface index operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexIDHandler sets the operation handler for the put data waveserver interfaces logical interface index ID operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexIDHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexIDHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler sets the operation handler for the put data waveserver interfaces logical interface index properties operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler sets the operation handler for the put data waveserver interfaces logical interface index properties IP v4 operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexStateHandler sets the operation handler for the put data waveserver interfaces logical interface index state operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexStateHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexStateHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameHandler sets the operation handler for the put data waveserver interfaces physical interface name operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameIDHandler sets the operation handler for the put data waveserver interfaces physical interface name ID operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameIDHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameIDHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler sets the operation handler for the put data waveserver interfaces physical interface name properties operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler sets the operation handler for the put data waveserver interfaces physical interface name properties ethernet operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler sets the operation handler for the put data waveserver interfaces physical interface name properties management operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameStateHandler sets the operation handler for the put data waveserver interfaces physical interface name state operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameStateHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameStateHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesHandler sets the operation handler for the put data waveserver interfaces routes operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler sets the operation handler for the put data waveserver interfaces routes IP v4 static route destination operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler
// CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler sets the operation handler for the put data waveserver interfaces routes IP v4 static route destination next hop index operation
CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler
// ServeError is called when an error is received, there is a default handler
// but you can set your own with this
ServeError func(http.ResponseWriter, *http.Request, error)
// PreServerShutdown is called before the HTTP(S) server is shutdown
// This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic
PreServerShutdown func()
// ServerShutdown is called when the HTTP(S) server is shut down and done
// handling all active connections and does not accept connections any more
ServerShutdown func()
// Custom command line argument groups with their descriptions
CommandLineOptionsGroups []swag.CommandLineOptionsGroup
// User defined logger function.
Logger func(string, ...interface{})
}
// UseRedoc for documentation at /docs
func (o *CocsnAPI) UseRedoc() {
o.useSwaggerUI = false
}
// UseSwaggerUI for documentation at /docs
func (o *CocsnAPI) UseSwaggerUI() {
o.useSwaggerUI = true
}
// SetDefaultProduces sets the default produces media type
func (o *CocsnAPI) SetDefaultProduces(mediaType string) {
o.defaultProduces = mediaType
}
// SetDefaultConsumes returns the default consumes media type
func (o *CocsnAPI) SetDefaultConsumes(mediaType string) {
o.defaultConsumes = mediaType
}
// SetSpec sets a spec that will be served for the clients.
func (o *CocsnAPI) SetSpec(spec *loads.Document) {
o.spec = spec
}
// DefaultProduces returns the default produces media type
func (o *CocsnAPI) DefaultProduces() string {
return o.defaultProduces
}
// DefaultConsumes returns the default consumes media type
func (o *CocsnAPI) DefaultConsumes() string {
return o.defaultConsumes
}
// Formats returns the registered string formats
func (o *CocsnAPI) Formats() strfmt.Registry {
return o.formats
}
// RegisterFormat registers a custom format validator
func (o *CocsnAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator) {
o.formats.Add(name, format, validator)
}
// Validate validates the registrations in the CocsnAPI
func (o *CocsnAPI) Validate() error {
var unregistered []string
if o.JSONConsumer == nil {
unregistered = append(unregistered, "JSONConsumer")
}
if o.JSONProducer == nil {
unregistered = append(unregistered, "JSONProducer")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexIDHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexIDHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexStateHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesLogicalInterfaceIndexStateHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameIDHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameIDHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameStateHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesPhysicalInterfaceNameStateHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler")
}
if o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.DeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexIDHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexIDHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexStateHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesLogicalInterfaceIndexStateHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameIDHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameIDHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameStateHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesPhysicalInterfaceNameStateHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler")
}
if o.CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.GetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexIDHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexIDHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexStateHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesLogicalInterfaceIndexStateHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameIDHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameIDHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameStateHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesPhysicalInterfaceNameStateHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRouteHandler")
}
if o.CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexIDHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexIDHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexStateHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesLogicalInterfaceIndexStateHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameIDHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameIDHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameStateHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesPhysicalInterfaceNameStateHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler")
}
if o.CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler == nil {
unregistered = append(unregistered, "ciena_waveserver_interfaces.PutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler")
}
if len(unregistered) > 0 {
return fmt.Errorf("missing registration: %s", strings.Join(unregistered, ", "))
}
return nil
}
// ServeErrorFor gets a error handler for a given operation id
func (o *CocsnAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error) {
return o.ServeError
}
// AuthenticatorsFor gets the authenticators for the specified security schemes
func (o *CocsnAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator {
return nil
}
// Authorizer returns the registered authorizer
func (o *CocsnAPI) Authorizer() runtime.Authorizer {
return nil
}
// ConsumersFor gets the consumers for the specified media types.
// MIME type parameters are ignored here.
func (o *CocsnAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer {
result := make(map[string]runtime.Consumer, len(mediaTypes))
for _, mt := range mediaTypes {
switch mt {
case "application/yang-data+json":
result["application/yang-data+json"] = o.JSONConsumer
}
if c, ok := o.customConsumers[mt]; ok {
result[mt] = c
}
}
return result
}
// ProducersFor gets the producers for the specified media types.
// MIME type parameters are ignored here.
func (o *CocsnAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer {
result := make(map[string]runtime.Producer, len(mediaTypes))
for _, mt := range mediaTypes {
switch mt {
case "application/yang-data+json":
result["application/yang-data+json"] = o.JSONProducer
}
if p, ok := o.customProducers[mt]; ok {
result[mt] = p
}
}
return result
}
// HandlerFor gets a http.Handler for the provided operation method and path
func (o *CocsnAPI) HandlerFor(method, path string) (http.Handler, bool) {
if o.handlers == nil {
return nil, false
}
um := strings.ToUpper(method)
if _, ok := o.handlers[um]; !ok {
return nil, false
}
if path == "/" {
path = ""
}
h, ok := o.handlers[um][path]
return h, ok
}
// Context returns the middleware context for the cocsn API
func (o *CocsnAPI) Context() *middleware.Context {
if o.context == nil {
o.context = middleware.NewRoutableContext(o.spec, o, nil)
}
return o.context
}
func (o *CocsnAPI) initHandlerCache() {
o.Context() // don't care about the result, just that the initialization happened
if o.handlers == nil {
o.handlers = make(map[string]map[string]http.Handler)
}
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfaces(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/logical-interface={index}"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesLogicalInterfaceIndex(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/logical-interface={index}/id"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesLogicalInterfaceIndexID(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexIDHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/logical-interface={index}/properties"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesLogicalInterfaceIndexProperties(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/logical-interface={index}/properties/ipv4"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/logical-interface={index}/state"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesLogicalInterfaceIndexState(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesLogicalInterfaceIndexStateHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/physical-interface={name}"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesPhysicalInterfaceName(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/physical-interface={name}/id"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesPhysicalInterfaceNameID(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameIDHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/physical-interface={name}/properties"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesPhysicalInterfaceNameProperties(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/physical-interface={name}/properties/ethernet"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernet(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/physical-interface={name}/properties/management"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagement(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/physical-interface={name}/state"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesPhysicalInterfaceNameState(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesPhysicalInterfaceNameStateHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/routes"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesRoutes(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/routes/ipv4-static-route={destination}"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestination(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler)
if o.handlers["DELETE"] == nil {
o.handlers["DELETE"] = make(map[string]http.Handler)
}
o.handlers["DELETE"]["/data/waveserver-interfaces/routes/ipv4-static-route={destination}/next-hop={index}"] = ciena_waveserver_interfaces.NewDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndex(o.context, o.CienaWaveserverInterfacesDeleteDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfaces(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/logical-interface={index}"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesLogicalInterfaceIndex(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/logical-interface={index}/id"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesLogicalInterfaceIndexID(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexIDHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/logical-interface={index}/properties"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesLogicalInterfaceIndexProperties(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/logical-interface={index}/properties/ipv4"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/logical-interface={index}/state"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesLogicalInterfaceIndexState(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesLogicalInterfaceIndexStateHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/physical-interface={name}"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesPhysicalInterfaceName(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/physical-interface={name}/id"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesPhysicalInterfaceNameID(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameIDHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/physical-interface={name}/properties"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesPhysicalInterfaceNameProperties(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/physical-interface={name}/properties/ethernet"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernet(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/physical-interface={name}/properties/management"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagement(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/physical-interface={name}/state"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesPhysicalInterfaceNameState(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesPhysicalInterfaceNameStateHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/routes"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesRoutes(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/routes/ipv4-static-route={destination}"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestination(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler)
if o.handlers["GET"] == nil {
o.handlers["GET"] = make(map[string]http.Handler)
}
o.handlers["GET"]["/data/waveserver-interfaces/routes/ipv4-static-route={destination}/next-hop={index}"] = ciena_waveserver_interfaces.NewGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndex(o.context, o.CienaWaveserverInterfacesGetDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfaces(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/logical-interface"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesLogicalInterface(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/logical-interface={index}/id"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesLogicalInterfaceIndexID(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexIDHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/logical-interface={index}/properties"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesLogicalInterfaceIndexProperties(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/logical-interface={index}/properties/ipv4"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/logical-interface={index}/state"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesLogicalInterfaceIndexState(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesLogicalInterfaceIndexStateHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/physical-interface"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesPhysicalInterface(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/physical-interface={name}/id"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesPhysicalInterfaceNameID(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameIDHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/physical-interface={name}/properties"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesPhysicalInterfaceNameProperties(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/physical-interface={name}/properties/ethernet"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernet(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/physical-interface={name}/properties/management"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagement(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/physical-interface={name}/state"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesPhysicalInterfaceNameState(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesPhysicalInterfaceNameStateHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/routes"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesRoutes(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/routes/ipv4-static-route"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesRoutesIPV4StaticRoute(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteHandler)
if o.handlers["POST"] == nil {
o.handlers["POST"] = make(map[string]http.Handler)
}
o.handlers["POST"]["/data/waveserver-interfaces/routes/ipv4-static-route={destination}/next-hop"] = ciena_waveserver_interfaces.NewPostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHop(o.context, o.CienaWaveserverInterfacesPostDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfaces(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/logical-interface={index}"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesLogicalInterfaceIndex(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/logical-interface={index}/id"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesLogicalInterfaceIndexID(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexIDHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/logical-interface={index}/properties"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesLogicalInterfaceIndexProperties(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/logical-interface={index}/properties/ipv4"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexPropertiesIPV4Handler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/logical-interface={index}/state"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesLogicalInterfaceIndexState(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesLogicalInterfaceIndexStateHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/physical-interface={name}"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesPhysicalInterfaceName(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/physical-interface={name}/id"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesPhysicalInterfaceNameID(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameIDHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/physical-interface={name}/properties"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesPhysicalInterfaceNameProperties(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/physical-interface={name}/properties/ethernet"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernet(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesEthernetHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/physical-interface={name}/properties/management"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagement(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNamePropertiesManagementHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/physical-interface={name}/state"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesPhysicalInterfaceNameState(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesPhysicalInterfaceNameStateHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/routes"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesRoutes(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/routes/ipv4-static-route={destination}"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestination(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationHandler)
if o.handlers["PUT"] == nil {
o.handlers["PUT"] = make(map[string]http.Handler)
}
o.handlers["PUT"]["/data/waveserver-interfaces/routes/ipv4-static-route={destination}/next-hop={index}"] = ciena_waveserver_interfaces.NewPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndex(o.context, o.CienaWaveserverInterfacesPutDataWaveserverInterfacesRoutesIPV4StaticRouteDestinationNextHopIndexHandler)
}
// Serve creates a http handler to serve the API over HTTP
// can be used directly in http.ListenAndServe(":8000", api.Serve(nil))
func (o *CocsnAPI) Serve(builder middleware.Builder) http.Handler {
o.Init()
if o.Middleware != nil {
return o.Middleware(builder)
}
if o.useSwaggerUI {
return o.context.APIHandlerSwaggerUI(builder)
}
return o.context.APIHandler(builder)
}
// Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit
func (o *CocsnAPI) Init() {
if len(o.handlers) == 0 {
o.initHandlerCache()
}
}
// RegisterConsumer allows you to add (or override) a consumer for a media type.
func (o *CocsnAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer) {
o.customConsumers[mediaType] = consumer
}
// RegisterProducer allows you to add (or override) a producer for a media type.
func (o *CocsnAPI) RegisterProducer(mediaType string, producer runtime.Producer) {
o.customProducers[mediaType] = producer
}
// AddMiddlewareFor adds a http middleware to existing handler
func (o *CocsnAPI) AddMiddlewareFor(method, path string, builder middleware.Builder) {