@pulumi/juniper-mist 0.1.0 → 0.1.1
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/device/switch.d.ts +30 -6
- package/device/switch.js +2 -0
- package/device/switch.js.map +1 -1
- package/getConstWebhooks.d.ts +44 -0
- package/getConstWebhooks.js +48 -0
- package/getConstWebhooks.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/org/deviceprofileGateway.d.ts +0 -6
- package/org/deviceprofileGateway.js +0 -4
- package/org/deviceprofileGateway.js.map +1 -1
- package/org/networktemplate.d.ts +9 -6
- package/org/networktemplate.js.map +1 -1
- package/org/setting.d.ts +30 -3
- package/org/setting.js +4 -2
- package/org/setting.js.map +1 -1
- package/package.json +2 -2
- package/site/networktemplate.d.ts +18 -6
- package/site/networktemplate.js.map +1 -1
- package/types/input.d.ts +304 -93
- package/types/output.d.ts +322 -101
package/types/output.d.ts
CHANGED
|
@@ -83,6 +83,24 @@ export interface GetConstTrafficTypesConstTrafficType {
|
|
|
83
83
|
name: string;
|
|
84
84
|
trafficClass: string;
|
|
85
85
|
}
|
|
86
|
+
export interface GetConstWebhooksConstWebhook {
|
|
87
|
+
/**
|
|
88
|
+
* can be used in org webhooks, optional
|
|
89
|
+
*/
|
|
90
|
+
forOrg: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* supports webhook delivery results /api/v1/:scope/:scope*id/webhooks/:webhook*id/events/search
|
|
93
|
+
*/
|
|
94
|
+
hasDeliveryResults: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* internal topic (not selectable in site/org webhooks)
|
|
97
|
+
*/
|
|
98
|
+
internal: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* webhook topic name
|
|
101
|
+
*/
|
|
102
|
+
key: string;
|
|
103
|
+
}
|
|
86
104
|
export interface GetSitesSite {
|
|
87
105
|
/**
|
|
88
106
|
* full address of the site
|
|
@@ -651,7 +669,6 @@ export declare namespace device {
|
|
|
651
669
|
* when bfdMinimumIntervalIsConfigured alone
|
|
652
670
|
*/
|
|
653
671
|
bfdMultiplier: number;
|
|
654
|
-
communities?: outputs.device.GatewayBgpConfigCommunity[];
|
|
655
672
|
/**
|
|
656
673
|
* BFD provides faster path failure detection and is enabled by default
|
|
657
674
|
*/
|
|
@@ -710,11 +727,6 @@ export declare namespace device {
|
|
|
710
727
|
*/
|
|
711
728
|
wanName?: string;
|
|
712
729
|
}
|
|
713
|
-
interface GatewayBgpConfigCommunity {
|
|
714
|
-
id?: string;
|
|
715
|
-
localPreference?: number;
|
|
716
|
-
vpnName?: string;
|
|
717
|
-
}
|
|
718
730
|
interface GatewayBgpConfigNeighbors {
|
|
719
731
|
/**
|
|
720
732
|
* If true, the BGP session to this neighbor will be administratively disabled/shutdown
|
|
@@ -743,21 +755,21 @@ export declare namespace device {
|
|
|
743
755
|
[key: string]: outputs.device.GatewayDhcpdConfigConfig;
|
|
744
756
|
};
|
|
745
757
|
/**
|
|
746
|
-
* if set to `
|
|
758
|
+
* if set to `false`, disable the DHCP server
|
|
747
759
|
*/
|
|
748
760
|
enabled: boolean;
|
|
749
761
|
}
|
|
750
762
|
interface GatewayDhcpdConfigConfig {
|
|
751
763
|
/**
|
|
752
|
-
* if `type`==`local` - optional, if not defined, system one will be used
|
|
764
|
+
* if `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used
|
|
753
765
|
*/
|
|
754
766
|
dnsServers: string[];
|
|
755
767
|
/**
|
|
756
|
-
* if `type`==`local` - optional, if not defined, system one will be used
|
|
768
|
+
* if `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used
|
|
757
769
|
*/
|
|
758
770
|
dnsSuffixes: string[];
|
|
759
771
|
/**
|
|
760
|
-
* Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b")
|
|
772
|
+
* if `type`==`local` or `type6`==`local`. Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b")
|
|
761
773
|
*/
|
|
762
774
|
fixedBindings?: {
|
|
763
775
|
[key: string]: outputs.device.GatewayDhcpdConfigConfigFixedBindings;
|
|
@@ -787,7 +799,7 @@ export declare namespace device {
|
|
|
787
799
|
*/
|
|
788
800
|
leaseTime: number;
|
|
789
801
|
/**
|
|
790
|
-
* Property key is the DHCP option number
|
|
802
|
+
* if `type`==`local` or `type6`==`local`. Property key is the DHCP option number
|
|
791
803
|
*/
|
|
792
804
|
options?: {
|
|
793
805
|
[key: string]: outputs.device.GatewayDhcpdConfigConfigOptions;
|
|
@@ -814,7 +826,7 @@ export declare namespace device {
|
|
|
814
826
|
*/
|
|
815
827
|
type6: string;
|
|
816
828
|
/**
|
|
817
|
-
* Property key is <enterprise number>:<sub option code>, with
|
|
829
|
+
* if `type`==`local` or `type6`==`local`. Property key is <enterprise number>:<sub option code>, with
|
|
818
830
|
* * enterprise number: 1-65535 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers)
|
|
819
831
|
* * sub option code: 1-255, sub-option code'
|
|
820
832
|
*/
|
|
@@ -851,9 +863,10 @@ export declare namespace device {
|
|
|
851
863
|
* enum: `critical`, `standard`, `strict`
|
|
852
864
|
*/
|
|
853
865
|
baseProfile?: string;
|
|
854
|
-
|
|
866
|
+
/**
|
|
867
|
+
* Unique ID of the object instance in the Mist Organnization
|
|
868
|
+
*/
|
|
855
869
|
id?: string;
|
|
856
|
-
modifiedTime?: number;
|
|
857
870
|
name?: string;
|
|
858
871
|
orgId?: string;
|
|
859
872
|
overwrites?: outputs.device.GatewayIdpProfilesOverwrite[];
|
|
@@ -887,14 +900,12 @@ export declare namespace device {
|
|
|
887
900
|
type: string;
|
|
888
901
|
}
|
|
889
902
|
interface GatewayNetwork {
|
|
890
|
-
createdTime?: number;
|
|
891
903
|
/**
|
|
892
904
|
* whether to disallow Mist Devices in the network
|
|
893
905
|
*/
|
|
894
906
|
disallowMistServices: boolean;
|
|
895
907
|
gateway?: string;
|
|
896
908
|
gateway6?: string;
|
|
897
|
-
id?: string;
|
|
898
909
|
internalAccess?: outputs.device.GatewayNetworkInternalAccess;
|
|
899
910
|
/**
|
|
900
911
|
* whether this network has direct internet access
|
|
@@ -904,9 +915,11 @@ export declare namespace device {
|
|
|
904
915
|
* whether to allow clients in the network to talk to each other
|
|
905
916
|
*/
|
|
906
917
|
isolation?: boolean;
|
|
907
|
-
|
|
918
|
+
/**
|
|
919
|
+
* whether to enable multicast support (only PIM-sparse mode is supported)
|
|
920
|
+
*/
|
|
921
|
+
multicast?: outputs.device.GatewayNetworkMulticast;
|
|
908
922
|
name: string;
|
|
909
|
-
orgId?: string;
|
|
910
923
|
/**
|
|
911
924
|
* for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
|
|
912
925
|
*/
|
|
@@ -960,6 +973,25 @@ export declare namespace device {
|
|
|
960
973
|
*/
|
|
961
974
|
wanName?: string;
|
|
962
975
|
}
|
|
976
|
+
interface GatewayNetworkMulticast {
|
|
977
|
+
/**
|
|
978
|
+
* if the network will only be the soruce of the multicast traffic, IGMP can be disabled
|
|
979
|
+
*/
|
|
980
|
+
disableIgmp: boolean;
|
|
981
|
+
enabled: boolean;
|
|
982
|
+
/**
|
|
983
|
+
* Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")
|
|
984
|
+
*/
|
|
985
|
+
groups?: {
|
|
986
|
+
[key: string]: outputs.device.GatewayNetworkMulticastGroups;
|
|
987
|
+
};
|
|
988
|
+
}
|
|
989
|
+
interface GatewayNetworkMulticastGroups {
|
|
990
|
+
/**
|
|
991
|
+
* RP (rendezvous point) IP Address
|
|
992
|
+
*/
|
|
993
|
+
rpIp?: string;
|
|
994
|
+
}
|
|
963
995
|
interface GatewayNetworkTenants {
|
|
964
996
|
addresses?: string[];
|
|
965
997
|
}
|
|
@@ -1264,6 +1296,9 @@ export declare namespace device {
|
|
|
1264
1296
|
* if WAN interface is on a VLAN
|
|
1265
1297
|
*/
|
|
1266
1298
|
vlanId?: number;
|
|
1299
|
+
/**
|
|
1300
|
+
* Property key is the VPN name
|
|
1301
|
+
*/
|
|
1267
1302
|
vpnPaths?: {
|
|
1268
1303
|
[key: string]: outputs.device.GatewayPortConfigVpnPaths;
|
|
1269
1304
|
};
|
|
@@ -1275,6 +1310,16 @@ export declare namespace device {
|
|
|
1275
1310
|
* optional, if spoke should reach this port by a different IP
|
|
1276
1311
|
*/
|
|
1277
1312
|
wanExtIp?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* Property Key is the destianation CIDR (e.g "100.100.100.0/24")
|
|
1315
|
+
*/
|
|
1316
|
+
wanExtraRoutes?: {
|
|
1317
|
+
[key: string]: outputs.device.GatewayPortConfigWanExtraRoutes;
|
|
1318
|
+
};
|
|
1319
|
+
/**
|
|
1320
|
+
* if `usage`==`wan`
|
|
1321
|
+
*/
|
|
1322
|
+
wanProbeOverride?: outputs.device.GatewayPortConfigWanProbeOverride;
|
|
1278
1323
|
/**
|
|
1279
1324
|
* optional, by default, source-NAT is performed on all WAN Ports using the interface-ip
|
|
1280
1325
|
*/
|
|
@@ -1333,19 +1378,23 @@ export declare namespace device {
|
|
|
1333
1378
|
}
|
|
1334
1379
|
interface GatewayPortConfigVpnPaths {
|
|
1335
1380
|
/**
|
|
1336
|
-
* enum: `broadband`, `lte`
|
|
1381
|
+
* Only if the VPN `type`==`hubSpoke`. enum: `broadband`, `lte`
|
|
1337
1382
|
*/
|
|
1338
1383
|
bfdProfile: string;
|
|
1339
1384
|
/**
|
|
1340
|
-
*
|
|
1385
|
+
* Only if the VPN `type`==`hubSpoke`. Whether to use tunnel mode. SSR only
|
|
1341
1386
|
*/
|
|
1342
1387
|
bfdUseTunnelMode: boolean;
|
|
1343
1388
|
/**
|
|
1344
|
-
*
|
|
1389
|
+
* Only if the VPN `type`==`mesh`
|
|
1390
|
+
*/
|
|
1391
|
+
linkName?: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* Only if the VPN `type`==`hubSpoke`. For a given VPN, when `path_selection.strategy`==`simple`, the preference for a path (lower is preferred)
|
|
1345
1394
|
*/
|
|
1346
1395
|
preference?: number;
|
|
1347
1396
|
/**
|
|
1348
|
-
* enum: `hub`, `spoke`
|
|
1397
|
+
* Only if the VPN `type`==`hubSpoke`. enum: `hub`, `spoke`
|
|
1349
1398
|
*/
|
|
1350
1399
|
role: string;
|
|
1351
1400
|
trafficShaping?: outputs.device.GatewayPortConfigVpnPathsTrafficShaping;
|
|
@@ -1358,6 +1407,16 @@ export declare namespace device {
|
|
|
1358
1407
|
classPercentages?: number[];
|
|
1359
1408
|
enabled: boolean;
|
|
1360
1409
|
}
|
|
1410
|
+
interface GatewayPortConfigWanExtraRoutes {
|
|
1411
|
+
via?: string;
|
|
1412
|
+
}
|
|
1413
|
+
interface GatewayPortConfigWanProbeOverride {
|
|
1414
|
+
ips?: string[];
|
|
1415
|
+
/**
|
|
1416
|
+
* enum: `broadband`, `lte`
|
|
1417
|
+
*/
|
|
1418
|
+
probeProfile: string;
|
|
1419
|
+
}
|
|
1361
1420
|
interface GatewayPortConfigWanSourceNat {
|
|
1362
1421
|
/**
|
|
1363
1422
|
* or to disable the source-nat
|
|
@@ -3264,6 +3323,7 @@ export declare namespace device {
|
|
|
3264
3323
|
/**
|
|
3265
3324
|
* required if
|
|
3266
3325
|
* - `type`==`dynamicGbp` (gbp_tag received from RADIUS)
|
|
3326
|
+
* - `type`==`gbpResource`
|
|
3267
3327
|
* - `type`==`staticGbp` (applying gbp tag against matching conditions)
|
|
3268
3328
|
*/
|
|
3269
3329
|
gbpTag?: number;
|
|
@@ -3290,7 +3350,7 @@ export declare namespace device {
|
|
|
3290
3350
|
*/
|
|
3291
3351
|
radiusGroup?: string;
|
|
3292
3352
|
/**
|
|
3293
|
-
* if `type`==`resource`
|
|
3353
|
+
* if `type`==`resource` or `type`==`gbpResource`
|
|
3294
3354
|
* empty means unrestricted, i.e. any
|
|
3295
3355
|
*/
|
|
3296
3356
|
specs?: outputs.device.SwitchAclTagsSpec[];
|
|
@@ -3302,7 +3362,16 @@ export declare namespace device {
|
|
|
3302
3362
|
*/
|
|
3303
3363
|
subnets: string[];
|
|
3304
3364
|
/**
|
|
3305
|
-
* enum:
|
|
3365
|
+
* enum:
|
|
3366
|
+
* * `any`: matching anything not identified
|
|
3367
|
+
* * `dynamicGbp`: from the gbpTag received from RADIUS
|
|
3368
|
+
* * `gbpResource`: can only be used in `dstTags`
|
|
3369
|
+
* * `mac`
|
|
3370
|
+
* * `network`
|
|
3371
|
+
* * `radiusGroup`
|
|
3372
|
+
* * `resource`: can only be used in `dstTags`
|
|
3373
|
+
* * `staticGbp`: applying gbp tag against matching conditions
|
|
3374
|
+
* * `subnet`'
|
|
3306
3375
|
*/
|
|
3307
3376
|
type: string;
|
|
3308
3377
|
}
|
|
@@ -3346,37 +3415,37 @@ export declare namespace device {
|
|
|
3346
3415
|
}
|
|
3347
3416
|
interface SwitchDhcpdConfigConfig {
|
|
3348
3417
|
/**
|
|
3349
|
-
* if `type`==`
|
|
3418
|
+
* if `type`==`server` or `type6`==`server` - optional, if not defined, system one will be used
|
|
3350
3419
|
*/
|
|
3351
3420
|
dnsServers: string[];
|
|
3352
3421
|
/**
|
|
3353
|
-
* if `type`==`
|
|
3422
|
+
* if `type`==`server` or `type6`==`server` - optional, if not defined, system one will be used
|
|
3354
3423
|
*/
|
|
3355
3424
|
dnsSuffixes: string[];
|
|
3356
3425
|
/**
|
|
3357
|
-
* Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b")
|
|
3426
|
+
* if `type`==`server` or `type6`==`server`. Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b")
|
|
3358
3427
|
*/
|
|
3359
3428
|
fixedBindings?: {
|
|
3360
3429
|
[key: string]: outputs.device.SwitchDhcpdConfigConfigFixedBindings;
|
|
3361
3430
|
};
|
|
3362
3431
|
/**
|
|
3363
|
-
* if `type`==`
|
|
3432
|
+
* if `type`==`server` - optional, `ip` will be used if not provided
|
|
3364
3433
|
*/
|
|
3365
3434
|
gateway?: string;
|
|
3366
3435
|
/**
|
|
3367
|
-
* if `type`==`
|
|
3436
|
+
* if `type`==`server`
|
|
3368
3437
|
*/
|
|
3369
3438
|
ipEnd?: string;
|
|
3370
3439
|
/**
|
|
3371
|
-
* if `type6`==`
|
|
3440
|
+
* if `type6`==`server`
|
|
3372
3441
|
*/
|
|
3373
3442
|
ipEnd6?: string;
|
|
3374
3443
|
/**
|
|
3375
|
-
* if `type`==`
|
|
3444
|
+
* if `type`==`server`
|
|
3376
3445
|
*/
|
|
3377
3446
|
ipStart?: string;
|
|
3378
3447
|
/**
|
|
3379
|
-
* if `type6`==`
|
|
3448
|
+
* if `type6`==`server`
|
|
3380
3449
|
*/
|
|
3381
3450
|
ipStart6?: string;
|
|
3382
3451
|
/**
|
|
@@ -3384,7 +3453,7 @@ export declare namespace device {
|
|
|
3384
3453
|
*/
|
|
3385
3454
|
leaseTime: number;
|
|
3386
3455
|
/**
|
|
3387
|
-
* Property key is the DHCP option number
|
|
3456
|
+
* if `type`==`server` or `type6`==`server`. Property key is the DHCP option number
|
|
3388
3457
|
*/
|
|
3389
3458
|
options?: {
|
|
3390
3459
|
[key: string]: outputs.device.SwitchDhcpdConfigConfigOptions;
|
|
@@ -3411,7 +3480,7 @@ export declare namespace device {
|
|
|
3411
3480
|
*/
|
|
3412
3481
|
type6: string;
|
|
3413
3482
|
/**
|
|
3414
|
-
* Property key is <enterprise number>:<sub option code>, with
|
|
3483
|
+
* if `type`==`server` or `type6`==`server`. Property key is <enterprise number>:<sub option code>, with
|
|
3415
3484
|
* * enterprise number: 1-65535 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers)
|
|
3416
3485
|
* * sub option code: 1-255, sub-option code'
|
|
3417
3486
|
*/
|
|
@@ -3505,6 +3574,36 @@ export declare namespace device {
|
|
|
3505
3574
|
*/
|
|
3506
3575
|
type: string;
|
|
3507
3576
|
}
|
|
3577
|
+
interface SwitchLocalPortConfig {
|
|
3578
|
+
/**
|
|
3579
|
+
* if want to generate port up/down alarm
|
|
3580
|
+
*/
|
|
3581
|
+
critical?: boolean;
|
|
3582
|
+
description?: string;
|
|
3583
|
+
/**
|
|
3584
|
+
* if `speed` and `duplex` are specified, whether to disable autonegotiation
|
|
3585
|
+
*/
|
|
3586
|
+
disableAutoneg: boolean;
|
|
3587
|
+
/**
|
|
3588
|
+
* enum: `auto`, `full`, `half`
|
|
3589
|
+
*/
|
|
3590
|
+
duplex: string;
|
|
3591
|
+
/**
|
|
3592
|
+
* media maximum transmission unit (MTU) is the largest data unit that can be forwarded without fragmentation
|
|
3593
|
+
*/
|
|
3594
|
+
mtu: number;
|
|
3595
|
+
poeDisabled: boolean;
|
|
3596
|
+
/**
|
|
3597
|
+
* enum: `100m`, `10m`, `1g`, `2.5g`, `5g`, `auto`
|
|
3598
|
+
*/
|
|
3599
|
+
speed: string;
|
|
3600
|
+
/**
|
|
3601
|
+
* port usage name.
|
|
3602
|
+
*
|
|
3603
|
+
* If EVPN is used, use `evpnUplink`or `evpnDownlink`
|
|
3604
|
+
*/
|
|
3605
|
+
usage: string;
|
|
3606
|
+
}
|
|
3508
3607
|
interface SwitchMistNac {
|
|
3509
3608
|
enabled?: boolean;
|
|
3510
3609
|
network?: string;
|
|
@@ -3833,6 +3932,10 @@ export declare namespace device {
|
|
|
3833
3932
|
stpEdge: boolean;
|
|
3834
3933
|
stpNoRootPort: boolean;
|
|
3835
3934
|
stpP2p: boolean;
|
|
3935
|
+
/**
|
|
3936
|
+
* if this is connected to a vstp network
|
|
3937
|
+
*/
|
|
3938
|
+
useVstp: boolean;
|
|
3836
3939
|
/**
|
|
3837
3940
|
* Only if `mode`!=`dynamic` network/vlan for voip traffic, must also set port_network. to authenticate device, set port_auth
|
|
3838
3941
|
*/
|
|
@@ -3896,8 +3999,6 @@ export declare namespace device {
|
|
|
3896
3999
|
* radius auth session timeout
|
|
3897
4000
|
*/
|
|
3898
4001
|
authServersTimeout: number;
|
|
3899
|
-
coaEnabled: boolean;
|
|
3900
|
-
coaPort: number;
|
|
3901
4002
|
/**
|
|
3902
4003
|
* use `network`or `sourceIp`
|
|
3903
4004
|
* which network the RADIUS server resides, if there's static IP for this network, we'd use it as source-ip
|
|
@@ -4261,9 +4362,9 @@ export declare namespace device {
|
|
|
4261
4362
|
}
|
|
4262
4363
|
interface SwitchStpConfig {
|
|
4263
4364
|
/**
|
|
4264
|
-
*
|
|
4365
|
+
* Switch STP priority: from `0k` to `15k`
|
|
4265
4366
|
*/
|
|
4266
|
-
|
|
4367
|
+
bridgePriority: string;
|
|
4267
4368
|
}
|
|
4268
4369
|
interface SwitchSwitchMgmt {
|
|
4269
4370
|
/**
|
|
@@ -4968,7 +5069,6 @@ export declare namespace org {
|
|
|
4968
5069
|
* when bfdMinimumIntervalIsConfigured alone
|
|
4969
5070
|
*/
|
|
4970
5071
|
bfdMultiplier: number;
|
|
4971
|
-
communities?: outputs.org.DeviceprofileGatewayBgpConfigCommunity[];
|
|
4972
5072
|
/**
|
|
4973
5073
|
* BFD provides faster path failure detection and is enabled by default
|
|
4974
5074
|
*/
|
|
@@ -5027,11 +5127,6 @@ export declare namespace org {
|
|
|
5027
5127
|
*/
|
|
5028
5128
|
wanName?: string;
|
|
5029
5129
|
}
|
|
5030
|
-
interface DeviceprofileGatewayBgpConfigCommunity {
|
|
5031
|
-
id?: string;
|
|
5032
|
-
localPreference?: number;
|
|
5033
|
-
vpnName?: string;
|
|
5034
|
-
}
|
|
5035
5130
|
interface DeviceprofileGatewayBgpConfigNeighbors {
|
|
5036
5131
|
/**
|
|
5037
5132
|
* If true, the BGP session to this neighbor will be administratively disabled/shutdown
|
|
@@ -5054,21 +5149,21 @@ export declare namespace org {
|
|
|
5054
5149
|
[key: string]: outputs.org.DeviceprofileGatewayDhcpdConfigConfig;
|
|
5055
5150
|
};
|
|
5056
5151
|
/**
|
|
5057
|
-
* if set to `
|
|
5152
|
+
* if set to `false`, disable the DHCP server
|
|
5058
5153
|
*/
|
|
5059
5154
|
enabled: boolean;
|
|
5060
5155
|
}
|
|
5061
5156
|
interface DeviceprofileGatewayDhcpdConfigConfig {
|
|
5062
5157
|
/**
|
|
5063
|
-
* if `type`==`local` - optional, if not defined, system one will be used
|
|
5158
|
+
* if `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used
|
|
5064
5159
|
*/
|
|
5065
5160
|
dnsServers: string[];
|
|
5066
5161
|
/**
|
|
5067
|
-
* if `type`==`local` - optional, if not defined, system one will be used
|
|
5162
|
+
* if `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used
|
|
5068
5163
|
*/
|
|
5069
5164
|
dnsSuffixes: string[];
|
|
5070
5165
|
/**
|
|
5071
|
-
* Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b")
|
|
5166
|
+
* if `type`==`local` or `type6`==`local`. Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b")
|
|
5072
5167
|
*/
|
|
5073
5168
|
fixedBindings?: {
|
|
5074
5169
|
[key: string]: outputs.org.DeviceprofileGatewayDhcpdConfigConfigFixedBindings;
|
|
@@ -5098,7 +5193,7 @@ export declare namespace org {
|
|
|
5098
5193
|
*/
|
|
5099
5194
|
leaseTime: number;
|
|
5100
5195
|
/**
|
|
5101
|
-
* Property key is the DHCP option number
|
|
5196
|
+
* if `type`==`local` or `type6`==`local`. Property key is the DHCP option number
|
|
5102
5197
|
*/
|
|
5103
5198
|
options?: {
|
|
5104
5199
|
[key: string]: outputs.org.DeviceprofileGatewayDhcpdConfigConfigOptions;
|
|
@@ -5125,7 +5220,7 @@ export declare namespace org {
|
|
|
5125
5220
|
*/
|
|
5126
5221
|
type6: string;
|
|
5127
5222
|
/**
|
|
5128
|
-
* Property key is <enterprise number>:<sub option code>, with
|
|
5223
|
+
* if `type`==`local` or `type6`==`local`. Property key is <enterprise number>:<sub option code>, with
|
|
5129
5224
|
* * enterprise number: 1-65535 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers)
|
|
5130
5225
|
* * sub option code: 1-255, sub-option code'
|
|
5131
5226
|
*/
|
|
@@ -5210,6 +5305,10 @@ export declare namespace org {
|
|
|
5210
5305
|
* whether to allow clients in the network to talk to each other
|
|
5211
5306
|
*/
|
|
5212
5307
|
isolation?: boolean;
|
|
5308
|
+
/**
|
|
5309
|
+
* whether to enable multicast support (only PIM-sparse mode is supported)
|
|
5310
|
+
*/
|
|
5311
|
+
multicast?: outputs.org.DeviceprofileGatewayNetworkMulticast;
|
|
5213
5312
|
name: string;
|
|
5214
5313
|
/**
|
|
5215
5314
|
* for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
|
|
@@ -5264,6 +5363,25 @@ export declare namespace org {
|
|
|
5264
5363
|
*/
|
|
5265
5364
|
wanName?: string;
|
|
5266
5365
|
}
|
|
5366
|
+
interface DeviceprofileGatewayNetworkMulticast {
|
|
5367
|
+
/**
|
|
5368
|
+
* if the network will only be the soruce of the multicast traffic, IGMP can be disabled
|
|
5369
|
+
*/
|
|
5370
|
+
disableIgmp: boolean;
|
|
5371
|
+
enabled: boolean;
|
|
5372
|
+
/**
|
|
5373
|
+
* Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")
|
|
5374
|
+
*/
|
|
5375
|
+
groups?: {
|
|
5376
|
+
[key: string]: outputs.org.DeviceprofileGatewayNetworkMulticastGroups;
|
|
5377
|
+
};
|
|
5378
|
+
}
|
|
5379
|
+
interface DeviceprofileGatewayNetworkMulticastGroups {
|
|
5380
|
+
/**
|
|
5381
|
+
* RP (rendezvous point) IP Address
|
|
5382
|
+
*/
|
|
5383
|
+
rpIp?: string;
|
|
5384
|
+
}
|
|
5267
5385
|
interface DeviceprofileGatewayNetworkTenants {
|
|
5268
5386
|
addresses?: string[];
|
|
5269
5387
|
}
|
|
@@ -5568,6 +5686,9 @@ export declare namespace org {
|
|
|
5568
5686
|
* if WAN interface is on a VLAN
|
|
5569
5687
|
*/
|
|
5570
5688
|
vlanId?: number;
|
|
5689
|
+
/**
|
|
5690
|
+
* Property key is the VPN name
|
|
5691
|
+
*/
|
|
5571
5692
|
vpnPaths?: {
|
|
5572
5693
|
[key: string]: outputs.org.DeviceprofileGatewayPortConfigVpnPaths;
|
|
5573
5694
|
};
|
|
@@ -5579,6 +5700,16 @@ export declare namespace org {
|
|
|
5579
5700
|
* optional, if spoke should reach this port by a different IP
|
|
5580
5701
|
*/
|
|
5581
5702
|
wanExtIp?: string;
|
|
5703
|
+
/**
|
|
5704
|
+
* Property Key is the destianation CIDR (e.g "100.100.100.0/24")
|
|
5705
|
+
*/
|
|
5706
|
+
wanExtraRoutes?: {
|
|
5707
|
+
[key: string]: outputs.org.DeviceprofileGatewayPortConfigWanExtraRoutes;
|
|
5708
|
+
};
|
|
5709
|
+
/**
|
|
5710
|
+
* if `usage`==`wan`
|
|
5711
|
+
*/
|
|
5712
|
+
wanProbeOverride?: outputs.org.DeviceprofileGatewayPortConfigWanProbeOverride;
|
|
5582
5713
|
/**
|
|
5583
5714
|
* optional, by default, source-NAT is performed on all WAN Ports using the interface-ip
|
|
5584
5715
|
*/
|
|
@@ -5637,19 +5768,23 @@ export declare namespace org {
|
|
|
5637
5768
|
}
|
|
5638
5769
|
interface DeviceprofileGatewayPortConfigVpnPaths {
|
|
5639
5770
|
/**
|
|
5640
|
-
* enum: `broadband`, `lte`
|
|
5771
|
+
* Only if the VPN `type`==`hubSpoke`. enum: `broadband`, `lte`
|
|
5641
5772
|
*/
|
|
5642
5773
|
bfdProfile: string;
|
|
5643
5774
|
/**
|
|
5644
|
-
*
|
|
5775
|
+
* Only if the VPN `type`==`hubSpoke`. Whether to use tunnel mode. SSR only
|
|
5645
5776
|
*/
|
|
5646
5777
|
bfdUseTunnelMode: boolean;
|
|
5647
5778
|
/**
|
|
5648
|
-
*
|
|
5779
|
+
* Only if the VPN `type`==`mesh`
|
|
5780
|
+
*/
|
|
5781
|
+
linkName?: string;
|
|
5782
|
+
/**
|
|
5783
|
+
* Only if the VPN `type`==`hubSpoke`. For a given VPN, when `path_selection.strategy`==`simple`, the preference for a path (lower is preferred)
|
|
5649
5784
|
*/
|
|
5650
5785
|
preference?: number;
|
|
5651
5786
|
/**
|
|
5652
|
-
* enum: `hub`, `spoke`
|
|
5787
|
+
* Only if the VPN `type`==`hubSpoke`. enum: `hub`, `spoke`
|
|
5653
5788
|
*/
|
|
5654
5789
|
role: string;
|
|
5655
5790
|
trafficShaping?: outputs.org.DeviceprofileGatewayPortConfigVpnPathsTrafficShaping;
|
|
@@ -5662,6 +5797,16 @@ export declare namespace org {
|
|
|
5662
5797
|
classPercentages?: number[];
|
|
5663
5798
|
enabled: boolean;
|
|
5664
5799
|
}
|
|
5800
|
+
interface DeviceprofileGatewayPortConfigWanExtraRoutes {
|
|
5801
|
+
via?: string;
|
|
5802
|
+
}
|
|
5803
|
+
interface DeviceprofileGatewayPortConfigWanProbeOverride {
|
|
5804
|
+
ips?: string[];
|
|
5805
|
+
/**
|
|
5806
|
+
* enum: `broadband`, `lte`
|
|
5807
|
+
*/
|
|
5808
|
+
probeProfile: string;
|
|
5809
|
+
}
|
|
5665
5810
|
interface DeviceprofileGatewayPortConfigWanSourceNat {
|
|
5666
5811
|
/**
|
|
5667
5812
|
* or to disable the source-nat
|
|
@@ -6102,7 +6247,6 @@ export declare namespace org {
|
|
|
6102
6247
|
* when bfdMinimumIntervalIsConfigured alone
|
|
6103
6248
|
*/
|
|
6104
6249
|
bfdMultiplier: number;
|
|
6105
|
-
communities?: outputs.org.GatewaytemplateBgpConfigCommunity[];
|
|
6106
6250
|
/**
|
|
6107
6251
|
* BFD provides faster path failure detection and is enabled by default
|
|
6108
6252
|
*/
|
|
@@ -6161,11 +6305,6 @@ export declare namespace org {
|
|
|
6161
6305
|
*/
|
|
6162
6306
|
wanName?: string;
|
|
6163
6307
|
}
|
|
6164
|
-
interface GatewaytemplateBgpConfigCommunity {
|
|
6165
|
-
id?: string;
|
|
6166
|
-
localPreference?: number;
|
|
6167
|
-
vpnName?: string;
|
|
6168
|
-
}
|
|
6169
6308
|
interface GatewaytemplateBgpConfigNeighbors {
|
|
6170
6309
|
/**
|
|
6171
6310
|
* If true, the BGP session to this neighbor will be administratively disabled/shutdown
|
|
@@ -6188,21 +6327,21 @@ export declare namespace org {
|
|
|
6188
6327
|
[key: string]: outputs.org.GatewaytemplateDhcpdConfigConfig;
|
|
6189
6328
|
};
|
|
6190
6329
|
/**
|
|
6191
|
-
* if set to `
|
|
6330
|
+
* if set to `false`, disable the DHCP server
|
|
6192
6331
|
*/
|
|
6193
6332
|
enabled: boolean;
|
|
6194
6333
|
}
|
|
6195
6334
|
interface GatewaytemplateDhcpdConfigConfig {
|
|
6196
6335
|
/**
|
|
6197
|
-
* if `type`==`local` - optional, if not defined, system one will be used
|
|
6336
|
+
* if `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used
|
|
6198
6337
|
*/
|
|
6199
6338
|
dnsServers: string[];
|
|
6200
6339
|
/**
|
|
6201
|
-
* if `type`==`local` - optional, if not defined, system one will be used
|
|
6340
|
+
* if `type`==`local` or `type6`==`local` - optional, if not defined, system one will be used
|
|
6202
6341
|
*/
|
|
6203
6342
|
dnsSuffixes: string[];
|
|
6204
6343
|
/**
|
|
6205
|
-
* Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b")
|
|
6344
|
+
* if `type`==`local` or `type6`==`local`. Property key is the MAC Address. Format is `[0-9a-f]{12}` (e.g "5684dae9ac8b")
|
|
6206
6345
|
*/
|
|
6207
6346
|
fixedBindings?: {
|
|
6208
6347
|
[key: string]: outputs.org.GatewaytemplateDhcpdConfigConfigFixedBindings;
|
|
@@ -6232,7 +6371,7 @@ export declare namespace org {
|
|
|
6232
6371
|
*/
|
|
6233
6372
|
leaseTime: number;
|
|
6234
6373
|
/**
|
|
6235
|
-
* Property key is the DHCP option number
|
|
6374
|
+
* if `type`==`local` or `type6`==`local`. Property key is the DHCP option number
|
|
6236
6375
|
*/
|
|
6237
6376
|
options?: {
|
|
6238
6377
|
[key: string]: outputs.org.GatewaytemplateDhcpdConfigConfigOptions;
|
|
@@ -6259,7 +6398,7 @@ export declare namespace org {
|
|
|
6259
6398
|
*/
|
|
6260
6399
|
type6: string;
|
|
6261
6400
|
/**
|
|
6262
|
-
* Property key is <enterprise number>:<sub option code>, with
|
|
6401
|
+
* if `type`==`local` or `type6`==`local`. Property key is <enterprise number>:<sub option code>, with
|
|
6263
6402
|
* * enterprise number: 1-65535 (https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers)
|
|
6264
6403
|
* * sub option code: 1-255, sub-option code'
|
|
6265
6404
|
*/
|
|
@@ -6344,6 +6483,10 @@ export declare namespace org {
|
|
|
6344
6483
|
* whether to allow clients in the network to talk to each other
|
|
6345
6484
|
*/
|
|
6346
6485
|
isolation?: boolean;
|
|
6486
|
+
/**
|
|
6487
|
+
* whether to enable multicast support (only PIM-sparse mode is supported)
|
|
6488
|
+
*/
|
|
6489
|
+
multicast?: outputs.org.GatewaytemplateNetworkMulticast;
|
|
6347
6490
|
name: string;
|
|
6348
6491
|
/**
|
|
6349
6492
|
* for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
|
|
@@ -6398,6 +6541,25 @@ export declare namespace org {
|
|
|
6398
6541
|
*/
|
|
6399
6542
|
wanName?: string;
|
|
6400
6543
|
}
|
|
6544
|
+
interface GatewaytemplateNetworkMulticast {
|
|
6545
|
+
/**
|
|
6546
|
+
* if the network will only be the soruce of the multicast traffic, IGMP can be disabled
|
|
6547
|
+
*/
|
|
6548
|
+
disableIgmp: boolean;
|
|
6549
|
+
enabled: boolean;
|
|
6550
|
+
/**
|
|
6551
|
+
* Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")
|
|
6552
|
+
*/
|
|
6553
|
+
groups?: {
|
|
6554
|
+
[key: string]: outputs.org.GatewaytemplateNetworkMulticastGroups;
|
|
6555
|
+
};
|
|
6556
|
+
}
|
|
6557
|
+
interface GatewaytemplateNetworkMulticastGroups {
|
|
6558
|
+
/**
|
|
6559
|
+
* RP (rendezvous point) IP Address
|
|
6560
|
+
*/
|
|
6561
|
+
rpIp?: string;
|
|
6562
|
+
}
|
|
6401
6563
|
interface GatewaytemplateNetworkTenants {
|
|
6402
6564
|
addresses?: string[];
|
|
6403
6565
|
}
|
|
@@ -6702,6 +6864,9 @@ export declare namespace org {
|
|
|
6702
6864
|
* if WAN interface is on a VLAN
|
|
6703
6865
|
*/
|
|
6704
6866
|
vlanId?: number;
|
|
6867
|
+
/**
|
|
6868
|
+
* Property key is the VPN name
|
|
6869
|
+
*/
|
|
6705
6870
|
vpnPaths?: {
|
|
6706
6871
|
[key: string]: outputs.org.GatewaytemplatePortConfigVpnPaths;
|
|
6707
6872
|
};
|
|
@@ -6713,6 +6878,16 @@ export declare namespace org {
|
|
|
6713
6878
|
* optional, if spoke should reach this port by a different IP
|
|
6714
6879
|
*/
|
|
6715
6880
|
wanExtIp?: string;
|
|
6881
|
+
/**
|
|
6882
|
+
* Property Key is the destianation CIDR (e.g "100.100.100.0/24")
|
|
6883
|
+
*/
|
|
6884
|
+
wanExtraRoutes?: {
|
|
6885
|
+
[key: string]: outputs.org.GatewaytemplatePortConfigWanExtraRoutes;
|
|
6886
|
+
};
|
|
6887
|
+
/**
|
|
6888
|
+
* if `usage`==`wan`
|
|
6889
|
+
*/
|
|
6890
|
+
wanProbeOverride?: outputs.org.GatewaytemplatePortConfigWanProbeOverride;
|
|
6716
6891
|
/**
|
|
6717
6892
|
* optional, by default, source-NAT is performed on all WAN Ports using the interface-ip
|
|
6718
6893
|
*/
|
|
@@ -6771,19 +6946,23 @@ export declare namespace org {
|
|
|
6771
6946
|
}
|
|
6772
6947
|
interface GatewaytemplatePortConfigVpnPaths {
|
|
6773
6948
|
/**
|
|
6774
|
-
* enum: `broadband`, `lte`
|
|
6949
|
+
* Only if the VPN `type`==`hubSpoke`. enum: `broadband`, `lte`
|
|
6775
6950
|
*/
|
|
6776
6951
|
bfdProfile: string;
|
|
6777
6952
|
/**
|
|
6778
|
-
*
|
|
6953
|
+
* Only if the VPN `type`==`hubSpoke`. Whether to use tunnel mode. SSR only
|
|
6779
6954
|
*/
|
|
6780
6955
|
bfdUseTunnelMode: boolean;
|
|
6781
6956
|
/**
|
|
6782
|
-
*
|
|
6957
|
+
* Only if the VPN `type`==`mesh`
|
|
6958
|
+
*/
|
|
6959
|
+
linkName?: string;
|
|
6960
|
+
/**
|
|
6961
|
+
* Only if the VPN `type`==`hubSpoke`. For a given VPN, when `path_selection.strategy`==`simple`, the preference for a path (lower is preferred)
|
|
6783
6962
|
*/
|
|
6784
6963
|
preference?: number;
|
|
6785
6964
|
/**
|
|
6786
|
-
* enum: `hub`, `spoke`
|
|
6965
|
+
* Only if the VPN `type`==`hubSpoke`. enum: `hub`, `spoke`
|
|
6787
6966
|
*/
|
|
6788
6967
|
role: string;
|
|
6789
6968
|
trafficShaping?: outputs.org.GatewaytemplatePortConfigVpnPathsTrafficShaping;
|
|
@@ -6796,6 +6975,16 @@ export declare namespace org {
|
|
|
6796
6975
|
classPercentages?: number[];
|
|
6797
6976
|
enabled: boolean;
|
|
6798
6977
|
}
|
|
6978
|
+
interface GatewaytemplatePortConfigWanExtraRoutes {
|
|
6979
|
+
via?: string;
|
|
6980
|
+
}
|
|
6981
|
+
interface GatewaytemplatePortConfigWanProbeOverride {
|
|
6982
|
+
ips?: string[];
|
|
6983
|
+
/**
|
|
6984
|
+
* enum: `broadband`, `lte`
|
|
6985
|
+
*/
|
|
6986
|
+
probeProfile: string;
|
|
6987
|
+
}
|
|
6799
6988
|
interface GatewaytemplatePortConfigWanSourceNat {
|
|
6800
6989
|
/**
|
|
6801
6990
|
* or to disable the source-nat
|
|
@@ -7287,10 +7476,6 @@ export declare namespace org {
|
|
|
7287
7476
|
* whether the device is connected
|
|
7288
7477
|
*/
|
|
7289
7478
|
connected: boolean;
|
|
7290
|
-
/**
|
|
7291
|
-
* when the object has been created, in epoch
|
|
7292
|
-
*/
|
|
7293
|
-
createdTime: number;
|
|
7294
7479
|
/**
|
|
7295
7480
|
* deviceprofile id if assigned, null if not assigned
|
|
7296
7481
|
*/
|
|
@@ -7316,10 +7501,6 @@ export declare namespace org {
|
|
|
7316
7501
|
* device model
|
|
7317
7502
|
*/
|
|
7318
7503
|
model: string;
|
|
7319
|
-
/**
|
|
7320
|
-
* when the object has been modified for the last time, in epoch
|
|
7321
|
-
*/
|
|
7322
|
-
modifiedTime: number;
|
|
7323
7504
|
/**
|
|
7324
7505
|
* device name if configured
|
|
7325
7506
|
*/
|
|
@@ -7969,6 +8150,7 @@ export declare namespace org {
|
|
|
7969
8150
|
/**
|
|
7970
8151
|
* required if
|
|
7971
8152
|
* - `type`==`dynamicGbp` (gbp_tag received from RADIUS)
|
|
8153
|
+
* - `type`==`gbpResource`
|
|
7972
8154
|
* - `type`==`staticGbp` (applying gbp tag against matching conditions)
|
|
7973
8155
|
*/
|
|
7974
8156
|
gbpTag?: number;
|
|
@@ -7995,7 +8177,7 @@ export declare namespace org {
|
|
|
7995
8177
|
*/
|
|
7996
8178
|
radiusGroup?: string;
|
|
7997
8179
|
/**
|
|
7998
|
-
* if `type`==`resource`
|
|
8180
|
+
* if `type`==`resource` or `type`==`gbpResource`
|
|
7999
8181
|
* empty means unrestricted, i.e. any
|
|
8000
8182
|
*/
|
|
8001
8183
|
specs?: outputs.org.NetworktemplateAclTagsSpec[];
|
|
@@ -8007,7 +8189,16 @@ export declare namespace org {
|
|
|
8007
8189
|
*/
|
|
8008
8190
|
subnets: string[];
|
|
8009
8191
|
/**
|
|
8010
|
-
* enum:
|
|
8192
|
+
* enum:
|
|
8193
|
+
* * `any`: matching anything not identified
|
|
8194
|
+
* * `dynamicGbp`: from the gbpTag received from RADIUS
|
|
8195
|
+
* * `gbpResource`: can only be used in `dstTags`
|
|
8196
|
+
* * `mac`
|
|
8197
|
+
* * `network`
|
|
8198
|
+
* * `radiusGroup`
|
|
8199
|
+
* * `resource`: can only be used in `dstTags`
|
|
8200
|
+
* * `staticGbp`: applying gbp tag against matching conditions
|
|
8201
|
+
* * `subnet`'
|
|
8011
8202
|
*/
|
|
8012
8203
|
type: string;
|
|
8013
8204
|
}
|
|
@@ -8299,6 +8490,10 @@ export declare namespace org {
|
|
|
8299
8490
|
stpEdge: boolean;
|
|
8300
8491
|
stpNoRootPort: boolean;
|
|
8301
8492
|
stpP2p: boolean;
|
|
8493
|
+
/**
|
|
8494
|
+
* if this is connected to a vstp network
|
|
8495
|
+
*/
|
|
8496
|
+
useVstp: boolean;
|
|
8302
8497
|
/**
|
|
8303
8498
|
* Only if `mode`!=`dynamic` network/vlan for voip traffic, must also set port_network. to authenticate device, set port_auth
|
|
8304
8499
|
*/
|
|
@@ -8362,8 +8557,6 @@ export declare namespace org {
|
|
|
8362
8557
|
* radius auth session timeout
|
|
8363
8558
|
*/
|
|
8364
8559
|
authServersTimeout: number;
|
|
8365
|
-
coaEnabled: boolean;
|
|
8366
|
-
coaPort: number;
|
|
8367
8560
|
/**
|
|
8368
8561
|
* use `network`or `sourceIp`
|
|
8369
8562
|
* which network the RADIUS server resides, if there's static IP for this network, we'd use it as source-ip
|
|
@@ -8761,8 +8954,8 @@ export declare namespace org {
|
|
|
8761
8954
|
[key: string]: outputs.org.NetworktemplateSwitchMatchingRulePortConfig;
|
|
8762
8955
|
};
|
|
8763
8956
|
/**
|
|
8764
|
-
* Property key is the port mirroring instance name
|
|
8765
|
-
* portMirroring can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output.
|
|
8957
|
+
* Property key is the port mirroring instance name
|
|
8958
|
+
* portMirroring can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 port mirrorings is allowed
|
|
8766
8959
|
*/
|
|
8767
8960
|
portMirroring?: {
|
|
8768
8961
|
[key: string]: outputs.org.NetworktemplateSwitchMatchingRulePortMirroring;
|
|
@@ -9395,6 +9588,20 @@ export declare namespace org {
|
|
|
9395
9588
|
*/
|
|
9396
9589
|
orgId: string;
|
|
9397
9590
|
}
|
|
9591
|
+
interface SettingJcloudRa {
|
|
9592
|
+
/**
|
|
9593
|
+
* JCloud Routing Assurance Org Token
|
|
9594
|
+
*/
|
|
9595
|
+
orgApitoken?: string;
|
|
9596
|
+
/**
|
|
9597
|
+
* JCloud Routing Assurance Org Token Name
|
|
9598
|
+
*/
|
|
9599
|
+
orgApitokenName?: string;
|
|
9600
|
+
/**
|
|
9601
|
+
* JCloud Routing Assurance Org ID
|
|
9602
|
+
*/
|
|
9603
|
+
orgId?: string;
|
|
9604
|
+
}
|
|
9398
9605
|
interface SettingJuniper {
|
|
9399
9606
|
accounts: outputs.org.SettingJuniperAccount[];
|
|
9400
9607
|
}
|
|
@@ -9440,11 +9647,12 @@ export declare namespace org {
|
|
|
9440
9647
|
*/
|
|
9441
9648
|
euOnly: boolean;
|
|
9442
9649
|
/**
|
|
9443
|
-
* allow customer to choose the EAP-TLS client certificate's field to use for IDP Machine Groups lookup
|
|
9650
|
+
* allow customer to choose the EAP-TLS client certificate's field to use for IDP Machine Groups lookup. enum: `automatic`, `cn`, `dns`
|
|
9444
9651
|
*/
|
|
9445
9652
|
idpMachineCertLookupField: string;
|
|
9446
9653
|
/**
|
|
9447
|
-
* allow customer to choose the EAP-TLS client certificate's field
|
|
9654
|
+
* allow customer to choose the EAP-TLS client certificate's field
|
|
9655
|
+
* to use for IDP User Groups lookup. enum: `automatic`, `cn`, `email`, `upn`
|
|
9448
9656
|
*/
|
|
9449
9657
|
idpUserCertLookupField: string;
|
|
9450
9658
|
idps: outputs.org.SettingMistNacIdp[];
|
|
@@ -9500,6 +9708,16 @@ export declare namespace org {
|
|
|
9500
9708
|
oobIpType6: string;
|
|
9501
9709
|
rootPassword?: string;
|
|
9502
9710
|
}
|
|
9711
|
+
interface SettingOpticPortConfig {
|
|
9712
|
+
/**
|
|
9713
|
+
* enable channelization
|
|
9714
|
+
*/
|
|
9715
|
+
channelized: boolean;
|
|
9716
|
+
/**
|
|
9717
|
+
* interface speed (e.g. `25g`, `50g`), use the chassis speed by default
|
|
9718
|
+
*/
|
|
9719
|
+
speed?: string;
|
|
9720
|
+
}
|
|
9503
9721
|
interface SettingPasswordPolicy {
|
|
9504
9722
|
/**
|
|
9505
9723
|
* whether the policy is enabled
|
|
@@ -9529,15 +9747,6 @@ export declare namespace org {
|
|
|
9529
9747
|
*/
|
|
9530
9748
|
maxPktLen: number;
|
|
9531
9749
|
}
|
|
9532
|
-
interface SettingPortChannelization {
|
|
9533
|
-
/**
|
|
9534
|
-
* Property key is the interface name or range (e.g. `et-0/0/47`, `et-0/0/48-49`), Property value is the interface speed (e.g. `25g`, `50g`)
|
|
9535
|
-
*/
|
|
9536
|
-
config?: {
|
|
9537
|
-
[key: string]: string;
|
|
9538
|
-
};
|
|
9539
|
-
enabled: boolean;
|
|
9540
|
-
}
|
|
9541
9750
|
interface SettingSecurity {
|
|
9542
9751
|
/**
|
|
9543
9752
|
* whether to disable local SSH (by default, local SSH is enabled with allowMist in Org is enabled
|
|
@@ -11136,6 +11345,7 @@ export declare namespace site {
|
|
|
11136
11345
|
/**
|
|
11137
11346
|
* required if
|
|
11138
11347
|
* - `type`==`dynamicGbp` (gbp_tag received from RADIUS)
|
|
11348
|
+
* - `type`==`gbpResource`
|
|
11139
11349
|
* - `type`==`staticGbp` (applying gbp tag against matching conditions)
|
|
11140
11350
|
*/
|
|
11141
11351
|
gbpTag?: number;
|
|
@@ -11162,7 +11372,7 @@ export declare namespace site {
|
|
|
11162
11372
|
*/
|
|
11163
11373
|
radiusGroup?: string;
|
|
11164
11374
|
/**
|
|
11165
|
-
* if `type`==`resource`
|
|
11375
|
+
* if `type`==`resource` or `type`==`gbpResource`
|
|
11166
11376
|
* empty means unrestricted, i.e. any
|
|
11167
11377
|
*/
|
|
11168
11378
|
specs?: outputs.site.NetworktemplateAclTagsSpec[];
|
|
@@ -11174,7 +11384,16 @@ export declare namespace site {
|
|
|
11174
11384
|
*/
|
|
11175
11385
|
subnets: string[];
|
|
11176
11386
|
/**
|
|
11177
|
-
* enum:
|
|
11387
|
+
* enum:
|
|
11388
|
+
* * `any`: matching anything not identified
|
|
11389
|
+
* * `dynamicGbp`: from the gbpTag received from RADIUS
|
|
11390
|
+
* * `gbpResource`: can only be used in `dstTags`
|
|
11391
|
+
* * `mac`
|
|
11392
|
+
* * `network`
|
|
11393
|
+
* * `radiusGroup`
|
|
11394
|
+
* * `resource`: can only be used in `dstTags`
|
|
11395
|
+
* * `staticGbp`: applying gbp tag against matching conditions
|
|
11396
|
+
* * `subnet`'
|
|
11178
11397
|
*/
|
|
11179
11398
|
type: string;
|
|
11180
11399
|
}
|
|
@@ -11466,6 +11685,10 @@ export declare namespace site {
|
|
|
11466
11685
|
stpEdge: boolean;
|
|
11467
11686
|
stpNoRootPort: boolean;
|
|
11468
11687
|
stpP2p: boolean;
|
|
11688
|
+
/**
|
|
11689
|
+
* if this is connected to a vstp network
|
|
11690
|
+
*/
|
|
11691
|
+
useVstp: boolean;
|
|
11469
11692
|
/**
|
|
11470
11693
|
* Only if `mode`!=`dynamic` network/vlan for voip traffic, must also set port_network. to authenticate device, set port_auth
|
|
11471
11694
|
*/
|
|
@@ -11529,8 +11752,6 @@ export declare namespace site {
|
|
|
11529
11752
|
* radius auth session timeout
|
|
11530
11753
|
*/
|
|
11531
11754
|
authServersTimeout: number;
|
|
11532
|
-
coaEnabled: boolean;
|
|
11533
|
-
coaPort: number;
|
|
11534
11755
|
/**
|
|
11535
11756
|
* use `network`or `sourceIp`
|
|
11536
11757
|
* which network the RADIUS server resides, if there's static IP for this network, we'd use it as source-ip
|
|
@@ -11928,8 +12149,8 @@ export declare namespace site {
|
|
|
11928
12149
|
[key: string]: outputs.site.NetworktemplateSwitchMatchingRulePortConfig;
|
|
11929
12150
|
};
|
|
11930
12151
|
/**
|
|
11931
|
-
* Property key is the port mirroring instance name
|
|
11932
|
-
* portMirroring can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output.
|
|
12152
|
+
* Property key is the port mirroring instance name
|
|
12153
|
+
* portMirroring can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 port mirrorings is allowed
|
|
11933
12154
|
*/
|
|
11934
12155
|
portMirroring?: {
|
|
11935
12156
|
[key: string]: outputs.site.NetworktemplateSwitchMatchingRulePortMirroring;
|