@homeflare/distilled-opnsense 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +95 -0
- package/dist/credentials.d.ts +39 -0
- package/dist/credentials.d.ts.map +1 -0
- package/dist/credentials.js +78 -0
- package/dist/credentials.js.map +1 -0
- package/dist/errors.d.ts +110 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +63 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/protocol.d.ts +13 -0
- package/dist/protocol.d.ts.map +1 -0
- package/dist/protocol.js +115 -0
- package/dist/protocol.js.map +1 -0
- package/dist/retry.d.ts +56 -0
- package/dist/retry.d.ts.map +1 -0
- package/dist/retry.js +49 -0
- package/dist/retry.js.map +1 -0
- package/dist/services/firewall_alias.d.ts +243 -0
- package/dist/services/firewall_alias.d.ts.map +1 -0
- package/dist/services/firewall_alias.js +222 -0
- package/dist/services/firewall_alias.js.map +1 -0
- package/dist/services/firewall_category.d.ts +122 -0
- package/dist/services/firewall_category.d.ts.map +1 -0
- package/dist/services/firewall_category.js +161 -0
- package/dist/services/firewall_category.js.map +1 -0
- package/dist/services/firewall_filter.d.ts +289 -0
- package/dist/services/firewall_filter.d.ts.map +1 -0
- package/dist/services/firewall_filter.js +225 -0
- package/dist/services/firewall_filter.js.map +1 -0
- package/dist/services/firewall_group.d.ts +122 -0
- package/dist/services/firewall_group.d.ts.map +1 -0
- package/dist/services/firewall_group.js +154 -0
- package/dist/services/firewall_group.js.map +1 -0
- package/dist/services/index.d.ts +9 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +10 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/quagga_bgp.d.ts +1135 -0
- package/dist/services/quagga_bgp.d.ts.map +1 -0
- package/dist/services/quagga_bgp.js +1263 -0
- package/dist/services/quagga_bgp.js.map +1 -0
- package/dist/services/quagga_general.d.ts +55 -0
- package/dist/services/quagga_general.d.ts.map +1 -0
- package/dist/services/quagga_general.js +48 -0
- package/dist/services/quagga_general.js.map +1 -0
- package/dist/services/quagga_service.d.ts +60 -0
- package/dist/services/quagga_service.d.ts.map +1 -0
- package/dist/services/quagga_service.js +77 -0
- package/dist/services/quagga_service.js.map +1 -0
- package/dist/services/routing_settings.d.ts +192 -0
- package/dist/services/routing_settings.d.ts.map +1 -0
- package/dist/services/routing_settings.js +169 -0
- package/dist/services/routing_settings.js.map +1 -0
- package/dist/traits.d.ts +11 -0
- package/dist/traits.d.ts.map +1 -0
- package/dist/traits.js +11 -0
- package/dist/traits.js.map +1 -0
- package/package.json +75 -0
- package/src/credentials.ts +111 -0
- package/src/errors.ts +115 -0
- package/src/index.ts +32 -0
- package/src/protocol.ts +177 -0
- package/src/retry.ts +80 -0
- package/src/services/firewall_alias.ts +572 -0
- package/src/services/firewall_category.ts +359 -0
- package/src/services/firewall_filter.ts +671 -0
- package/src/services/firewall_group.ts +350 -0
- package/src/services/index.ts +9 -0
- package/src/services/quagga_bgp.ts +2955 -0
- package/src/services/quagga_general.ts +132 -0
- package/src/services/quagga_service.ts +182 -0
- package/src/services/routing_settings.ts +419 -0
- package/src/traits.ts +36 -0
|
@@ -0,0 +1,1135 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type OpnsenseOpError, type OpnsenseOpContext } from "../protocol.ts";
|
|
4
|
+
export type { OpnsenseOpError, OpnsenseOpContext };
|
|
5
|
+
export type AspathItemAction = "permit" | "deny";
|
|
6
|
+
export declare const AspathItemAction: any;
|
|
7
|
+
export interface AspathItem {
|
|
8
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
9
|
+
uuid?: string;
|
|
10
|
+
/** OPNsense FieldType: BooleanField */
|
|
11
|
+
enabled: string;
|
|
12
|
+
/** OPNsense FieldType: TextField */
|
|
13
|
+
description?: string;
|
|
14
|
+
/** OPNsense FieldType: IntegerField; range 0..4294967295 (as text) */
|
|
15
|
+
number: string;
|
|
16
|
+
/** OPNsense FieldType: OptionField */
|
|
17
|
+
action: AspathItemAction | (string & {});
|
|
18
|
+
/** OPNsense FieldType: TextField */
|
|
19
|
+
as: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const AspathItem: S.Schema<AspathItem>;
|
|
22
|
+
export interface AddAspathRequest {
|
|
23
|
+
aspath?: AspathItem;
|
|
24
|
+
}
|
|
25
|
+
export declare const AddAspathRequest: S.Schema<AddAspathRequest>;
|
|
26
|
+
export type AddAspathResult = "saved";
|
|
27
|
+
export declare const AddAspathResult: any;
|
|
28
|
+
export interface AddAspathResponse {
|
|
29
|
+
result?: AddAspathResult;
|
|
30
|
+
/** The new item's uuid. */
|
|
31
|
+
uuid?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const AddAspathResponse: S.Schema<AddAspathResponse>;
|
|
34
|
+
export type CommunitylistItemAction = "permit" | "deny";
|
|
35
|
+
export declare const CommunitylistItemAction: any;
|
|
36
|
+
export interface CommunitylistItem {
|
|
37
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
38
|
+
uuid?: string;
|
|
39
|
+
/** OPNsense FieldType: BooleanField */
|
|
40
|
+
enabled: string;
|
|
41
|
+
/** OPNsense FieldType: TextField */
|
|
42
|
+
description?: string;
|
|
43
|
+
/** OPNsense FieldType: IntegerField; range 1..500 (as text) */
|
|
44
|
+
number: string;
|
|
45
|
+
/** OPNsense FieldType: IntegerField; range 10..99 (as text) */
|
|
46
|
+
seqnumber: string;
|
|
47
|
+
/** OPNsense FieldType: OptionField */
|
|
48
|
+
action: CommunitylistItemAction | (string & {});
|
|
49
|
+
/** OPNsense FieldType: TextField */
|
|
50
|
+
community: string;
|
|
51
|
+
}
|
|
52
|
+
export declare const CommunitylistItem: S.Schema<CommunitylistItem>;
|
|
53
|
+
export interface AddCommunitylistRequest {
|
|
54
|
+
communitylist?: CommunitylistItem;
|
|
55
|
+
}
|
|
56
|
+
export declare const AddCommunitylistRequest: S.Schema<AddCommunitylistRequest>;
|
|
57
|
+
export type AddCommunitylistResult = "saved";
|
|
58
|
+
export declare const AddCommunitylistResult: any;
|
|
59
|
+
export interface AddCommunitylistResponse {
|
|
60
|
+
result?: AddCommunitylistResult;
|
|
61
|
+
/** The new item's uuid. */
|
|
62
|
+
uuid?: string;
|
|
63
|
+
}
|
|
64
|
+
export declare const AddCommunitylistResponse: S.Schema<AddCommunitylistResponse>;
|
|
65
|
+
export type NeighborItemRemoteAsMode = "internal" | "external";
|
|
66
|
+
export declare const NeighborItemRemoteAsMode: any;
|
|
67
|
+
export type NeighborItemRemoveprivateas = "removeprivateas" | "removeallas" | "replaceprivateas" | "replaceallas";
|
|
68
|
+
export declare const NeighborItemRemoveprivateas: any;
|
|
69
|
+
export type NeighborItemAllowasIn = "val1" | "val2" | "val3" | "val4" | "val5" | "val6" | "val7" | "val8" | "val9" | "val10" | "origin";
|
|
70
|
+
export declare const NeighborItemAllowasIn: any;
|
|
71
|
+
export type NeighborItemAttributeunchanged = "as-path" | "next-hop" | "med";
|
|
72
|
+
export declare const NeighborItemAttributeunchanged: any;
|
|
73
|
+
export type NeighborItemCapabilities = "extended-nexthop" | "dynamic" | "fqdn" | "link-local";
|
|
74
|
+
export declare const NeighborItemCapabilities: any;
|
|
75
|
+
export interface NeighborItem {
|
|
76
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
77
|
+
uuid?: string;
|
|
78
|
+
/** OPNsense FieldType: BooleanField */
|
|
79
|
+
enabled: string;
|
|
80
|
+
/** OPNsense FieldType: TextField */
|
|
81
|
+
description?: string;
|
|
82
|
+
/** OPNsense FieldType: NetworkField */
|
|
83
|
+
address: string;
|
|
84
|
+
/** OPNsense FieldType: OptionField */
|
|
85
|
+
remote_as_mode?: NeighborItemRemoteAsMode | (string & {});
|
|
86
|
+
/** OPNsense FieldType: IntegerField; range 1..4294967295 (as text) */
|
|
87
|
+
remoteas?: string;
|
|
88
|
+
/** OPNsense FieldType: IntegerField; range 1..4294967295 (as text) */
|
|
89
|
+
localas?: string;
|
|
90
|
+
/** OPNsense FieldType: TextField */
|
|
91
|
+
password?: string;
|
|
92
|
+
/** OPNsense FieldType: IntegerField; range 0..65535 (as text) */
|
|
93
|
+
weight?: string;
|
|
94
|
+
/** OPNsense FieldType: NetworkField */
|
|
95
|
+
localip?: string;
|
|
96
|
+
/** OPNsense FieldType: InterfaceField */
|
|
97
|
+
updatesource?: string;
|
|
98
|
+
/** OPNsense FieldType: InterfaceField */
|
|
99
|
+
linklocalinterface?: string;
|
|
100
|
+
/** OPNsense FieldType: BooleanField */
|
|
101
|
+
nexthopself?: string;
|
|
102
|
+
/** OPNsense FieldType: BooleanField */
|
|
103
|
+
nexthopselfall?: string;
|
|
104
|
+
/** OPNsense FieldType: BooleanField */
|
|
105
|
+
multihop?: string;
|
|
106
|
+
/** OPNsense FieldType: BooleanField */
|
|
107
|
+
multiprotocol?: string;
|
|
108
|
+
/** OPNsense FieldType: BooleanField */
|
|
109
|
+
rrclient?: string;
|
|
110
|
+
/** OPNsense FieldType: BooleanField */
|
|
111
|
+
soft_reconfiguration_inbound?: string;
|
|
112
|
+
/** OPNsense FieldType: BooleanField */
|
|
113
|
+
bfd?: string;
|
|
114
|
+
/** OPNsense FieldType: BooleanField */
|
|
115
|
+
bfd_strict?: string;
|
|
116
|
+
/** OPNsense FieldType: IntegerField; range 1..1000 (as text) */
|
|
117
|
+
keepalive?: string;
|
|
118
|
+
/** OPNsense FieldType: IntegerField; range 3..3000 (as text) */
|
|
119
|
+
holddown?: string;
|
|
120
|
+
/** OPNsense FieldType: IntegerField; range 1..65000 (as text) */
|
|
121
|
+
connecttimer?: string;
|
|
122
|
+
/** OPNsense FieldType: BooleanField */
|
|
123
|
+
defaultoriginate?: string;
|
|
124
|
+
/** OPNsense FieldType: BooleanField */
|
|
125
|
+
asoverride?: string;
|
|
126
|
+
/** OPNsense FieldType: OptionField */
|
|
127
|
+
removeprivateas?: NeighborItemRemoveprivateas | (string & {});
|
|
128
|
+
/** OPNsense FieldType: OptionField */
|
|
129
|
+
allowas_in?: NeighborItemAllowasIn | (string & {});
|
|
130
|
+
/** OPNsense FieldType: BooleanField */
|
|
131
|
+
disable_connected_check?: string;
|
|
132
|
+
/** OPNsense FieldType: OptionField */
|
|
133
|
+
attributeunchanged?: NeighborItemAttributeunchanged | (string & {});
|
|
134
|
+
/** OPNsense FieldType: OptionField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
135
|
+
capabilities?: NeighborItemCapabilities | (string & {});
|
|
136
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
137
|
+
linkedPrefixlistIn?: string;
|
|
138
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
139
|
+
linkedPrefixlistOut?: string;
|
|
140
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
141
|
+
linkedRoutemapIn?: string;
|
|
142
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
143
|
+
linkedRoutemapOut?: string;
|
|
144
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
145
|
+
peergroup?: string;
|
|
146
|
+
}
|
|
147
|
+
export declare const NeighborItem: S.Schema<NeighborItem>;
|
|
148
|
+
export interface AddNeighborRequest {
|
|
149
|
+
neighbor?: NeighborItem;
|
|
150
|
+
}
|
|
151
|
+
export declare const AddNeighborRequest: S.Schema<AddNeighborRequest>;
|
|
152
|
+
export type AddNeighborResult = "saved";
|
|
153
|
+
export declare const AddNeighborResult: any;
|
|
154
|
+
export interface AddNeighborResponse {
|
|
155
|
+
result?: AddNeighborResult;
|
|
156
|
+
/** The new item's uuid. */
|
|
157
|
+
uuid?: string;
|
|
158
|
+
}
|
|
159
|
+
export declare const AddNeighborResponse: S.Schema<AddNeighborResponse>;
|
|
160
|
+
export type PeergroupItemRemoteAsMode = "internal" | "external";
|
|
161
|
+
export declare const PeergroupItemRemoteAsMode: any;
|
|
162
|
+
export type PeergroupItemFamily = "ipv4" | "ipv6";
|
|
163
|
+
export declare const PeergroupItemFamily: any;
|
|
164
|
+
export interface PeergroupItem {
|
|
165
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
166
|
+
uuid?: string;
|
|
167
|
+
/** OPNsense FieldType: BooleanField */
|
|
168
|
+
enabled: string;
|
|
169
|
+
/** OPNsense FieldType: TextField */
|
|
170
|
+
name: string;
|
|
171
|
+
/** OPNsense FieldType: OptionField */
|
|
172
|
+
remote_as_mode?: PeergroupItemRemoteAsMode | (string & {});
|
|
173
|
+
/** OPNsense FieldType: IntegerField; range 1..4294967295 (as text) */
|
|
174
|
+
remoteas?: string;
|
|
175
|
+
/** OPNsense FieldType: OptionField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
176
|
+
family: PeergroupItemFamily | (string & {});
|
|
177
|
+
/** OPNsense FieldType: NetworkField */
|
|
178
|
+
listenranges?: string;
|
|
179
|
+
/** OPNsense FieldType: InterfaceField */
|
|
180
|
+
updatesource?: string;
|
|
181
|
+
/** OPNsense FieldType: BooleanField */
|
|
182
|
+
nexthopself?: string;
|
|
183
|
+
/** OPNsense FieldType: BooleanField */
|
|
184
|
+
defaultoriginate?: string;
|
|
185
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
186
|
+
linkedPrefixlistIn?: string;
|
|
187
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
188
|
+
linkedPrefixlistOut?: string;
|
|
189
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
190
|
+
linkedRoutemapIn?: string;
|
|
191
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
192
|
+
linkedRoutemapOut?: string;
|
|
193
|
+
}
|
|
194
|
+
export declare const PeergroupItem: S.Schema<PeergroupItem>;
|
|
195
|
+
export interface AddPeergroupRequest {
|
|
196
|
+
peergroup?: PeergroupItem;
|
|
197
|
+
}
|
|
198
|
+
export declare const AddPeergroupRequest: S.Schema<AddPeergroupRequest>;
|
|
199
|
+
export type AddPeergroupResult = "saved";
|
|
200
|
+
export declare const AddPeergroupResult: any;
|
|
201
|
+
export interface AddPeergroupResponse {
|
|
202
|
+
result?: AddPeergroupResult;
|
|
203
|
+
/** The new item's uuid. */
|
|
204
|
+
uuid?: string;
|
|
205
|
+
}
|
|
206
|
+
export declare const AddPeergroupResponse: S.Schema<AddPeergroupResponse>;
|
|
207
|
+
export type PrefixlistItemVersion = "IPv4" | "IPv6";
|
|
208
|
+
export declare const PrefixlistItemVersion: any;
|
|
209
|
+
export type PrefixlistItemAction = "permit" | "deny";
|
|
210
|
+
export declare const PrefixlistItemAction: any;
|
|
211
|
+
export interface PrefixlistItem {
|
|
212
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
213
|
+
uuid?: string;
|
|
214
|
+
/** OPNsense FieldType: BooleanField */
|
|
215
|
+
enabled: string;
|
|
216
|
+
/** OPNsense FieldType: TextField */
|
|
217
|
+
description?: string;
|
|
218
|
+
/** OPNsense FieldType: TextField; pattern /^[a-zA-Z0-9._-]{1,64}$/ */
|
|
219
|
+
name: string;
|
|
220
|
+
/** OPNsense FieldType: OptionField */
|
|
221
|
+
version: PrefixlistItemVersion | (string & {});
|
|
222
|
+
/** OPNsense FieldType: IntegerField; range 1..4294967294 (as text) */
|
|
223
|
+
seqnumber: string;
|
|
224
|
+
/** OPNsense FieldType: OptionField */
|
|
225
|
+
action: PrefixlistItemAction | (string & {});
|
|
226
|
+
/** OPNsense FieldType: TextField */
|
|
227
|
+
network: string;
|
|
228
|
+
}
|
|
229
|
+
export declare const PrefixlistItem: S.Schema<PrefixlistItem>;
|
|
230
|
+
export interface AddPrefixlistRequest {
|
|
231
|
+
prefixlist?: PrefixlistItem;
|
|
232
|
+
}
|
|
233
|
+
export declare const AddPrefixlistRequest: S.Schema<AddPrefixlistRequest>;
|
|
234
|
+
export type AddPrefixlistResult = "saved";
|
|
235
|
+
export declare const AddPrefixlistResult: any;
|
|
236
|
+
export interface AddPrefixlistResponse {
|
|
237
|
+
result?: AddPrefixlistResult;
|
|
238
|
+
/** The new item's uuid. */
|
|
239
|
+
uuid?: string;
|
|
240
|
+
}
|
|
241
|
+
export declare const AddPrefixlistResponse: S.Schema<AddPrefixlistResponse>;
|
|
242
|
+
export type RedistributionItemRedistribute = "ospf" | "connected" | "kernel" | "rip" | "static";
|
|
243
|
+
export declare const RedistributionItemRedistribute: any;
|
|
244
|
+
export interface RedistributionItem {
|
|
245
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
246
|
+
uuid?: string;
|
|
247
|
+
/** OPNsense FieldType: BooleanField */
|
|
248
|
+
enabled: string;
|
|
249
|
+
/** OPNsense FieldType: DescriptionField */
|
|
250
|
+
description?: string;
|
|
251
|
+
/** OPNsense FieldType: OptionField */
|
|
252
|
+
redistribute: RedistributionItemRedistribute | (string & {});
|
|
253
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
254
|
+
linkedRoutemap?: string;
|
|
255
|
+
}
|
|
256
|
+
export declare const RedistributionItem: S.Schema<RedistributionItem>;
|
|
257
|
+
export interface AddRedistributionRequest {
|
|
258
|
+
redistribution?: RedistributionItem;
|
|
259
|
+
}
|
|
260
|
+
export declare const AddRedistributionRequest: S.Schema<AddRedistributionRequest>;
|
|
261
|
+
export type AddRedistributionResult = "saved";
|
|
262
|
+
export declare const AddRedistributionResult: any;
|
|
263
|
+
export interface AddRedistributionResponse {
|
|
264
|
+
result?: AddRedistributionResult;
|
|
265
|
+
/** The new item's uuid. */
|
|
266
|
+
uuid?: string;
|
|
267
|
+
}
|
|
268
|
+
export declare const AddRedistributionResponse: S.Schema<AddRedistributionResponse>;
|
|
269
|
+
export type RoutemapItemAction = "permit" | "deny";
|
|
270
|
+
export declare const RoutemapItemAction: any;
|
|
271
|
+
export interface RoutemapItem {
|
|
272
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
273
|
+
uuid?: string;
|
|
274
|
+
/** OPNsense FieldType: BooleanField */
|
|
275
|
+
enabled: string;
|
|
276
|
+
/** OPNsense FieldType: TextField */
|
|
277
|
+
description?: string;
|
|
278
|
+
/** OPNsense FieldType: TextField; pattern /^[a-zA-Z0-9._-]{1,64}$/ */
|
|
279
|
+
name: string;
|
|
280
|
+
/** OPNsense FieldType: OptionField */
|
|
281
|
+
action: RoutemapItemAction | (string & {});
|
|
282
|
+
/** OPNsense FieldType: IntegerField; range 1..65535 (as text) */
|
|
283
|
+
id: string;
|
|
284
|
+
/** OPNsense FieldType: ModelRelationField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
285
|
+
match?: string;
|
|
286
|
+
/** OPNsense FieldType: ModelRelationField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
287
|
+
match2?: string;
|
|
288
|
+
/** OPNsense FieldType: ModelRelationField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
289
|
+
match3?: string;
|
|
290
|
+
/** OPNsense FieldType: TextField */
|
|
291
|
+
set?: string;
|
|
292
|
+
}
|
|
293
|
+
export declare const RoutemapItem: S.Schema<RoutemapItem>;
|
|
294
|
+
export interface AddRoutemapRequest {
|
|
295
|
+
routemap?: RoutemapItem;
|
|
296
|
+
}
|
|
297
|
+
export declare const AddRoutemapRequest: S.Schema<AddRoutemapRequest>;
|
|
298
|
+
export type AddRoutemapResult = "saved";
|
|
299
|
+
export declare const AddRoutemapResult: any;
|
|
300
|
+
export interface AddRoutemapResponse {
|
|
301
|
+
result?: AddRoutemapResult;
|
|
302
|
+
/** The new item's uuid. */
|
|
303
|
+
uuid?: string;
|
|
304
|
+
}
|
|
305
|
+
export declare const AddRoutemapResponse: S.Schema<AddRoutemapResponse>;
|
|
306
|
+
export interface DelAspathRequest {
|
|
307
|
+
uuid: string;
|
|
308
|
+
}
|
|
309
|
+
export declare const DelAspathRequest: S.Schema<DelAspathRequest>;
|
|
310
|
+
export type DelAspathResult = "deleted" | "not found";
|
|
311
|
+
export declare const DelAspathResult: any;
|
|
312
|
+
export interface DelAspathResponse {
|
|
313
|
+
result?: DelAspathResult;
|
|
314
|
+
}
|
|
315
|
+
export declare const DelAspathResponse: S.Schema<DelAspathResponse>;
|
|
316
|
+
export interface DelCommunitylistRequest {
|
|
317
|
+
uuid: string;
|
|
318
|
+
}
|
|
319
|
+
export declare const DelCommunitylistRequest: S.Schema<DelCommunitylistRequest>;
|
|
320
|
+
export type DelCommunitylistResult = "deleted" | "not found";
|
|
321
|
+
export declare const DelCommunitylistResult: any;
|
|
322
|
+
export interface DelCommunitylistResponse {
|
|
323
|
+
result?: DelCommunitylistResult;
|
|
324
|
+
}
|
|
325
|
+
export declare const DelCommunitylistResponse: S.Schema<DelCommunitylistResponse>;
|
|
326
|
+
export interface DelNeighborRequest {
|
|
327
|
+
uuid: string;
|
|
328
|
+
}
|
|
329
|
+
export declare const DelNeighborRequest: S.Schema<DelNeighborRequest>;
|
|
330
|
+
export type DelNeighborResult = "deleted" | "not found";
|
|
331
|
+
export declare const DelNeighborResult: any;
|
|
332
|
+
export interface DelNeighborResponse {
|
|
333
|
+
result?: DelNeighborResult;
|
|
334
|
+
}
|
|
335
|
+
export declare const DelNeighborResponse: S.Schema<DelNeighborResponse>;
|
|
336
|
+
export interface DelPeergroupRequest {
|
|
337
|
+
uuid: string;
|
|
338
|
+
}
|
|
339
|
+
export declare const DelPeergroupRequest: S.Schema<DelPeergroupRequest>;
|
|
340
|
+
export type DelPeergroupResult = "deleted" | "not found";
|
|
341
|
+
export declare const DelPeergroupResult: any;
|
|
342
|
+
export interface DelPeergroupResponse {
|
|
343
|
+
result?: DelPeergroupResult;
|
|
344
|
+
}
|
|
345
|
+
export declare const DelPeergroupResponse: S.Schema<DelPeergroupResponse>;
|
|
346
|
+
export interface DelPrefixlistRequest {
|
|
347
|
+
uuid: string;
|
|
348
|
+
}
|
|
349
|
+
export declare const DelPrefixlistRequest: S.Schema<DelPrefixlistRequest>;
|
|
350
|
+
export type DelPrefixlistResult = "deleted" | "not found";
|
|
351
|
+
export declare const DelPrefixlistResult: any;
|
|
352
|
+
export interface DelPrefixlistResponse {
|
|
353
|
+
result?: DelPrefixlistResult;
|
|
354
|
+
}
|
|
355
|
+
export declare const DelPrefixlistResponse: S.Schema<DelPrefixlistResponse>;
|
|
356
|
+
export interface DelRedistributionRequest {
|
|
357
|
+
uuid: string;
|
|
358
|
+
}
|
|
359
|
+
export declare const DelRedistributionRequest: S.Schema<DelRedistributionRequest>;
|
|
360
|
+
export type DelRedistributionResult = "deleted" | "not found";
|
|
361
|
+
export declare const DelRedistributionResult: any;
|
|
362
|
+
export interface DelRedistributionResponse {
|
|
363
|
+
result?: DelRedistributionResult;
|
|
364
|
+
}
|
|
365
|
+
export declare const DelRedistributionResponse: S.Schema<DelRedistributionResponse>;
|
|
366
|
+
export interface DelRoutemapRequest {
|
|
367
|
+
uuid: string;
|
|
368
|
+
}
|
|
369
|
+
export declare const DelRoutemapRequest: S.Schema<DelRoutemapRequest>;
|
|
370
|
+
export type DelRoutemapResult = "deleted" | "not found";
|
|
371
|
+
export declare const DelRoutemapResult: any;
|
|
372
|
+
export interface DelRoutemapResponse {
|
|
373
|
+
result?: DelRoutemapResult;
|
|
374
|
+
}
|
|
375
|
+
export declare const DelRoutemapResponse: S.Schema<DelRoutemapResponse>;
|
|
376
|
+
export interface GetRequest {
|
|
377
|
+
}
|
|
378
|
+
export declare const GetRequest: S.Schema<GetRequest>;
|
|
379
|
+
export type ModelBestpath = "as_path_confed" | "as_path_multipath_relax" | "compare_routerid" | "peer_type_multipath_relax" | "aigp" | "med_missing_as_worst";
|
|
380
|
+
export declare const ModelBestpath: any;
|
|
381
|
+
export type ModelNeighborItemRemoteAsMode = "internal" | "external";
|
|
382
|
+
export declare const ModelNeighborItemRemoteAsMode: any;
|
|
383
|
+
export type ModelNeighborItemRemoveprivateas = "removeprivateas" | "removeallas" | "replaceprivateas" | "replaceallas";
|
|
384
|
+
export declare const ModelNeighborItemRemoveprivateas: any;
|
|
385
|
+
export type ModelNeighborItemAllowasIn = "val1" | "val2" | "val3" | "val4" | "val5" | "val6" | "val7" | "val8" | "val9" | "val10" | "origin";
|
|
386
|
+
export declare const ModelNeighborItemAllowasIn: any;
|
|
387
|
+
export type ModelNeighborItemAttributeunchanged = "as-path" | "next-hop" | "med";
|
|
388
|
+
export declare const ModelNeighborItemAttributeunchanged: any;
|
|
389
|
+
export type ModelNeighborItemCapabilities = "extended-nexthop" | "dynamic" | "fqdn" | "link-local";
|
|
390
|
+
export declare const ModelNeighborItemCapabilities: any;
|
|
391
|
+
export interface ModelNeighborItem {
|
|
392
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
393
|
+
uuid?: string;
|
|
394
|
+
/** OPNsense FieldType: BooleanField */
|
|
395
|
+
enabled: string;
|
|
396
|
+
/** OPNsense FieldType: TextField */
|
|
397
|
+
description?: string;
|
|
398
|
+
/** OPNsense FieldType: NetworkField */
|
|
399
|
+
address: string;
|
|
400
|
+
/** OPNsense FieldType: OptionField */
|
|
401
|
+
remote_as_mode?: ModelNeighborItemRemoteAsMode | (string & {});
|
|
402
|
+
/** OPNsense FieldType: IntegerField; range 1..4294967295 (as text) */
|
|
403
|
+
remoteas?: string;
|
|
404
|
+
/** OPNsense FieldType: IntegerField; range 1..4294967295 (as text) */
|
|
405
|
+
localas?: string;
|
|
406
|
+
/** OPNsense FieldType: TextField */
|
|
407
|
+
password?: string;
|
|
408
|
+
/** OPNsense FieldType: IntegerField; range 0..65535 (as text) */
|
|
409
|
+
weight?: string;
|
|
410
|
+
/** OPNsense FieldType: NetworkField */
|
|
411
|
+
localip?: string;
|
|
412
|
+
/** OPNsense FieldType: InterfaceField */
|
|
413
|
+
updatesource?: string;
|
|
414
|
+
/** OPNsense FieldType: InterfaceField */
|
|
415
|
+
linklocalinterface?: string;
|
|
416
|
+
/** OPNsense FieldType: BooleanField */
|
|
417
|
+
nexthopself?: string;
|
|
418
|
+
/** OPNsense FieldType: BooleanField */
|
|
419
|
+
nexthopselfall?: string;
|
|
420
|
+
/** OPNsense FieldType: BooleanField */
|
|
421
|
+
multihop?: string;
|
|
422
|
+
/** OPNsense FieldType: BooleanField */
|
|
423
|
+
multiprotocol?: string;
|
|
424
|
+
/** OPNsense FieldType: BooleanField */
|
|
425
|
+
rrclient?: string;
|
|
426
|
+
/** OPNsense FieldType: BooleanField */
|
|
427
|
+
soft_reconfiguration_inbound?: string;
|
|
428
|
+
/** OPNsense FieldType: BooleanField */
|
|
429
|
+
bfd?: string;
|
|
430
|
+
/** OPNsense FieldType: BooleanField */
|
|
431
|
+
bfd_strict?: string;
|
|
432
|
+
/** OPNsense FieldType: IntegerField; range 1..1000 (as text) */
|
|
433
|
+
keepalive?: string;
|
|
434
|
+
/** OPNsense FieldType: IntegerField; range 3..3000 (as text) */
|
|
435
|
+
holddown?: string;
|
|
436
|
+
/** OPNsense FieldType: IntegerField; range 1..65000 (as text) */
|
|
437
|
+
connecttimer?: string;
|
|
438
|
+
/** OPNsense FieldType: BooleanField */
|
|
439
|
+
defaultoriginate?: string;
|
|
440
|
+
/** OPNsense FieldType: BooleanField */
|
|
441
|
+
asoverride?: string;
|
|
442
|
+
/** OPNsense FieldType: OptionField */
|
|
443
|
+
removeprivateas?: ModelNeighborItemRemoveprivateas | (string & {});
|
|
444
|
+
/** OPNsense FieldType: OptionField */
|
|
445
|
+
allowas_in?: ModelNeighborItemAllowasIn | (string & {});
|
|
446
|
+
/** OPNsense FieldType: BooleanField */
|
|
447
|
+
disable_connected_check?: string;
|
|
448
|
+
/** OPNsense FieldType: OptionField */
|
|
449
|
+
attributeunchanged?: ModelNeighborItemAttributeunchanged | (string & {});
|
|
450
|
+
/** OPNsense FieldType: OptionField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
451
|
+
capabilities?: ModelNeighborItemCapabilities | (string & {});
|
|
452
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
453
|
+
linkedPrefixlistIn?: string;
|
|
454
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
455
|
+
linkedPrefixlistOut?: string;
|
|
456
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
457
|
+
linkedRoutemapIn?: string;
|
|
458
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
459
|
+
linkedRoutemapOut?: string;
|
|
460
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
461
|
+
peergroup?: string;
|
|
462
|
+
}
|
|
463
|
+
export declare const ModelNeighborItem: S.Schema<ModelNeighborItem>;
|
|
464
|
+
export type ModelNeighborItemMap = {
|
|
465
|
+
[key: string]: ModelNeighborItem | undefined;
|
|
466
|
+
};
|
|
467
|
+
export declare const ModelNeighborItemMap: S.Schema<ModelNeighborItemMap>;
|
|
468
|
+
export interface ModelNeighbors {
|
|
469
|
+
neighbor?: ModelNeighborItemMap;
|
|
470
|
+
}
|
|
471
|
+
export declare const ModelNeighbors: S.Schema<ModelNeighbors>;
|
|
472
|
+
export type ModelAspathItemAction = "permit" | "deny";
|
|
473
|
+
export declare const ModelAspathItemAction: any;
|
|
474
|
+
export interface ModelAspathItem {
|
|
475
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
476
|
+
uuid?: string;
|
|
477
|
+
/** OPNsense FieldType: BooleanField */
|
|
478
|
+
enabled: string;
|
|
479
|
+
/** OPNsense FieldType: TextField */
|
|
480
|
+
description?: string;
|
|
481
|
+
/** OPNsense FieldType: IntegerField; range 0..4294967295 (as text) */
|
|
482
|
+
number: string;
|
|
483
|
+
/** OPNsense FieldType: OptionField */
|
|
484
|
+
action: ModelAspathItemAction | (string & {});
|
|
485
|
+
/** OPNsense FieldType: TextField */
|
|
486
|
+
as: string;
|
|
487
|
+
}
|
|
488
|
+
export declare const ModelAspathItem: S.Schema<ModelAspathItem>;
|
|
489
|
+
export type ModelAspathItemMap = {
|
|
490
|
+
[key: string]: ModelAspathItem | undefined;
|
|
491
|
+
};
|
|
492
|
+
export declare const ModelAspathItemMap: S.Schema<ModelAspathItemMap>;
|
|
493
|
+
export interface ModelAspaths {
|
|
494
|
+
aspath?: ModelAspathItemMap;
|
|
495
|
+
}
|
|
496
|
+
export declare const ModelAspaths: S.Schema<ModelAspaths>;
|
|
497
|
+
export type ModelPrefixlistItemVersion = "IPv4" | "IPv6";
|
|
498
|
+
export declare const ModelPrefixlistItemVersion: any;
|
|
499
|
+
export type ModelPrefixlistItemAction = "permit" | "deny";
|
|
500
|
+
export declare const ModelPrefixlistItemAction: any;
|
|
501
|
+
export interface ModelPrefixlistItem {
|
|
502
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
503
|
+
uuid?: string;
|
|
504
|
+
/** OPNsense FieldType: BooleanField */
|
|
505
|
+
enabled: string;
|
|
506
|
+
/** OPNsense FieldType: TextField */
|
|
507
|
+
description?: string;
|
|
508
|
+
/** OPNsense FieldType: TextField; pattern /^[a-zA-Z0-9._-]{1,64}$/ */
|
|
509
|
+
name: string;
|
|
510
|
+
/** OPNsense FieldType: OptionField */
|
|
511
|
+
version: ModelPrefixlistItemVersion | (string & {});
|
|
512
|
+
/** OPNsense FieldType: IntegerField; range 1..4294967294 (as text) */
|
|
513
|
+
seqnumber: string;
|
|
514
|
+
/** OPNsense FieldType: OptionField */
|
|
515
|
+
action: ModelPrefixlistItemAction | (string & {});
|
|
516
|
+
/** OPNsense FieldType: TextField */
|
|
517
|
+
network: string;
|
|
518
|
+
}
|
|
519
|
+
export declare const ModelPrefixlistItem: S.Schema<ModelPrefixlistItem>;
|
|
520
|
+
export type ModelPrefixlistItemMap = {
|
|
521
|
+
[key: string]: ModelPrefixlistItem | undefined;
|
|
522
|
+
};
|
|
523
|
+
export declare const ModelPrefixlistItemMap: S.Schema<ModelPrefixlistItemMap>;
|
|
524
|
+
export interface ModelPrefixlists {
|
|
525
|
+
prefixlist?: ModelPrefixlistItemMap;
|
|
526
|
+
}
|
|
527
|
+
export declare const ModelPrefixlists: S.Schema<ModelPrefixlists>;
|
|
528
|
+
export type ModelCommunitylistItemAction = "permit" | "deny";
|
|
529
|
+
export declare const ModelCommunitylistItemAction: any;
|
|
530
|
+
export interface ModelCommunitylistItem {
|
|
531
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
532
|
+
uuid?: string;
|
|
533
|
+
/** OPNsense FieldType: BooleanField */
|
|
534
|
+
enabled: string;
|
|
535
|
+
/** OPNsense FieldType: TextField */
|
|
536
|
+
description?: string;
|
|
537
|
+
/** OPNsense FieldType: IntegerField; range 1..500 (as text) */
|
|
538
|
+
number: string;
|
|
539
|
+
/** OPNsense FieldType: IntegerField; range 10..99 (as text) */
|
|
540
|
+
seqnumber: string;
|
|
541
|
+
/** OPNsense FieldType: OptionField */
|
|
542
|
+
action: ModelCommunitylistItemAction | (string & {});
|
|
543
|
+
/** OPNsense FieldType: TextField */
|
|
544
|
+
community: string;
|
|
545
|
+
}
|
|
546
|
+
export declare const ModelCommunitylistItem: S.Schema<ModelCommunitylistItem>;
|
|
547
|
+
export type ModelCommunitylistItemMap = {
|
|
548
|
+
[key: string]: ModelCommunitylistItem | undefined;
|
|
549
|
+
};
|
|
550
|
+
export declare const ModelCommunitylistItemMap: S.Schema<ModelCommunitylistItemMap>;
|
|
551
|
+
export interface ModelCommunitylists {
|
|
552
|
+
communitylist?: ModelCommunitylistItemMap;
|
|
553
|
+
}
|
|
554
|
+
export declare const ModelCommunitylists: S.Schema<ModelCommunitylists>;
|
|
555
|
+
export type ModelRoutemapItemAction = "permit" | "deny";
|
|
556
|
+
export declare const ModelRoutemapItemAction: any;
|
|
557
|
+
export interface ModelRoutemapItem {
|
|
558
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
559
|
+
uuid?: string;
|
|
560
|
+
/** OPNsense FieldType: BooleanField */
|
|
561
|
+
enabled: string;
|
|
562
|
+
/** OPNsense FieldType: TextField */
|
|
563
|
+
description?: string;
|
|
564
|
+
/** OPNsense FieldType: TextField; pattern /^[a-zA-Z0-9._-]{1,64}$/ */
|
|
565
|
+
name: string;
|
|
566
|
+
/** OPNsense FieldType: OptionField */
|
|
567
|
+
action: ModelRoutemapItemAction | (string & {});
|
|
568
|
+
/** OPNsense FieldType: IntegerField; range 1..65535 (as text) */
|
|
569
|
+
id: string;
|
|
570
|
+
/** OPNsense FieldType: ModelRelationField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
571
|
+
match?: string;
|
|
572
|
+
/** OPNsense FieldType: ModelRelationField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
573
|
+
match2?: string;
|
|
574
|
+
/** OPNsense FieldType: ModelRelationField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
575
|
+
match3?: string;
|
|
576
|
+
/** OPNsense FieldType: TextField */
|
|
577
|
+
set?: string;
|
|
578
|
+
}
|
|
579
|
+
export declare const ModelRoutemapItem: S.Schema<ModelRoutemapItem>;
|
|
580
|
+
export type ModelRoutemapItemMap = {
|
|
581
|
+
[key: string]: ModelRoutemapItem | undefined;
|
|
582
|
+
};
|
|
583
|
+
export declare const ModelRoutemapItemMap: S.Schema<ModelRoutemapItemMap>;
|
|
584
|
+
export interface ModelRoutemaps {
|
|
585
|
+
routemap?: ModelRoutemapItemMap;
|
|
586
|
+
}
|
|
587
|
+
export declare const ModelRoutemaps: S.Schema<ModelRoutemaps>;
|
|
588
|
+
export type ModelPeergroupItemRemoteAsMode = "internal" | "external";
|
|
589
|
+
export declare const ModelPeergroupItemRemoteAsMode: any;
|
|
590
|
+
export type ModelPeergroupItemFamily = "ipv4" | "ipv6";
|
|
591
|
+
export declare const ModelPeergroupItemFamily: any;
|
|
592
|
+
export interface ModelPeergroupItem {
|
|
593
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
594
|
+
uuid?: string;
|
|
595
|
+
/** OPNsense FieldType: BooleanField */
|
|
596
|
+
enabled: string;
|
|
597
|
+
/** OPNsense FieldType: TextField */
|
|
598
|
+
name: string;
|
|
599
|
+
/** OPNsense FieldType: OptionField */
|
|
600
|
+
remote_as_mode?: ModelPeergroupItemRemoteAsMode | (string & {});
|
|
601
|
+
/** OPNsense FieldType: IntegerField; range 1..4294967295 (as text) */
|
|
602
|
+
remoteas?: string;
|
|
603
|
+
/** OPNsense FieldType: OptionField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
604
|
+
family: ModelPeergroupItemFamily | (string & {});
|
|
605
|
+
/** OPNsense FieldType: NetworkField */
|
|
606
|
+
listenranges?: string;
|
|
607
|
+
/** OPNsense FieldType: InterfaceField */
|
|
608
|
+
updatesource?: string;
|
|
609
|
+
/** OPNsense FieldType: BooleanField */
|
|
610
|
+
nexthopself?: string;
|
|
611
|
+
/** OPNsense FieldType: BooleanField */
|
|
612
|
+
defaultoriginate?: string;
|
|
613
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
614
|
+
linkedPrefixlistIn?: string;
|
|
615
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
616
|
+
linkedPrefixlistOut?: string;
|
|
617
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
618
|
+
linkedRoutemapIn?: string;
|
|
619
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
620
|
+
linkedRoutemapOut?: string;
|
|
621
|
+
}
|
|
622
|
+
export declare const ModelPeergroupItem: S.Schema<ModelPeergroupItem>;
|
|
623
|
+
export type ModelPeergroupItemMap = {
|
|
624
|
+
[key: string]: ModelPeergroupItem | undefined;
|
|
625
|
+
};
|
|
626
|
+
export declare const ModelPeergroupItemMap: S.Schema<ModelPeergroupItemMap>;
|
|
627
|
+
export interface ModelPeergroups {
|
|
628
|
+
peergroup?: ModelPeergroupItemMap;
|
|
629
|
+
}
|
|
630
|
+
export declare const ModelPeergroups: S.Schema<ModelPeergroups>;
|
|
631
|
+
export type ModelRedistributionItemRedistribute = "ospf" | "connected" | "kernel" | "rip" | "static";
|
|
632
|
+
export declare const ModelRedistributionItemRedistribute: any;
|
|
633
|
+
export interface ModelRedistributionItem {
|
|
634
|
+
/** Item id, assigned by OPNsense on creation. */
|
|
635
|
+
uuid?: string;
|
|
636
|
+
/** OPNsense FieldType: BooleanField */
|
|
637
|
+
enabled: string;
|
|
638
|
+
/** OPNsense FieldType: DescriptionField */
|
|
639
|
+
description?: string;
|
|
640
|
+
/** OPNsense FieldType: OptionField */
|
|
641
|
+
redistribute: ModelRedistributionItemRedistribute | (string & {});
|
|
642
|
+
/** OPNsense FieldType: ModelRelationField */
|
|
643
|
+
linkedRoutemap?: string;
|
|
644
|
+
}
|
|
645
|
+
export declare const ModelRedistributionItem: S.Schema<ModelRedistributionItem>;
|
|
646
|
+
export type ModelRedistributionItemMap = {
|
|
647
|
+
[key: string]: ModelRedistributionItem | undefined;
|
|
648
|
+
};
|
|
649
|
+
export declare const ModelRedistributionItemMap: S.Schema<ModelRedistributionItemMap>;
|
|
650
|
+
export interface ModelRedistributions {
|
|
651
|
+
redistribution?: ModelRedistributionItemMap;
|
|
652
|
+
}
|
|
653
|
+
export declare const ModelRedistributions: S.Schema<ModelRedistributions>;
|
|
654
|
+
export interface Model {
|
|
655
|
+
/** OPNsense FieldType: BooleanField */
|
|
656
|
+
enabled: string;
|
|
657
|
+
/** OPNsense FieldType: IntegerField; range 1..4294967295 (as text) */
|
|
658
|
+
asnumber: string;
|
|
659
|
+
/** OPNsense FieldType: IntegerField; range 1..255 (as text) */
|
|
660
|
+
distance?: string;
|
|
661
|
+
/** OPNsense FieldType: TextField; pattern /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/ */
|
|
662
|
+
routerid?: string;
|
|
663
|
+
/** OPNsense FieldType: BooleanField */
|
|
664
|
+
graceful: string;
|
|
665
|
+
/** OPNsense FieldType: BooleanField */
|
|
666
|
+
networkimportcheck: string;
|
|
667
|
+
/** OPNsense FieldType: BooleanField */
|
|
668
|
+
enforce_first_as: string;
|
|
669
|
+
/** OPNsense FieldType: BooleanField */
|
|
670
|
+
logneighborchanges: string;
|
|
671
|
+
/** OPNsense FieldType: CSVListField */
|
|
672
|
+
networks?: string;
|
|
673
|
+
/** OPNsense FieldType: OptionField; multi-select: wire value is a single comma-joined string, not a JSON array */
|
|
674
|
+
bestpath?: ModelBestpath | (string & {});
|
|
675
|
+
/** OPNsense FieldType: IntegerField; range 1..128 (as text) */
|
|
676
|
+
maximumpaths?: string;
|
|
677
|
+
/** OPNsense FieldType: IntegerField; range 1..128 (as text) */
|
|
678
|
+
maximumpathsibgp?: string;
|
|
679
|
+
neighbors?: ModelNeighbors;
|
|
680
|
+
aspaths?: ModelAspaths;
|
|
681
|
+
prefixlists?: ModelPrefixlists;
|
|
682
|
+
communitylists?: ModelCommunitylists;
|
|
683
|
+
routemaps?: ModelRoutemaps;
|
|
684
|
+
peergroups?: ModelPeergroups;
|
|
685
|
+
redistributions?: ModelRedistributions;
|
|
686
|
+
}
|
|
687
|
+
export declare const Model: S.Schema<Model>;
|
|
688
|
+
export interface GetResponse {
|
|
689
|
+
bgp?: Model;
|
|
690
|
+
}
|
|
691
|
+
export declare const GetResponse: S.Schema<GetResponse>;
|
|
692
|
+
export interface GetAspathRequest {
|
|
693
|
+
}
|
|
694
|
+
export declare const GetAspathRequest: S.Schema<GetAspathRequest>;
|
|
695
|
+
export interface GetAspathResponse {
|
|
696
|
+
aspath?: AspathItem;
|
|
697
|
+
}
|
|
698
|
+
export declare const GetAspathResponse: S.Schema<GetAspathResponse>;
|
|
699
|
+
export interface GetCommunitylistRequest {
|
|
700
|
+
}
|
|
701
|
+
export declare const GetCommunitylistRequest: S.Schema<GetCommunitylistRequest>;
|
|
702
|
+
export interface GetCommunitylistResponse {
|
|
703
|
+
communitylist?: CommunitylistItem;
|
|
704
|
+
}
|
|
705
|
+
export declare const GetCommunitylistResponse: S.Schema<GetCommunitylistResponse>;
|
|
706
|
+
export interface GetNeighborRequest {
|
|
707
|
+
}
|
|
708
|
+
export declare const GetNeighborRequest: S.Schema<GetNeighborRequest>;
|
|
709
|
+
export interface GetNeighborResponse {
|
|
710
|
+
neighbor?: NeighborItem;
|
|
711
|
+
}
|
|
712
|
+
export declare const GetNeighborResponse: S.Schema<GetNeighborResponse>;
|
|
713
|
+
export interface GetPeergroupRequest {
|
|
714
|
+
}
|
|
715
|
+
export declare const GetPeergroupRequest: S.Schema<GetPeergroupRequest>;
|
|
716
|
+
export interface GetPeergroupResponse {
|
|
717
|
+
peergroup?: PeergroupItem;
|
|
718
|
+
}
|
|
719
|
+
export declare const GetPeergroupResponse: S.Schema<GetPeergroupResponse>;
|
|
720
|
+
export interface GetPrefixlistRequest {
|
|
721
|
+
}
|
|
722
|
+
export declare const GetPrefixlistRequest: S.Schema<GetPrefixlistRequest>;
|
|
723
|
+
export interface GetPrefixlistResponse {
|
|
724
|
+
prefixlist?: PrefixlistItem;
|
|
725
|
+
}
|
|
726
|
+
export declare const GetPrefixlistResponse: S.Schema<GetPrefixlistResponse>;
|
|
727
|
+
export interface GetRedistributionRequest {
|
|
728
|
+
}
|
|
729
|
+
export declare const GetRedistributionRequest: S.Schema<GetRedistributionRequest>;
|
|
730
|
+
export interface GetRedistributionResponse {
|
|
731
|
+
redistribution?: RedistributionItem;
|
|
732
|
+
}
|
|
733
|
+
export declare const GetRedistributionResponse: S.Schema<GetRedistributionResponse>;
|
|
734
|
+
export interface GetRoutemapRequest {
|
|
735
|
+
}
|
|
736
|
+
export declare const GetRoutemapRequest: S.Schema<GetRoutemapRequest>;
|
|
737
|
+
export interface GetRoutemapResponse {
|
|
738
|
+
routemap?: RoutemapItem;
|
|
739
|
+
}
|
|
740
|
+
export declare const GetRoutemapResponse: S.Schema<GetRoutemapResponse>;
|
|
741
|
+
export interface SearchAspathRequest {
|
|
742
|
+
}
|
|
743
|
+
export declare const SearchAspathRequest: S.Schema<SearchAspathRequest>;
|
|
744
|
+
export type AspathList = Array<AspathItem>;
|
|
745
|
+
export declare const AspathList: S.Schema<AspathList>;
|
|
746
|
+
export interface SearchAspathResponse {
|
|
747
|
+
/** Total matching items before pagination. */
|
|
748
|
+
total?: number;
|
|
749
|
+
rowCount?: number;
|
|
750
|
+
/** Current page number. */
|
|
751
|
+
current?: number;
|
|
752
|
+
rows?: AspathList;
|
|
753
|
+
}
|
|
754
|
+
export declare const SearchAspathResponse: S.Schema<SearchAspathResponse>;
|
|
755
|
+
export interface SearchCommunitylistRequest {
|
|
756
|
+
}
|
|
757
|
+
export declare const SearchCommunitylistRequest: S.Schema<SearchCommunitylistRequest>;
|
|
758
|
+
export type CommunitylistList = Array<CommunitylistItem>;
|
|
759
|
+
export declare const CommunitylistList: S.Schema<CommunitylistList>;
|
|
760
|
+
export interface SearchCommunitylistResponse {
|
|
761
|
+
/** Total matching items before pagination. */
|
|
762
|
+
total?: number;
|
|
763
|
+
rowCount?: number;
|
|
764
|
+
/** Current page number. */
|
|
765
|
+
current?: number;
|
|
766
|
+
rows?: CommunitylistList;
|
|
767
|
+
}
|
|
768
|
+
export declare const SearchCommunitylistResponse: S.Schema<SearchCommunitylistResponse>;
|
|
769
|
+
export interface SearchNeighborRequest {
|
|
770
|
+
}
|
|
771
|
+
export declare const SearchNeighborRequest: S.Schema<SearchNeighborRequest>;
|
|
772
|
+
export type NeighborList = Array<NeighborItem>;
|
|
773
|
+
export declare const NeighborList: S.Schema<NeighborList>;
|
|
774
|
+
export interface SearchNeighborResponse {
|
|
775
|
+
/** Total matching items before pagination. */
|
|
776
|
+
total?: number;
|
|
777
|
+
rowCount?: number;
|
|
778
|
+
/** Current page number. */
|
|
779
|
+
current?: number;
|
|
780
|
+
rows?: NeighborList;
|
|
781
|
+
}
|
|
782
|
+
export declare const SearchNeighborResponse: S.Schema<SearchNeighborResponse>;
|
|
783
|
+
export interface SearchPeergroupRequest {
|
|
784
|
+
}
|
|
785
|
+
export declare const SearchPeergroupRequest: S.Schema<SearchPeergroupRequest>;
|
|
786
|
+
export type PeergroupList = Array<PeergroupItem>;
|
|
787
|
+
export declare const PeergroupList: S.Schema<PeergroupList>;
|
|
788
|
+
export interface SearchPeergroupResponse {
|
|
789
|
+
/** Total matching items before pagination. */
|
|
790
|
+
total?: number;
|
|
791
|
+
rowCount?: number;
|
|
792
|
+
/** Current page number. */
|
|
793
|
+
current?: number;
|
|
794
|
+
rows?: PeergroupList;
|
|
795
|
+
}
|
|
796
|
+
export declare const SearchPeergroupResponse: S.Schema<SearchPeergroupResponse>;
|
|
797
|
+
export interface SearchPrefixlistRequest {
|
|
798
|
+
}
|
|
799
|
+
export declare const SearchPrefixlistRequest: S.Schema<SearchPrefixlistRequest>;
|
|
800
|
+
export type PrefixlistList = Array<PrefixlistItem>;
|
|
801
|
+
export declare const PrefixlistList: S.Schema<PrefixlistList>;
|
|
802
|
+
export interface SearchPrefixlistResponse {
|
|
803
|
+
/** Total matching items before pagination. */
|
|
804
|
+
total?: number;
|
|
805
|
+
rowCount?: number;
|
|
806
|
+
/** Current page number. */
|
|
807
|
+
current?: number;
|
|
808
|
+
rows?: PrefixlistList;
|
|
809
|
+
}
|
|
810
|
+
export declare const SearchPrefixlistResponse: S.Schema<SearchPrefixlistResponse>;
|
|
811
|
+
export interface SearchRedistributionRequest {
|
|
812
|
+
}
|
|
813
|
+
export declare const SearchRedistributionRequest: S.Schema<SearchRedistributionRequest>;
|
|
814
|
+
export type RedistributionList = Array<RedistributionItem>;
|
|
815
|
+
export declare const RedistributionList: S.Schema<RedistributionList>;
|
|
816
|
+
export interface SearchRedistributionResponse {
|
|
817
|
+
/** Total matching items before pagination. */
|
|
818
|
+
total?: number;
|
|
819
|
+
rowCount?: number;
|
|
820
|
+
/** Current page number. */
|
|
821
|
+
current?: number;
|
|
822
|
+
rows?: RedistributionList;
|
|
823
|
+
}
|
|
824
|
+
export declare const SearchRedistributionResponse: S.Schema<SearchRedistributionResponse>;
|
|
825
|
+
export interface SearchRoutemapRequest {
|
|
826
|
+
}
|
|
827
|
+
export declare const SearchRoutemapRequest: S.Schema<SearchRoutemapRequest>;
|
|
828
|
+
export type RoutemapList = Array<RoutemapItem>;
|
|
829
|
+
export declare const RoutemapList: S.Schema<RoutemapList>;
|
|
830
|
+
export interface SearchRoutemapResponse {
|
|
831
|
+
/** Total matching items before pagination. */
|
|
832
|
+
total?: number;
|
|
833
|
+
rowCount?: number;
|
|
834
|
+
/** Current page number. */
|
|
835
|
+
current?: number;
|
|
836
|
+
rows?: RoutemapList;
|
|
837
|
+
}
|
|
838
|
+
export declare const SearchRoutemapResponse: S.Schema<SearchRoutemapResponse>;
|
|
839
|
+
export interface SetRequest {
|
|
840
|
+
bgp?: Model;
|
|
841
|
+
}
|
|
842
|
+
export declare const SetRequest: S.Schema<SetRequest>;
|
|
843
|
+
export type SetResult = "saved";
|
|
844
|
+
export declare const SetResult: any;
|
|
845
|
+
export interface SetResponse {
|
|
846
|
+
result?: SetResult;
|
|
847
|
+
}
|
|
848
|
+
export declare const SetResponse: S.Schema<SetResponse>;
|
|
849
|
+
export interface SetAspathRequest {
|
|
850
|
+
uuid: string;
|
|
851
|
+
aspath?: AspathItem;
|
|
852
|
+
}
|
|
853
|
+
export declare const SetAspathRequest: S.Schema<SetAspathRequest>;
|
|
854
|
+
export type SetAspathResult = "saved";
|
|
855
|
+
export declare const SetAspathResult: any;
|
|
856
|
+
export interface SetAspathResponse {
|
|
857
|
+
result?: SetAspathResult;
|
|
858
|
+
}
|
|
859
|
+
export declare const SetAspathResponse: S.Schema<SetAspathResponse>;
|
|
860
|
+
export interface SetCommunitylistRequest {
|
|
861
|
+
uuid: string;
|
|
862
|
+
communitylist?: CommunitylistItem;
|
|
863
|
+
}
|
|
864
|
+
export declare const SetCommunitylistRequest: S.Schema<SetCommunitylistRequest>;
|
|
865
|
+
export type SetCommunitylistResult = "saved";
|
|
866
|
+
export declare const SetCommunitylistResult: any;
|
|
867
|
+
export interface SetCommunitylistResponse {
|
|
868
|
+
result?: SetCommunitylistResult;
|
|
869
|
+
}
|
|
870
|
+
export declare const SetCommunitylistResponse: S.Schema<SetCommunitylistResponse>;
|
|
871
|
+
export interface SetNeighborRequest {
|
|
872
|
+
uuid: string;
|
|
873
|
+
neighbor?: NeighborItem;
|
|
874
|
+
}
|
|
875
|
+
export declare const SetNeighborRequest: S.Schema<SetNeighborRequest>;
|
|
876
|
+
export type SetNeighborResult = "saved";
|
|
877
|
+
export declare const SetNeighborResult: any;
|
|
878
|
+
export interface SetNeighborResponse {
|
|
879
|
+
result?: SetNeighborResult;
|
|
880
|
+
}
|
|
881
|
+
export declare const SetNeighborResponse: S.Schema<SetNeighborResponse>;
|
|
882
|
+
export interface SetPeergroupRequest {
|
|
883
|
+
uuid: string;
|
|
884
|
+
peergroup?: PeergroupItem;
|
|
885
|
+
}
|
|
886
|
+
export declare const SetPeergroupRequest: S.Schema<SetPeergroupRequest>;
|
|
887
|
+
export type SetPeergroupResult = "saved";
|
|
888
|
+
export declare const SetPeergroupResult: any;
|
|
889
|
+
export interface SetPeergroupResponse {
|
|
890
|
+
result?: SetPeergroupResult;
|
|
891
|
+
}
|
|
892
|
+
export declare const SetPeergroupResponse: S.Schema<SetPeergroupResponse>;
|
|
893
|
+
export interface SetPrefixlistRequest {
|
|
894
|
+
uuid: string;
|
|
895
|
+
prefixlist?: PrefixlistItem;
|
|
896
|
+
}
|
|
897
|
+
export declare const SetPrefixlistRequest: S.Schema<SetPrefixlistRequest>;
|
|
898
|
+
export type SetPrefixlistResult = "saved";
|
|
899
|
+
export declare const SetPrefixlistResult: any;
|
|
900
|
+
export interface SetPrefixlistResponse {
|
|
901
|
+
result?: SetPrefixlistResult;
|
|
902
|
+
}
|
|
903
|
+
export declare const SetPrefixlistResponse: S.Schema<SetPrefixlistResponse>;
|
|
904
|
+
export interface SetRedistributionRequest {
|
|
905
|
+
uuid: string;
|
|
906
|
+
redistribution?: RedistributionItem;
|
|
907
|
+
}
|
|
908
|
+
export declare const SetRedistributionRequest: S.Schema<SetRedistributionRequest>;
|
|
909
|
+
export type SetRedistributionResult = "saved";
|
|
910
|
+
export declare const SetRedistributionResult: any;
|
|
911
|
+
export interface SetRedistributionResponse {
|
|
912
|
+
result?: SetRedistributionResult;
|
|
913
|
+
}
|
|
914
|
+
export declare const SetRedistributionResponse: S.Schema<SetRedistributionResponse>;
|
|
915
|
+
export interface SetRoutemapRequest {
|
|
916
|
+
uuid: string;
|
|
917
|
+
routemap?: RoutemapItem;
|
|
918
|
+
}
|
|
919
|
+
export declare const SetRoutemapRequest: S.Schema<SetRoutemapRequest>;
|
|
920
|
+
export type SetRoutemapResult = "saved";
|
|
921
|
+
export declare const SetRoutemapResult: any;
|
|
922
|
+
export interface SetRoutemapResponse {
|
|
923
|
+
result?: SetRoutemapResult;
|
|
924
|
+
}
|
|
925
|
+
export declare const SetRoutemapResponse: S.Schema<SetRoutemapResponse>;
|
|
926
|
+
export interface ToggleAspathRequest {
|
|
927
|
+
uuid: string;
|
|
928
|
+
}
|
|
929
|
+
export declare const ToggleAspathRequest: S.Schema<ToggleAspathRequest>;
|
|
930
|
+
export type ToggleAspathResult = "Enabled" | "Disabled" | "failed";
|
|
931
|
+
export declare const ToggleAspathResult: any;
|
|
932
|
+
export interface ToggleAspathResponse {
|
|
933
|
+
result?: ToggleAspathResult;
|
|
934
|
+
changed?: boolean;
|
|
935
|
+
}
|
|
936
|
+
export declare const ToggleAspathResponse: S.Schema<ToggleAspathResponse>;
|
|
937
|
+
export interface ToggleCommunitylistRequest {
|
|
938
|
+
uuid: string;
|
|
939
|
+
}
|
|
940
|
+
export declare const ToggleCommunitylistRequest: S.Schema<ToggleCommunitylistRequest>;
|
|
941
|
+
export type ToggleCommunitylistResult = "Enabled" | "Disabled" | "failed";
|
|
942
|
+
export declare const ToggleCommunitylistResult: any;
|
|
943
|
+
export interface ToggleCommunitylistResponse {
|
|
944
|
+
result?: ToggleCommunitylistResult;
|
|
945
|
+
changed?: boolean;
|
|
946
|
+
}
|
|
947
|
+
export declare const ToggleCommunitylistResponse: S.Schema<ToggleCommunitylistResponse>;
|
|
948
|
+
export interface ToggleNeighborRequest {
|
|
949
|
+
uuid: string;
|
|
950
|
+
}
|
|
951
|
+
export declare const ToggleNeighborRequest: S.Schema<ToggleNeighborRequest>;
|
|
952
|
+
export type ToggleNeighborResult = "Enabled" | "Disabled" | "failed";
|
|
953
|
+
export declare const ToggleNeighborResult: any;
|
|
954
|
+
export interface ToggleNeighborResponse {
|
|
955
|
+
result?: ToggleNeighborResult;
|
|
956
|
+
changed?: boolean;
|
|
957
|
+
}
|
|
958
|
+
export declare const ToggleNeighborResponse: S.Schema<ToggleNeighborResponse>;
|
|
959
|
+
export interface TogglePeergroupRequest {
|
|
960
|
+
uuid: string;
|
|
961
|
+
}
|
|
962
|
+
export declare const TogglePeergroupRequest: S.Schema<TogglePeergroupRequest>;
|
|
963
|
+
export type TogglePeergroupResult = "Enabled" | "Disabled" | "failed";
|
|
964
|
+
export declare const TogglePeergroupResult: any;
|
|
965
|
+
export interface TogglePeergroupResponse {
|
|
966
|
+
result?: TogglePeergroupResult;
|
|
967
|
+
changed?: boolean;
|
|
968
|
+
}
|
|
969
|
+
export declare const TogglePeergroupResponse: S.Schema<TogglePeergroupResponse>;
|
|
970
|
+
export interface TogglePrefixlistRequest {
|
|
971
|
+
uuid: string;
|
|
972
|
+
}
|
|
973
|
+
export declare const TogglePrefixlistRequest: S.Schema<TogglePrefixlistRequest>;
|
|
974
|
+
export type TogglePrefixlistResult = "Enabled" | "Disabled" | "failed";
|
|
975
|
+
export declare const TogglePrefixlistResult: any;
|
|
976
|
+
export interface TogglePrefixlistResponse {
|
|
977
|
+
result?: TogglePrefixlistResult;
|
|
978
|
+
changed?: boolean;
|
|
979
|
+
}
|
|
980
|
+
export declare const TogglePrefixlistResponse: S.Schema<TogglePrefixlistResponse>;
|
|
981
|
+
export interface ToggleRedistributionRequest {
|
|
982
|
+
uuid: string;
|
|
983
|
+
}
|
|
984
|
+
export declare const ToggleRedistributionRequest: S.Schema<ToggleRedistributionRequest>;
|
|
985
|
+
export type ToggleRedistributionResult = "Enabled" | "Disabled" | "failed";
|
|
986
|
+
export declare const ToggleRedistributionResult: any;
|
|
987
|
+
export interface ToggleRedistributionResponse {
|
|
988
|
+
result?: ToggleRedistributionResult;
|
|
989
|
+
changed?: boolean;
|
|
990
|
+
}
|
|
991
|
+
export declare const ToggleRedistributionResponse: S.Schema<ToggleRedistributionResponse>;
|
|
992
|
+
export interface ToggleRoutemapRequest {
|
|
993
|
+
uuid: string;
|
|
994
|
+
}
|
|
995
|
+
export declare const ToggleRoutemapRequest: S.Schema<ToggleRoutemapRequest>;
|
|
996
|
+
export type ToggleRoutemapResult = "Enabled" | "Disabled" | "failed";
|
|
997
|
+
export declare const ToggleRoutemapResult: any;
|
|
998
|
+
export interface ToggleRoutemapResponse {
|
|
999
|
+
result?: ToggleRoutemapResult;
|
|
1000
|
+
changed?: boolean;
|
|
1001
|
+
}
|
|
1002
|
+
export declare const ToggleRoutemapResponse: S.Schema<ToggleRoutemapResponse>;
|
|
1003
|
+
export type AddAspathError = OpnsenseOpError;
|
|
1004
|
+
/** Add a new aspaths.aspath item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1005
|
+
export declare const addAspath: API.OperationMethod<AddAspathRequest, AddAspathResponse, AddAspathError, OpnsenseOpContext>;
|
|
1006
|
+
export type AddCommunitylistError = OpnsenseOpError;
|
|
1007
|
+
/** Add a new communitylists.communitylist item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1008
|
+
export declare const addCommunitylist: API.OperationMethod<AddCommunitylistRequest, AddCommunitylistResponse, AddCommunitylistError, OpnsenseOpContext>;
|
|
1009
|
+
export type AddNeighborError = OpnsenseOpError;
|
|
1010
|
+
/** Add a new neighbors.neighbor item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1011
|
+
export declare const addNeighbor: API.OperationMethod<AddNeighborRequest, AddNeighborResponse, AddNeighborError, OpnsenseOpContext>;
|
|
1012
|
+
export type AddPeergroupError = OpnsenseOpError;
|
|
1013
|
+
/** Add a new peergroups.peergroup item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1014
|
+
export declare const addPeergroup: API.OperationMethod<AddPeergroupRequest, AddPeergroupResponse, AddPeergroupError, OpnsenseOpContext>;
|
|
1015
|
+
export type AddPrefixlistError = OpnsenseOpError;
|
|
1016
|
+
/** Add a new prefixlists.prefixlist item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1017
|
+
export declare const addPrefixlist: API.OperationMethod<AddPrefixlistRequest, AddPrefixlistResponse, AddPrefixlistError, OpnsenseOpContext>;
|
|
1018
|
+
export type AddRedistributionError = OpnsenseOpError;
|
|
1019
|
+
/** Add a new redistributions.redistribution item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1020
|
+
export declare const addRedistribution: API.OperationMethod<AddRedistributionRequest, AddRedistributionResponse, AddRedistributionError, OpnsenseOpContext>;
|
|
1021
|
+
export type AddRoutemapError = OpnsenseOpError;
|
|
1022
|
+
/** Add a new routemaps.routemap item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1023
|
+
export declare const addRoutemap: API.OperationMethod<AddRoutemapRequest, AddRoutemapResponse, AddRoutemapError, OpnsenseOpContext>;
|
|
1024
|
+
export type DelAspathError = OpnsenseOpError;
|
|
1025
|
+
/** Delete a aspaths.aspath item by uuid. */
|
|
1026
|
+
export declare const delAspath: API.OperationMethod<DelAspathRequest, DelAspathResponse, DelAspathError, OpnsenseOpContext>;
|
|
1027
|
+
export type DelCommunitylistError = OpnsenseOpError;
|
|
1028
|
+
/** Delete a communitylists.communitylist item by uuid. */
|
|
1029
|
+
export declare const delCommunitylist: API.OperationMethod<DelCommunitylistRequest, DelCommunitylistResponse, DelCommunitylistError, OpnsenseOpContext>;
|
|
1030
|
+
export type DelNeighborError = OpnsenseOpError;
|
|
1031
|
+
/** Delete a neighbors.neighbor item by uuid. */
|
|
1032
|
+
export declare const delNeighbor: API.OperationMethod<DelNeighborRequest, DelNeighborResponse, DelNeighborError, OpnsenseOpContext>;
|
|
1033
|
+
export type DelPeergroupError = OpnsenseOpError;
|
|
1034
|
+
/** Delete a peergroups.peergroup item by uuid. */
|
|
1035
|
+
export declare const delPeergroup: API.OperationMethod<DelPeergroupRequest, DelPeergroupResponse, DelPeergroupError, OpnsenseOpContext>;
|
|
1036
|
+
export type DelPrefixlistError = OpnsenseOpError;
|
|
1037
|
+
/** Delete a prefixlists.prefixlist item by uuid. */
|
|
1038
|
+
export declare const delPrefixlist: API.OperationMethod<DelPrefixlistRequest, DelPrefixlistResponse, DelPrefixlistError, OpnsenseOpContext>;
|
|
1039
|
+
export type DelRedistributionError = OpnsenseOpError;
|
|
1040
|
+
/** Delete a redistributions.redistribution item by uuid. */
|
|
1041
|
+
export declare const delRedistribution: API.OperationMethod<DelRedistributionRequest, DelRedistributionResponse, DelRedistributionError, OpnsenseOpContext>;
|
|
1042
|
+
export type DelRoutemapError = OpnsenseOpError;
|
|
1043
|
+
/** Delete a routemaps.routemap item by uuid. */
|
|
1044
|
+
export declare const delRoutemap: API.OperationMethod<DelRoutemapRequest, DelRoutemapResponse, DelRoutemapError, OpnsenseOpContext>;
|
|
1045
|
+
export type GetError = OpnsenseOpError;
|
|
1046
|
+
/** Fetch the entire model tree (every section and array collection). */
|
|
1047
|
+
export declare const get: API.OperationMethod<GetRequest, GetResponse, GetError, OpnsenseOpContext>;
|
|
1048
|
+
export type GetAspathError = OpnsenseOpError;
|
|
1049
|
+
/** Fetch one aspaths.aspath item by uuid. */
|
|
1050
|
+
export declare const getAspath: API.OperationMethod<GetAspathRequest, GetAspathResponse, GetAspathError, OpnsenseOpContext>;
|
|
1051
|
+
export type GetCommunitylistError = OpnsenseOpError;
|
|
1052
|
+
/** Fetch one communitylists.communitylist item by uuid. */
|
|
1053
|
+
export declare const getCommunitylist: API.OperationMethod<GetCommunitylistRequest, GetCommunitylistResponse, GetCommunitylistError, OpnsenseOpContext>;
|
|
1054
|
+
export type GetNeighborError = OpnsenseOpError;
|
|
1055
|
+
/** Fetch one neighbors.neighbor item by uuid. */
|
|
1056
|
+
export declare const getNeighbor: API.OperationMethod<GetNeighborRequest, GetNeighborResponse, GetNeighborError, OpnsenseOpContext>;
|
|
1057
|
+
export type GetPeergroupError = OpnsenseOpError;
|
|
1058
|
+
/** Fetch one peergroups.peergroup item by uuid. */
|
|
1059
|
+
export declare const getPeergroup: API.OperationMethod<GetPeergroupRequest, GetPeergroupResponse, GetPeergroupError, OpnsenseOpContext>;
|
|
1060
|
+
export type GetPrefixlistError = OpnsenseOpError;
|
|
1061
|
+
/** Fetch one prefixlists.prefixlist item by uuid. */
|
|
1062
|
+
export declare const getPrefixlist: API.OperationMethod<GetPrefixlistRequest, GetPrefixlistResponse, GetPrefixlistError, OpnsenseOpContext>;
|
|
1063
|
+
export type GetRedistributionError = OpnsenseOpError;
|
|
1064
|
+
/** Fetch one redistributions.redistribution item by uuid. */
|
|
1065
|
+
export declare const getRedistribution: API.OperationMethod<GetRedistributionRequest, GetRedistributionResponse, GetRedistributionError, OpnsenseOpContext>;
|
|
1066
|
+
export type GetRoutemapError = OpnsenseOpError;
|
|
1067
|
+
/** Fetch one routemaps.routemap item by uuid. */
|
|
1068
|
+
export declare const getRoutemap: API.OperationMethod<GetRoutemapRequest, GetRoutemapResponse, GetRoutemapError, OpnsenseOpContext>;
|
|
1069
|
+
export type SearchAspathError = OpnsenseOpError;
|
|
1070
|
+
/** Search aspaths.aspath items (paginated). */
|
|
1071
|
+
export declare const searchAspath: API.OperationMethod<SearchAspathRequest, SearchAspathResponse, SearchAspathError, OpnsenseOpContext>;
|
|
1072
|
+
export type SearchCommunitylistError = OpnsenseOpError;
|
|
1073
|
+
/** Search communitylists.communitylist items (paginated). */
|
|
1074
|
+
export declare const searchCommunitylist: API.OperationMethod<SearchCommunitylistRequest, SearchCommunitylistResponse, SearchCommunitylistError, OpnsenseOpContext>;
|
|
1075
|
+
export type SearchNeighborError = OpnsenseOpError;
|
|
1076
|
+
/** Search neighbors.neighbor items (paginated). */
|
|
1077
|
+
export declare const searchNeighbor: API.OperationMethod<SearchNeighborRequest, SearchNeighborResponse, SearchNeighborError, OpnsenseOpContext>;
|
|
1078
|
+
export type SearchPeergroupError = OpnsenseOpError;
|
|
1079
|
+
/** Search peergroups.peergroup items (paginated). */
|
|
1080
|
+
export declare const searchPeergroup: API.OperationMethod<SearchPeergroupRequest, SearchPeergroupResponse, SearchPeergroupError, OpnsenseOpContext>;
|
|
1081
|
+
export type SearchPrefixlistError = OpnsenseOpError;
|
|
1082
|
+
/** Search prefixlists.prefixlist items (paginated). */
|
|
1083
|
+
export declare const searchPrefixlist: API.OperationMethod<SearchPrefixlistRequest, SearchPrefixlistResponse, SearchPrefixlistError, OpnsenseOpContext>;
|
|
1084
|
+
export type SearchRedistributionError = OpnsenseOpError;
|
|
1085
|
+
/** Search redistributions.redistribution items (paginated). */
|
|
1086
|
+
export declare const searchRedistribution: API.OperationMethod<SearchRedistributionRequest, SearchRedistributionResponse, SearchRedistributionError, OpnsenseOpContext>;
|
|
1087
|
+
export type SearchRoutemapError = OpnsenseOpError;
|
|
1088
|
+
/** Search routemaps.routemap items (paginated). */
|
|
1089
|
+
export declare const searchRoutemap: API.OperationMethod<SearchRoutemapRequest, SearchRoutemapResponse, SearchRoutemapError, OpnsenseOpContext>;
|
|
1090
|
+
export type SetError = OpnsenseOpError;
|
|
1091
|
+
/** Replace the entire model tree in one call. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1092
|
+
export declare const set: API.OperationMethod<SetRequest, SetResponse, SetError, OpnsenseOpContext>;
|
|
1093
|
+
export type SetAspathError = OpnsenseOpError;
|
|
1094
|
+
/** Update an existing aspaths.aspath item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1095
|
+
export declare const setAspath: API.OperationMethod<SetAspathRequest, SetAspathResponse, SetAspathError, OpnsenseOpContext>;
|
|
1096
|
+
export type SetCommunitylistError = OpnsenseOpError;
|
|
1097
|
+
/** Update an existing communitylists.communitylist item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1098
|
+
export declare const setCommunitylist: API.OperationMethod<SetCommunitylistRequest, SetCommunitylistResponse, SetCommunitylistError, OpnsenseOpContext>;
|
|
1099
|
+
export type SetNeighborError = OpnsenseOpError;
|
|
1100
|
+
/** Update an existing neighbors.neighbor item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1101
|
+
export declare const setNeighbor: API.OperationMethod<SetNeighborRequest, SetNeighborResponse, SetNeighborError, OpnsenseOpContext>;
|
|
1102
|
+
export type SetPeergroupError = OpnsenseOpError;
|
|
1103
|
+
/** Update an existing peergroups.peergroup item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1104
|
+
export declare const setPeergroup: API.OperationMethod<SetPeergroupRequest, SetPeergroupResponse, SetPeergroupError, OpnsenseOpContext>;
|
|
1105
|
+
export type SetPrefixlistError = OpnsenseOpError;
|
|
1106
|
+
/** Update an existing prefixlists.prefixlist item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1107
|
+
export declare const setPrefixlist: API.OperationMethod<SetPrefixlistRequest, SetPrefixlistResponse, SetPrefixlistError, OpnsenseOpContext>;
|
|
1108
|
+
export type SetRedistributionError = OpnsenseOpError;
|
|
1109
|
+
/** Update an existing redistributions.redistribution item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1110
|
+
export declare const setRedistribution: API.OperationMethod<SetRedistributionRequest, SetRedistributionResponse, SetRedistributionError, OpnsenseOpContext>;
|
|
1111
|
+
export type SetRoutemapError = OpnsenseOpError;
|
|
1112
|
+
/** Update an existing routemaps.routemap item. On a validation failure the call fails with ValidationFailed instead of decoding this response. */
|
|
1113
|
+
export declare const setRoutemap: API.OperationMethod<SetRoutemapRequest, SetRoutemapResponse, SetRoutemapError, OpnsenseOpContext>;
|
|
1114
|
+
export type ToggleAspathError = OpnsenseOpError;
|
|
1115
|
+
/** Flip a aspaths.aspath item's enabled flag by uuid. */
|
|
1116
|
+
export declare const toggleAspath: API.OperationMethod<ToggleAspathRequest, ToggleAspathResponse, ToggleAspathError, OpnsenseOpContext>;
|
|
1117
|
+
export type ToggleCommunitylistError = OpnsenseOpError;
|
|
1118
|
+
/** Flip a communitylists.communitylist item's enabled flag by uuid. */
|
|
1119
|
+
export declare const toggleCommunitylist: API.OperationMethod<ToggleCommunitylistRequest, ToggleCommunitylistResponse, ToggleCommunitylistError, OpnsenseOpContext>;
|
|
1120
|
+
export type ToggleNeighborError = OpnsenseOpError;
|
|
1121
|
+
/** Flip a neighbors.neighbor item's enabled flag by uuid. */
|
|
1122
|
+
export declare const toggleNeighbor: API.OperationMethod<ToggleNeighborRequest, ToggleNeighborResponse, ToggleNeighborError, OpnsenseOpContext>;
|
|
1123
|
+
export type TogglePeergroupError = OpnsenseOpError;
|
|
1124
|
+
/** Flip a peergroups.peergroup item's enabled flag by uuid. */
|
|
1125
|
+
export declare const togglePeergroup: API.OperationMethod<TogglePeergroupRequest, TogglePeergroupResponse, TogglePeergroupError, OpnsenseOpContext>;
|
|
1126
|
+
export type TogglePrefixlistError = OpnsenseOpError;
|
|
1127
|
+
/** Flip a prefixlists.prefixlist item's enabled flag by uuid. */
|
|
1128
|
+
export declare const togglePrefixlist: API.OperationMethod<TogglePrefixlistRequest, TogglePrefixlistResponse, TogglePrefixlistError, OpnsenseOpContext>;
|
|
1129
|
+
export type ToggleRedistributionError = OpnsenseOpError;
|
|
1130
|
+
/** Flip a redistributions.redistribution item's enabled flag by uuid. */
|
|
1131
|
+
export declare const toggleRedistribution: API.OperationMethod<ToggleRedistributionRequest, ToggleRedistributionResponse, ToggleRedistributionError, OpnsenseOpContext>;
|
|
1132
|
+
export type ToggleRoutemapError = OpnsenseOpError;
|
|
1133
|
+
/** Flip a routemaps.routemap item's enabled flag by uuid. */
|
|
1134
|
+
export declare const toggleRoutemap: API.OperationMethod<ToggleRoutemapRequest, ToggleRoutemapResponse, ToggleRoutemapError, OpnsenseOpContext>;
|
|
1135
|
+
//# sourceMappingURL=quagga_bgp.d.ts.map
|