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
import { emptySplitApi as api } from '../src/stores/api.store'
const injectedRtkApi = api.injectEndpoints({
endpoints: (build) => ({
appServiceDeregister: build.mutation<
AppServiceDeregisterApiResponse,
AppServiceDeregisterApiArg
>({
query: (queryArg) => ({
url: `/deregister`,
method: 'POST',
body: queryArg.appAppDeregisterRequest,
}),
}),
configurationManagementServiceExportSdnConfig: build.query<
ConfigurationManagementServiceExportSdnConfigApiResponse,
ConfigurationManagementServiceExportSdnConfigApiArg
>({
query: (queryArg) => ({
url: `/export/${queryArg.pid}`,
params: { timestamp: queryArg.timestamp },
}),
}),
configurationManagementServiceImportSdnConfig: build.mutation<
ConfigurationManagementServiceImportSdnConfigApiResponse,
ConfigurationManagementServiceImportSdnConfigApiArg
>({
query: (queryArg) => ({
url: `/import/${queryArg.pid}`,
method: 'POST',
params: {
timestamp: queryArg.timestamp,
sdnConfigData: queryArg.sdnConfigData,
},
}),
}),
authServiceLogin: build.mutation<
AuthServiceLoginApiResponse,
AuthServiceLoginApiArg
>({
query: (queryArg) => ({
url: `/login`,
method: 'POST',
body: queryArg.rbacLoginRequest,
}),
}),
authServiceLogout: build.mutation<
AuthServiceLogoutApiResponse,
AuthServiceLogoutApiArg
>({
query: (queryArg) => ({
url: `/logout/${queryArg.username}`,
method: 'POST',
params: { timestamp: queryArg.timestamp },
}),
}),
networkElementServiceUpdate: build.mutation<
NetworkElementServiceUpdateApiResponse,
NetworkElementServiceUpdateApiArg
>({
query: (queryArg) => ({
url: `/network-element/update`,
method: 'POST',
body: queryArg.networkelementUpdateNetworkElementRequest,
}),
}),
pndServiceGetPnd: build.query<
PndServiceGetPndApiResponse,
PndServiceGetPndApiArg
>({
query: (queryArg) => ({
url: `/pnd/${queryArg.pid}`,
params: { timestamp: queryArg.timestamp },
}),
}),
pndServiceGetPndList: build.query<
PndServiceGetPndListApiResponse,
PndServiceGetPndListApiArg
>({
query: (queryArg) => ({
url: `/pnds`,
params: { timestamp: queryArg.timestamp },
}),
}),
pndServiceCreatePndList: build.mutation<
PndServiceCreatePndListApiResponse,
PndServiceCreatePndListApiArg
>({
query: (queryArg) => ({
url: `/pnds`,
method: 'POST',
body: queryArg.pndCreatePndListRequest,
}),
}),
pndServiceDeletePnd: build.mutation<
PndServiceDeletePndApiResponse,
PndServiceDeletePndApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}`,
method: 'DELETE',
params: { timestamp: queryArg.timestamp },
}),
}),
networkElementServiceGetChangeList: build.query<
NetworkElementServiceGetChangeListApiResponse,
NetworkElementServiceGetChangeListApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/changes`,
params: { timestamp: queryArg.timestamp },
}),
}),
networkElementServiceSetChangeList: build.mutation<
NetworkElementServiceSetChangeListApiResponse,
NetworkElementServiceSetChangeListApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/changes`,
method: 'POST',
body: queryArg.networkElementServiceSetChangeListBody,
}),
}),
networkElementServiceGetChange: build.query<
NetworkElementServiceGetChangeApiResponse,
NetworkElementServiceGetChangeApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/changes/${queryArg.cuid}`,
params: { timestamp: queryArg.timestamp },
}),
}),
networkElementServiceGet: build.query<
NetworkElementServiceGetApiResponse,
NetworkElementServiceGetApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/mne/${queryArg.mneid}`,
params: { timestamp: queryArg.timestamp },
}),
}),
networkElementServiceGetAllFlattened: build.query<
NetworkElementServiceGetAllFlattenedApiResponse,
NetworkElementServiceGetAllFlattenedApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/mnes`,
params: { timestamp: queryArg.timestamp },
}),
}),
networkElementServiceAddList: build.mutation<
NetworkElementServiceAddListApiResponse,
NetworkElementServiceAddListApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/mnes`,
method: 'POST',
body: queryArg.networkElementServiceAddListBody,
}),
}),
networkElementServiceSetPathList: build.mutation<
NetworkElementServiceSetPathListApiResponse,
NetworkElementServiceSetPathListApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/mnes/paths`,
method: 'POST',
body: queryArg.networkElementServiceSetPathListBody,
}),
}),
networkElementServiceDelete: build.mutation<
NetworkElementServiceDeleteApiResponse,
NetworkElementServiceDeleteApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/mnes/${queryArg.mneid}`,
method: 'DELETE',
params: { timestamp: queryArg.timestamp },
}),
}),
networkElementServiceGetIntendedPath: build.query<
NetworkElementServiceGetIntendedPathApiResponse,
NetworkElementServiceGetIntendedPathApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/mnes/${queryArg.mneid}/intendedpaths/${queryArg.intendedPath}`,
params: { timestamp: queryArg.timestamp },
}),
}),
networkElementServiceGetPath: build.query<
NetworkElementServiceGetPathApiResponse,
NetworkElementServiceGetPathApiArg
>({
query: (queryArg) => ({
url: `/pnds/${queryArg.pid}/mnes/${queryArg.mneid}/paths/${queryArg.path}`,
params: { timestamp: queryArg.timestamp },
}),
}),
appServiceRegister: build.mutation<
AppServiceRegisterApiResponse,
AppServiceRegisterApiArg
>({
query: (queryArg) => ({
url: `/register`,
method: 'POST',
body: queryArg.appAppRegisterRequest,
}),
}),
roleServiceGetRoles: build.query<
RoleServiceGetRolesApiResponse,
RoleServiceGetRolesApiArg
>({
query: (queryArg) => ({
url: `/roles`,
params: { timestamp: queryArg.timestamp },
}),
}),
roleServiceCreateRoles: build.mutation<
RoleServiceCreateRolesApiResponse,
RoleServiceCreateRolesApiArg
>({
query: (queryArg) => ({
url: `/roles/create`,
method: 'POST',
body: queryArg.rbacCreateRolesRequest,
}),
}),
roleServiceDeleteRoles: build.mutation<
RoleServiceDeleteRolesApiResponse,
RoleServiceDeleteRolesApiArg
>({
query: (queryArg) => ({
url: `/roles/delete`,
method: 'DELETE',
params: {
timestamp: queryArg.timestamp,
roleName: queryArg.roleName,
},
}),
}),
roleServiceDeletePermissionsForRole: build.mutation<
RoleServiceDeletePermissionsForRoleApiResponse,
RoleServiceDeletePermissionsForRoleApiArg
>({
query: (queryArg) => ({
url: `/roles/delete/permissions`,
method: 'DELETE',
params: {
timestamp: queryArg.timestamp,
roleName: queryArg.roleName,
permissionsToDelete: queryArg.permissionsToDelete,
},
}),
}),
roleServiceGetRole: build.query<
RoleServiceGetRoleApiResponse,
RoleServiceGetRoleApiArg
>({
query: (queryArg) => ({
url: `/roles/get`,
params: {
timestamp: queryArg.timestamp,
roleName: queryArg.roleName,
id: queryArg.id,
},
}),
}),
roleServiceUpdateRoles: build.mutation<
RoleServiceUpdateRolesApiResponse,
RoleServiceUpdateRolesApiArg
>({
query: (queryArg) => ({
url: `/roles/update`,
method: 'POST',
body: queryArg.rbacUpdateRolesRequest,
}),
}),
routingTableServiceGetRoutes: build.query<
RoutingTableServiceGetRoutesApiResponse,
RoutingTableServiceGetRoutesApiArg
>({
query: (queryArg) => ({
url: `/routing`,
params: { timestamp: queryArg.timestamp },
}),
}),
routingTableServiceAddRoutingTable: build.mutation<
RoutingTableServiceAddRoutingTableApiResponse,
RoutingTableServiceAddRoutingTableApiArg
>({
query: (queryArg) => ({
url: `/routing/create`,
method: 'POST',
body: queryArg.topologyAddRoutingTableRequest,
}),
}),
routingTableServiceDeleteRoute: build.mutation<
RoutingTableServiceDeleteRouteApiResponse,
RoutingTableServiceDeleteRouteApiArg
>({
query: (queryArg) => ({
url: `/routing/delete`,
method: 'DELETE',
params: { timestamp: queryArg.timestamp, id: queryArg.id },
}),
}),
topologyServiceGetTopology: build.query<
TopologyServiceGetTopologyApiResponse,
TopologyServiceGetTopologyApiArg
>({
query: (queryArg) => ({
url: `/topology`,
params: { timestamp: queryArg.timestamp },
}),
}),
topologyServiceAddLink: build.mutation<
TopologyServiceAddLinkApiResponse,
TopologyServiceAddLinkApiArg
>({
query: (queryArg) => ({
url: `/topology/create`,
method: 'POST',
body: queryArg.topologyAddLinkRequest,
}),
}),
topologyServiceDeleteLink: build.mutation<
TopologyServiceDeleteLinkApiResponse,
TopologyServiceDeleteLinkApiArg
>({
query: (queryArg) => ({
url: `/topology/delete`,
method: 'DELETE',
params: { timestamp: queryArg.timestamp, id: queryArg.id },
}),
}),
topologyServiceUpdateLink: build.mutation<
TopologyServiceUpdateLinkApiResponse,
TopologyServiceUpdateLinkApiArg
>({
query: (queryArg) => ({
url: `/topology/update`,
method: 'POST',
body: queryArg.topologyUpdateLinkRequest,
}),
}),
userServiceGetUsers: build.query<
UserServiceGetUsersApiResponse,
UserServiceGetUsersApiArg
>({
query: (queryArg) => ({
url: `/users`,
params: { timestamp: queryArg.timestamp },
}),
}),
userServiceCreateUsers: build.mutation<
UserServiceCreateUsersApiResponse,
UserServiceCreateUsersApiArg
>({
query: (queryArg) => ({
url: `/users/create`,
method: 'POST',
body: queryArg.rbacCreateUsersRequest,
}),
}),
userServiceDeleteUsers: build.mutation<
UserServiceDeleteUsersApiResponse,
UserServiceDeleteUsersApiArg
>({
query: (queryArg) => ({
url: `/users/delete`,
method: 'DELETE',
params: {
timestamp: queryArg.timestamp,
username: queryArg.username,
},
}),
}),
userServiceGetUser: build.query<
UserServiceGetUserApiResponse,
UserServiceGetUserApiArg
>({
query: (queryArg) => ({
url: `/users/get`,
params: {
timestamp: queryArg.timestamp,
name: queryArg.name,
id: queryArg.id,
},
}),
}),
userServiceUpdateUsers: build.mutation<
UserServiceUpdateUsersApiResponse,
UserServiceUpdateUsersApiArg
>({
query: (queryArg) => ({
url: `/users/update`,
method: 'POST',
body: queryArg.rbacUpdateUsersRequest,
}),
}),
}),
overrideExisting: false,
})
export { injectedRtkApi as api }
export type AppServiceDeregisterApiResponse =
/** status 200 A successful response. */ AppAppDeregisterResponse
export type AppServiceDeregisterApiArg = {
appAppDeregisterRequest: AppAppDeregisterRequest
}
export type ConfigurationManagementServiceExportSdnConfigApiResponse =
/** status 200 A successful response. */ ConfigurationmanagementExportSdnConfigResponse
export type ConfigurationManagementServiceExportSdnConfigApiArg = {
pid: string
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type ConfigurationManagementServiceImportSdnConfigApiResponse =
/** status 200 A successful response. */ ConfigurationmanagementImportSdnConfigResponse
export type ConfigurationManagementServiceImportSdnConfigApiArg = {
pid: string
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
sdnConfigData?: string
}
export type AuthServiceLoginApiResponse =
/** status 200 A successful response. */ RbacLoginResponse
export type AuthServiceLoginApiArg = {
rbacLoginRequest: Login
}
export type AuthServiceLogoutApiResponse =
/** status 200 A successful response. */ RbacLogoutResponse
export type AuthServiceLogoutApiArg = {
username: string
timestamp?: string
}
export type NetworkElementServiceUpdateApiResponse =
/** status 200 A successful response. */ NetworkelementUpdateNetworkElementResponse
export type NetworkElementServiceUpdateApiArg = {
networkelementUpdateNetworkElementRequest: TodoChangeNameToFitTheRest
}
export type PndServiceGetPndApiResponse =
/** status 200 A successful response. */ PndGetPndResponse
export type PndServiceGetPndApiArg = {
pid: string
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type PndServiceGetPndListApiResponse =
/** status 200 A successful response. */ PndGetPndListResponse
export type PndServiceGetPndListApiArg = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type PndServiceCreatePndListApiResponse =
/** status 200 A successful response. */ PndCreatePndListResponse
export type PndServiceCreatePndListApiArg = {
pndCreatePndListRequest: PndCreatePndListRequest
}
export type PndServiceDeletePndApiResponse =
/** status 200 A successful response. */ PndDeletePndResponse
export type PndServiceDeletePndApiArg = {
pid: string
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type NetworkElementServiceGetChangeListApiResponse =
/** status 200 A successful response. */ NetworkelementGetChangeListResponse
export type NetworkElementServiceGetChangeListApiArg = {
pid: string
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type NetworkElementServiceSetChangeListApiResponse =
/** status 200 A successful response. */ NetworkelementSetChangeListResponse
export type NetworkElementServiceSetChangeListApiArg = {
pid: string
networkElementServiceSetChangeListBody: NetworkElementServiceSetChangeListBody
}
export type NetworkElementServiceGetChangeApiResponse =
/** status 200 A successful response. */ NetworkelementGetChangeResponse
export type NetworkElementServiceGetChangeApiArg = {
pid: string
cuid: string[]
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type NetworkElementServiceGetApiResponse =
/** status 200 A successful response. */ GosdnnetworkelementGetResponse
export type NetworkElementServiceGetApiArg = {
pid: string
mneid: string
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type NetworkElementServiceGetAllFlattenedApiResponse =
/** status 200 A successful response. */ NetworkelementGetAllFlattenedResponse
export type NetworkElementServiceGetAllFlattenedApiArg = {
pid: string
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type NetworkElementServiceAddListApiResponse =
/** status 200 A successful response. */ NetworkelementAddListResponse
export type NetworkElementServiceAddListApiArg = {
pid: string
networkElementServiceAddListBody: NetworkElementServiceAddListBody
}
export type NetworkElementServiceSetPathListApiResponse =
/** status 200 A successful response. */ NetworkelementSetPathListResponse
export type NetworkElementServiceSetPathListApiArg = {
pid: string
networkElementServiceSetPathListBody: NetworkElementServiceSetPathListBody
}
export type NetworkElementServiceDeleteApiResponse =
/** status 200 A successful response. */ GosdnnetworkelementDeleteResponse
export type NetworkElementServiceDeleteApiArg = {
pid: string
mneid: string
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type NetworkElementServiceGetIntendedPathApiResponse =
/** status 200 A successful response. */ NetworkelementGetIntendedPathResponse
export type NetworkElementServiceGetIntendedPathApiArg = {
pid: string
mneid: string
intendedPath: string
timestamp?: string
}
export type NetworkElementServiceGetPathApiResponse =
/** status 200 A successful response. */ NetworkelementGetPathResponse
export type NetworkElementServiceGetPathApiArg = {
pid: string
mneid: string
path: string
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type AppServiceRegisterApiResponse =
/** status 200 A successful response. */ AppAppRegisterResponse
export type AppServiceRegisterApiArg = {
appAppRegisterRequest: AppAppRegisterRequest
}
export type RoleServiceGetRolesApiResponse =
/** status 200 A successful response. */ RbacGetRolesResponse
export type RoleServiceGetRolesApiArg = {
timestamp?: string
}
export type RoleServiceCreateRolesApiResponse =
/** status 200 A successful response. */ RbacCreateRolesResponse
export type RoleServiceCreateRolesApiArg = {
rbacCreateRolesRequest: CreateRoles
}
export type RoleServiceDeleteRolesApiResponse =
/** status 200 A successful response. */ RbacDeleteRolesResponse
export type RoleServiceDeleteRolesApiArg = {
timestamp?: string
roleName?: string[]
}
export type RoleServiceDeletePermissionsForRoleApiResponse =
/** status 200 A successful response. */ RbacDeletePermissionsForRoleResponse
export type RoleServiceDeletePermissionsForRoleApiArg = {
timestamp?: string
roleName?: string
permissionsToDelete?: string[]
}
export type RoleServiceGetRoleApiResponse =
/** status 200 A successful response. */ RbacGetRoleResponse
export type RoleServiceGetRoleApiArg = {
timestamp?: string
roleName?: string
id?: string
}
export type RoleServiceUpdateRolesApiResponse =
/** status 200 A successful response. */ RbacUpdateRolesResponse
export type RoleServiceUpdateRolesApiArg = {
rbacUpdateRolesRequest: UpdateRoles
}
export type RoutingTableServiceGetRoutesApiResponse =
/** status 200 A successful response. */ TopologyGetRoutesResponse
export type RoutingTableServiceGetRoutesApiArg = {
timestamp?: string
}
export type RoutingTableServiceAddRoutingTableApiResponse =
/** status 200 A successful response. */ TopologyAddRoutingTableResponse
export type RoutingTableServiceAddRoutingTableApiArg = {
topologyAddRoutingTableRequest: TopologyAddRoutingTableRequest
}
export type RoutingTableServiceDeleteRouteApiResponse =
/** status 200 A successful response. */ TopologyDeleteRoutesResponse
export type RoutingTableServiceDeleteRouteApiArg = {
timestamp?: string
id?: string
}
export type TopologyServiceGetTopologyApiResponse =
/** status 200 A successful response. */ TopologyGetTopologyResponse
export type TopologyServiceGetTopologyApiArg = {
timestamp?: string
}
export type TopologyServiceAddLinkApiResponse =
/** status 200 A successful response. */ TopologyAddLinkResponse
export type TopologyServiceAddLinkApiArg = {
topologyAddLinkRequest: TopologyAddLinkRequest
}
export type TopologyServiceDeleteLinkApiResponse =
/** status 200 A successful response. */ TopologyDeleteLinkResponse
export type TopologyServiceDeleteLinkApiArg = {
timestamp?: string
id?: string
}
export type TopologyServiceUpdateLinkApiResponse =
/** status 200 A successful response. */ TopologyUpdateLinkResponse
export type TopologyServiceUpdateLinkApiArg = {
topologyUpdateLinkRequest: TopologyUpdateLinkRequest
}
export type UserServiceGetUsersApiResponse =
/** status 200 A successful response. */ RbacGetUsersResponse
export type UserServiceGetUsersApiArg = {
timestamp?: string
}
export type UserServiceCreateUsersApiResponse =
/** status 200 A successful response. */ RbacCreateUsersResponse
export type UserServiceCreateUsersApiArg = {
rbacCreateUsersRequest: CreateUsers
}
export type UserServiceDeleteUsersApiResponse =
/** status 200 A successful response. */ RbacDeleteUsersResponse
export type UserServiceDeleteUsersApiArg = {
timestamp?: string
username?: string[]
}
export type UserServiceGetUserApiResponse =
/** status 200 A successful response. */ RbacGetUserResponse
export type UserServiceGetUserApiArg = {
timestamp?: string
/** TODO(faseid): reconsider if this is necessary as required, but id is not? */
name?: string
id?: string
}
export type UserServiceUpdateUsersApiResponse =
/** status 200 A successful response. */ RbacUpdateUsersResponse
export type UserServiceUpdateUsersApiArg = {
rbacUpdateUsersRequest: UpdateUsers
}
export type AppAppDeregisterResponse = {
timestamp?: string
}
export type ProtobufAny = {
/** A URL/resource name that uniquely identifies the type of the serialized
protocol buffer message. This string must contain at least
one "/" character. The last segment of the URL's path must represent
the fully qualified name of the type (as in
`path/google.protobuf.Duration`). The name should be in a canonical form
(e.g., leading "." is not accepted).
In practice, teams usually precompile into the binary all types that they
expect it to use in the context of Any. However, for URLs which use the
scheme `http`, `https`, or no scheme, one can optionally set up a type
server that maps type URLs to message definitions as follows:
* If no scheme is provided, `https` is assumed.
* An HTTP GET on the URL must yield a [google.protobuf.Type][]
value in binary format, or produce an error.
* Applications are allowed to cache lookup results based on the
URL, or have them precompiled into a binary to avoid any
lookup. Therefore, binary compatibility needs to be preserved
on changes to types. (Use versioned type names to manage
breaking changes.)
Note: this functionality is not currently available in the official
protobuf release, and it is not used for type URLs beginning with
type.googleapis.com. As of May 2023, there are no widely used type server
implementations and no plans to implement one.
Schemes other than `http`, `https` (or the empty scheme) might be
used with implementation specific semantics. */
'@type'?: string
[key: string]: any
}
export type GooglerpcStatus = {
code?: number
message?: string
details?: ProtobufAny[]
}
export type AppAppDeregisterRequest = {
timestamp?: string
appname?: string
}
export type ConfigurationmanagementExportSdnConfigResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
sdnConfigData?: string
}
export type ConfigurationmanagementImportSdnConfigResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type RbacLoginResponse = {
timestamp?: string
token?: string
}
export type Login = {
timestamp?: string
username?: string
pwd?: string
}
export type RbacLogoutResponse = {
timestamp?: string
}
export type NetworkelementUpdateNetworkElementResponse = {
timestamp?: string
}
export type PluginRegistryManifest = {
name?: string
firmware?: string
author?: string
version?: string
}
export type PluginRegistryPlugin = {
id?: string
manifest?: PluginRegistryManifest
}
export type GnmiPathElem = {
/** The name of the element in the path. */
name?: string
/** Map of key (attribute) name to value. */
key?: {
[key: string]: string
}
}
export type GnmiPath = {
/** Elements of the path are no longer encoded as a string, but rather within
the elem field as a PathElem message. */
element?: string[]
/** Label to disambiguate path. */
origin?: string
/** Elements of the path. */
elem?: GnmiPathElem[]
target?: string
}
export type EncodingDefinesTheValueEncodingFormatsThatAreSupportedByTheGNmiProtocolTheseEncodingsAreUsedByBothTheClientWhenSendingSetMessagesToModifyTheStateOfTheTargetAndTheTargetWhenSerializingDataToBeReturnedToTheClientInBothSubscribeAndGetRpCsReferenceGNmiSpecificationSection23 =
'JSON' | 'BYTES' | 'PROTO' | 'ASCII' | 'JSON_IETF'
export type GnmiValue = {
/** Value of the variable being transmitted. */
value?: string
type?: EncodingDefinesTheValueEncodingFormatsThatAreSupportedByTheGNmiProtocolTheseEncodingsAreUsedByBothTheClientWhenSendingSetMessagesToModifyTheStateOfTheTargetAndTheTargetWhenSerializingDataToBeReturnedToTheClientInBothSubscribeAndGetRpCsReferenceGNmiSpecificationSection23
}
export type GnmiDecimal64 = {
/** Set of digits. */
digits?: string
/** Number of digits following the decimal point. */
precision?: number
}
export type GnmiScalarArray = {
/** The set of elements within the array. Each TypedValue message should
specify only elements that have a field identifier of 1-7 (i.e., the
values are scalar values). */
element?: GnmiTypedValue[]
}
export type GnmiTypedValue = {
/** String value. */
stringVal?: string
/** Integer value. */
intVal?: string
/** Unsigned integer value. */
uintVal?: string
/** Bool value. */
boolVal?: boolean
/** Arbitrary byte sequence value. */
bytesVal?: string
/** Floating point value. */
floatVal?: number
decimalVal?: GnmiDecimal64
leaflistVal?: GnmiScalarArray
anyVal?: ProtobufAny
/** JSON-encoded text. */
jsonVal?: string
/** JSON-encoded text per RFC7951. */
jsonIetfVal?: string
/** Arbitrary ASCII text. */
asciiVal?: string
/** Protobuf binary encoded bytes. The message type is not included.
See the specification at
github.com/openconfig/reference/blob/master/rpc/gnmi/protobuf-vals.md
for a complete specification. */
protoBytes?: string
}
export type UpdateIsAReUsableMessageThatIsUsedToStoreAParticularPathValuePairReferenceGNmiSpecificationSection21 =
{
path?: GnmiPath
value?: GnmiValue
val?: GnmiTypedValue
/** Number of coalesced duplicates. */
duplicates?: number
}
export type NotificationIsAReUsableMessageThatIsUsedToEncodeDataFromTheTargetToTheClientANotificationCarriesTwoTypesOfChangesToTheDataTreeDeletedValuesDeleteASetOfPathsThatHaveBeenRemovedFromTheDataTreeUpdatedValuesUpdateASetOfPathValuePairsIndicatingThePathWhoseValueHasChangedInTheDataTreeReferenceGNmiSpecificationSection21 =
{
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
prefix?: GnmiPath
alias?: string
/** Data elements that have changed values. */
update?: UpdateIsAReUsableMessageThatIsUsedToStoreAParticularPathValuePairReferenceGNmiSpecificationSection21[]
/** Data elements that have been deleted. */
delete?: GnmiPath[]
/** This notification contains a set of paths that are always updated together
referenced by a globally unique prefix. */
atomic?: boolean
}
export type TransportGnmiTransportOption = {
compression?: string
grpcDialOptions?: {
[key: string]: string
}
token?: string
encoding?: EncodingDefinesTheValueEncodingFormatsThatAreSupportedByTheGNmiProtocolTheseEncodingsAreUsedByBothTheClientWhenSendingSetMessagesToModifyTheStateOfTheTargetAndTheTargetWhenSerializingDataToBeReturnedToTheClientInBothSubscribeAndGetRpCsReferenceGNmiSpecificationSection23
}
export type TransportRestconfTransportOption = object
export type ChangedAccordingToStyleGuideHttpsDocsBufBuildBestPracticesStyleGuideEnums =
| 'TYPE_UNSPECIFIED'
| 'TYPE_OPENCONFIG'
| 'TYPE_CONTAINERISED'
| 'TYPE_PLUGIN'
export type TransportTransportOption = {
address?: string
username?: string
password?: string
tls?: boolean
gnmiTransportOption?: TransportGnmiTransportOption
restconfTransportOption?: TransportRestconfTransportOption
type?: ChangedAccordingToStyleGuideHttpsDocsBufBuildBestPracticesStyleGuideEnums
}
export type ConflictMetadata = {
resourceVersion?: string
}
export type NetworkelementManagedNetworkElement = {
id?: string
name?: string
model?: string
plugin?: PluginRegistryPlugin
mneNotification?: NotificationIsAReUsableMessageThatIsUsedToEncodeDataFromTheTargetToTheClientANotificationCarriesTwoTypesOfChangesToTheDataTreeDeletedValuesDeleteASetOfPathsThatHaveBeenRemovedFromTheDataTreeUpdatedValuesUpdateASetOfPathValuePairsIndicatingThePathWhoseValueHasChangedInTheDataTreeReferenceGNmiSpecificationSection21[]
transportAddress?: string
transportOption?: TransportTransportOption
metadata?: ConflictMetadata
associatedPnd?: string
gnmiSubscribePaths?: string[]
}
export type TodoChangeNameToFitTheRest = {
timestamp?: string
networkElement?: NetworkelementManagedNetworkElement
}
export type PndPrincipalNetworkDomain = {
id?: string
name?: string
description?: string
}
export type PndGetPndResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
pnd?: PndPrincipalNetworkDomain
}
export type PndGetPndListResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
pnd?: PndPrincipalNetworkDomain[]
}
export type PndCreatePndListResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type PndPndCreateProperties = {
name?: string
description?: string
}
export type PndCreatePndListRequest = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
pnd?: PndPndCreateProperties[]
}
export type PndDeletePndResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type NetworkelementChangeState =
| 'CHANGE_STATE_UNSPECIFIED'
| 'CHANGE_STATE_PENDING'
| 'CHANGE_STATE_COMMITTED'
| 'CHANGE_STATE_CONFIRMED'
| 'CHANGE_STATE_INCONSISTENT'
export type NetworkelementChange = {
id?: string
age?: string
state?: NetworkelementChangeState
diff?: NotificationIsAReUsableMessageThatIsUsedToEncodeDataFromTheTargetToTheClientANotificationCarriesTwoTypesOfChangesToTheDataTreeDeletedValuesDeleteASetOfPathsThatHaveBeenRemovedFromTheDataTreeUpdatedValuesUpdateASetOfPathValuePairsIndicatingThePathWhoseValueHasChangedInTheDataTreeReferenceGNmiSpecificationSection21
}
export type NetworkelementGetChangeListResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
pnd?: PndPrincipalNetworkDomain
change?: NetworkelementChange[]
}
export type GosdnnetworkelementSetResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
id?: string
}
export type NetworkelementSetChangeListResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
responses?: GosdnnetworkelementSetResponse[]
}
export type GosdnnetworkelementOperation =
| 'OPERATION_UNSPECIFIED'
| 'OPERATION_CREATE'
| 'OPERATION_COMMIT'
| 'OPERATION_CONFIRM'
export type NetworkelementSetChange = {
cuid?: string
op?: GosdnnetworkelementOperation
}
export type NetworkElementServiceSetChangeListBody = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
change?: NetworkelementSetChange[]
}
export type NetworkelementGetChangeResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
pnd?: PndPrincipalNetworkDomain
change?: NetworkelementChange[]
}
export type GosdnnetworkelementGetResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
pnd?: PndPrincipalNetworkDomain
mne?: NetworkelementManagedNetworkElement
}
export type NetworkelementFlattenedManagedNetworkElement = {
id?: string
name?: string
pid?: string
pluginid?: string
}
export type NetworkelementGetAllFlattenedResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
pnd?: PndPrincipalNetworkDomain
mne?: NetworkelementFlattenedManagedNetworkElement[]
}
export type NetworkelementAddListResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
responses?: GosdnnetworkelementSetResponse[]
}
export type NetworkelementSetMne = {
address?: string
pid?: string
pluginId?: string
mneName?: string
transportOption?: TransportTransportOption
gnmiSubscribePaths?: string[]
mneId?: string
}
export type NetworkElementServiceAddListBody = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
mne?: NetworkelementSetMne[]
}
export type NetworkelementSetPathListResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
responses?: GosdnnetworkelementSetResponse[]
}
export type NetworkelementApiOperation =
| 'API_OPERATION_UNSPECIFIED'
| 'API_OPERATION_UPDATE'
| 'API_OPERATION_REPLACE'
| 'API_OPERATION_DELETE'
export type NetworkelementChangeRequest = {
mneid?: string
path?: GnmiPath
value?: GnmiTypedValue
apiOp?: NetworkelementApiOperation
}
export type NetworkElementServiceSetPathListBody = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
changeRequest?: NetworkelementChangeRequest[]
}
export type GosdnnetworkelementDeleteResponse = {
/** Timestamp in nanoseconds since Epoch. */
timestamp?: string
}
export type NetworkelementGetIntendedPathResponse = {
timestamp?: string
pnd?: PndPrincipalNetworkDomain
mneNotification?: NotificationIsAReUsableMessageThatIsUsedToEncodeDataFromTheTargetToTheClientANotificationCarriesTwoTypesOfChangesToTheDataTreeDeletedValuesDeleteASetOfPathsThatHaveBeenRemovedFromTheDataTreeUpdatedValuesUpdateASetOfPathValuePairsIndicatingThePathWhoseValueHasChangedInTheDataTreeReferenceGNmiSpecificationSection21[]
}
export type NetworkelementGetPathResponse = {
/** Timestamp in nanoseconds since Epoch. */