@pulumi/juniper-mist 0.6.3 → 0.6.4
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/org/alarmtemplate.d.ts +34 -0
- package/org/alarmtemplate.js +34 -0
- package/org/alarmtemplate.js.map +1 -1
- package/org/apitoken.d.ts +25 -0
- package/org/apitoken.js +25 -0
- package/org/apitoken.js.map +1 -1
- package/org/deviceprofileGateway.d.ts +84 -0
- package/org/deviceprofileGateway.js +84 -0
- package/org/deviceprofileGateway.js.map +1 -1
- package/org/evpnTopology.d.ts +54 -0
- package/org/evpnTopology.js +54 -0
- package/org/evpnTopology.js.map +1 -1
- package/org/gatewaytemplate.d.ts +85 -0
- package/org/gatewaytemplate.js +85 -0
- package/org/gatewaytemplate.js.map +1 -1
- package/org/idpprofile.d.ts +31 -0
- package/org/idpprofile.js +31 -0
- package/org/idpprofile.js.map +1 -1
- package/org/nacrule.d.ts +24 -0
- package/org/nacrule.js +24 -0
- package/org/nacrule.js.map +1 -1
- package/org/networktemplate.d.ts +65 -0
- package/org/networktemplate.js +65 -0
- package/org/networktemplate.js.map +1 -1
- package/org/rftemplate.d.ts +38 -0
- package/org/rftemplate.js +38 -0
- package/org/rftemplate.js.map +1 -1
- package/org/service.d.ts +21 -0
- package/org/service.js +21 -0
- package/org/service.js.map +1 -1
- package/org/servicepolicy.d.ts +20 -0
- package/org/servicepolicy.js +20 -0
- package/org/servicepolicy.js.map +1 -1
- package/org/setting.d.ts +59 -0
- package/org/setting.js +59 -0
- package/org/setting.js.map +1 -1
- package/org/ssoRole.d.ts +17 -0
- package/org/ssoRole.js +17 -0
- package/org/ssoRole.js.map +1 -1
- package/org/vpn.d.ts +33 -0
- package/org/vpn.js +33 -0
- package/org/vpn.js.map +1 -1
- package/org/webhook.d.ts +28 -0
- package/org/webhook.js +28 -0
- package/org/webhook.js.map +1 -1
- package/org/wlanPortalImage.d.ts +13 -0
- package/org/wlanPortalImage.js +13 -0
- package/org/wlanPortalImage.js.map +1 -1
- package/org/wlanPortalTemplate.d.ts +22 -0
- package/org/wlanPortalTemplate.js +22 -0
- package/org/wlanPortalTemplate.js.map +1 -1
- package/org/wlantemplate.d.ts +15 -0
- package/org/wlantemplate.js +15 -0
- package/org/wlantemplate.js.map +1 -1
- package/package.json +2 -2
- package/site/networktemplate.d.ts +64 -0
- package/site/networktemplate.js +64 -0
- package/site/networktemplate.js.map +1 -1
- package/site/setting.d.ts +29 -0
- package/site/setting.js +29 -0
- package/site/setting.js.map +1 -1
- package/site/wlanPortalTemplate.d.ts +22 -0
- package/site/wlanPortalTemplate.js +22 -0
- package/site/wlanPortalTemplate.js.map +1 -1
package/org/alarmtemplate.d.ts
CHANGED
|
@@ -12,6 +12,40 @@ import * as outputs from "../types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* It is possible to use the `junipermist.getConstAlarms` data source to get a list of the available alarms
|
|
14
14
|
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
20
|
+
*
|
|
21
|
+
* const alarmtemplateOne = new junipermist.org.Alarmtemplate("alarmtemplate_one", {
|
|
22
|
+
* orgId: terraformTest.id,
|
|
23
|
+
* name: "alarmtemplate_one",
|
|
24
|
+
* delivery: {
|
|
25
|
+
* enabled: true,
|
|
26
|
+
* toOrgAdmins: true,
|
|
27
|
+
* additionalEmails: ["admin@mycorp.net"],
|
|
28
|
+
* },
|
|
29
|
+
* rules: {
|
|
30
|
+
* health_check_failed: {
|
|
31
|
+
* enabled: true,
|
|
32
|
+
* },
|
|
33
|
+
* insufficient_capacity: {
|
|
34
|
+
* enabled: true,
|
|
35
|
+
* },
|
|
36
|
+
* insufficient_coverage: {
|
|
37
|
+
* enabled: true,
|
|
38
|
+
* },
|
|
39
|
+
* infra_arp_failure: {
|
|
40
|
+
* enabled: true,
|
|
41
|
+
* },
|
|
42
|
+
* arp_failure: {
|
|
43
|
+
* enabled: true,
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
15
49
|
* ## Import
|
|
16
50
|
*
|
|
17
51
|
* Using `pulumi import`, import `mist_org_alarmtemplate` with:
|
package/org/alarmtemplate.js
CHANGED
|
@@ -16,6 +16,40 @@ const utilities = require("../utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* It is possible to use the `junipermist.getConstAlarms` data source to get a list of the available alarms
|
|
18
18
|
*
|
|
19
|
+
* ## Example Usage
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
24
|
+
*
|
|
25
|
+
* const alarmtemplateOne = new junipermist.org.Alarmtemplate("alarmtemplate_one", {
|
|
26
|
+
* orgId: terraformTest.id,
|
|
27
|
+
* name: "alarmtemplate_one",
|
|
28
|
+
* delivery: {
|
|
29
|
+
* enabled: true,
|
|
30
|
+
* toOrgAdmins: true,
|
|
31
|
+
* additionalEmails: ["admin@mycorp.net"],
|
|
32
|
+
* },
|
|
33
|
+
* rules: {
|
|
34
|
+
* health_check_failed: {
|
|
35
|
+
* enabled: true,
|
|
36
|
+
* },
|
|
37
|
+
* insufficient_capacity: {
|
|
38
|
+
* enabled: true,
|
|
39
|
+
* },
|
|
40
|
+
* insufficient_coverage: {
|
|
41
|
+
* enabled: true,
|
|
42
|
+
* },
|
|
43
|
+
* infra_arp_failure: {
|
|
44
|
+
* enabled: true,
|
|
45
|
+
* },
|
|
46
|
+
* arp_failure: {
|
|
47
|
+
* enabled: true,
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
19
53
|
* ## Import
|
|
20
54
|
*
|
|
21
55
|
* Using `pulumi import`, import `mist_org_alarmtemplate` with:
|
package/org/alarmtemplate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alarmtemplate.js","sourceRoot":"","sources":["../../org/alarmtemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"alarmtemplate.js","sourceRoot":"","sources":["../../org/alarmtemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAwBD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;SAC1C;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA7EL,sCA8EC;AAhEG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/org/apitoken.d.ts
CHANGED
|
@@ -7,6 +7,31 @@ import * as outputs from "../types/output";
|
|
|
7
7
|
* An Org API token is a unique identifier used by an application to authenticate and access the Mist APIs. These tokens are used to authenticate requests made to the API server and ensure secure access to the API. They are not bound to any specific user and provide access to the organization as a whole.
|
|
8
8
|
* Organization tokens support different privileges and can only be used for the specific organization they are generated for.
|
|
9
9
|
* Rate limiting is done on an individual token basis, so if one token reaches its rate limit, it does not impact other tokens.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
16
|
+
*
|
|
17
|
+
* const apitokenOne = new junipermist.org.Apitoken("apitoken_one", {
|
|
18
|
+
* orgId: terraformTest.id,
|
|
19
|
+
* name: "apitoken_one",
|
|
20
|
+
* privileges: [
|
|
21
|
+
* {
|
|
22
|
+
* scope: "site",
|
|
23
|
+
* role: "admin",
|
|
24
|
+
* siteId: "d7c8364e-xxxx-xxxx-xxxx-37eff0475b03",
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* scope: "site",
|
|
28
|
+
* role: "read",
|
|
29
|
+
* siteId: "08f8851b-xxxx-xxxx-xxxx-9ebb5aa62de4",
|
|
30
|
+
* },
|
|
31
|
+
* ],
|
|
32
|
+
* srcIps: ["1.2.3.4/32"],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
10
35
|
*/
|
|
11
36
|
export declare class Apitoken extends pulumi.CustomResource {
|
|
12
37
|
/**
|
package/org/apitoken.js
CHANGED
|
@@ -11,6 +11,31 @@ const utilities = require("../utilities");
|
|
|
11
11
|
* An Org API token is a unique identifier used by an application to authenticate and access the Mist APIs. These tokens are used to authenticate requests made to the API server and ensure secure access to the API. They are not bound to any specific user and provide access to the organization as a whole.
|
|
12
12
|
* Organization tokens support different privileges and can only be used for the specific organization they are generated for.
|
|
13
13
|
* Rate limiting is done on an individual token basis, so if one token reaches its rate limit, it does not impact other tokens.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
20
|
+
*
|
|
21
|
+
* const apitokenOne = new junipermist.org.Apitoken("apitoken_one", {
|
|
22
|
+
* orgId: terraformTest.id,
|
|
23
|
+
* name: "apitoken_one",
|
|
24
|
+
* privileges: [
|
|
25
|
+
* {
|
|
26
|
+
* scope: "site",
|
|
27
|
+
* role: "admin",
|
|
28
|
+
* siteId: "d7c8364e-xxxx-xxxx-xxxx-37eff0475b03",
|
|
29
|
+
* },
|
|
30
|
+
* {
|
|
31
|
+
* scope: "site",
|
|
32
|
+
* role: "read",
|
|
33
|
+
* siteId: "08f8851b-xxxx-xxxx-xxxx-9ebb5aa62de4",
|
|
34
|
+
* },
|
|
35
|
+
* ],
|
|
36
|
+
* srcIps: ["1.2.3.4/32"],
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
14
39
|
*/
|
|
15
40
|
class Apitoken extends pulumi.CustomResource {
|
|
16
41
|
/**
|
package/org/apitoken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apitoken.js","sourceRoot":"","sources":["../../org/apitoken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"apitoken.js","sourceRoot":"","sources":["../../org/apitoken.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EA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,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AArFL,4BAsFC;AAxEG,gBAAgB;AACO,qBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -8,6 +8,90 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* The Gateway Device Profile can be assigned to a gateway with the `junipermist.org.DeviceprofileAssign` resource.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
16
|
+
*
|
|
17
|
+
* const deviceprofileGwOne = new junipermist.org.DeviceprofileGateway("deviceprofile_gw_one", {
|
|
18
|
+
* name: "deviceprofile_gw_one",
|
|
19
|
+
* orgId: terraformTest.id,
|
|
20
|
+
* portConfig: {
|
|
21
|
+
* "ge-0/0/3": {
|
|
22
|
+
* name: "FTTH",
|
|
23
|
+
* usage: "wan",
|
|
24
|
+
* aggregated: false,
|
|
25
|
+
* redundant: false,
|
|
26
|
+
* critical: false,
|
|
27
|
+
* wanType: "broadband",
|
|
28
|
+
* ipConfig: {
|
|
29
|
+
* type: "static",
|
|
30
|
+
* ip: "192.168.1.8",
|
|
31
|
+
* netmask: "/24",
|
|
32
|
+
* gateway: "192.168.1.1",
|
|
33
|
+
* },
|
|
34
|
+
* disableAutoneg: false,
|
|
35
|
+
* speed: "auto",
|
|
36
|
+
* duplex: "auto",
|
|
37
|
+
* wanSourceNat: {
|
|
38
|
+
* disabled: false,
|
|
39
|
+
* },
|
|
40
|
+
* vpnPaths: {
|
|
41
|
+
* "SSR_HUB_DC-MPLS.OrgOverlay": {
|
|
42
|
+
* key: 0,
|
|
43
|
+
* role: "spoke",
|
|
44
|
+
* bfdProfile: "broadband",
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* "ge-0/0/5": {
|
|
49
|
+
* usage: "lan",
|
|
50
|
+
* critical: false,
|
|
51
|
+
* aggregated: true,
|
|
52
|
+
* aeDisableLacp: false,
|
|
53
|
+
* aeLacpForceUp: true,
|
|
54
|
+
* aeIdx: "0",
|
|
55
|
+
* redundant: false,
|
|
56
|
+
* networks: [
|
|
57
|
+
* "PRD-Core",
|
|
58
|
+
* "PRD-Mgmt",
|
|
59
|
+
* "PRD-Lab",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* ipConfigs: {
|
|
64
|
+
* "PRD-Core": {
|
|
65
|
+
* type: "static",
|
|
66
|
+
* ip: "10.3.100.9",
|
|
67
|
+
* netmask: "/24",
|
|
68
|
+
* },
|
|
69
|
+
* "PRD-Mgmt": {
|
|
70
|
+
* type: "static",
|
|
71
|
+
* ip: "10.3.172.1",
|
|
72
|
+
* netmask: "/24",
|
|
73
|
+
* },
|
|
74
|
+
* "PRD-Lab": {
|
|
75
|
+
* type: "static",
|
|
76
|
+
* ip: "10.3.171.1",
|
|
77
|
+
* netmask: "/24",
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* servicePolicies: [{
|
|
81
|
+
* name: "Policy-14",
|
|
82
|
+
* tenants: ["PRD-Core"],
|
|
83
|
+
* services: ["any"],
|
|
84
|
+
* action: "allow",
|
|
85
|
+
* pathPreference: "HUB",
|
|
86
|
+
* idp: {
|
|
87
|
+
* enabled: true,
|
|
88
|
+
* profile: "critical",
|
|
89
|
+
* alertOnly: false,
|
|
90
|
+
* },
|
|
91
|
+
* }],
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
11
95
|
* ## Import
|
|
12
96
|
*
|
|
13
97
|
* Using `pulumi import`, import `mist_org_deviceprofile_gateway` with:
|
|
@@ -12,6 +12,90 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* The Gateway Device Profile can be assigned to a gateway with the `junipermist.org.DeviceprofileAssign` resource.
|
|
14
14
|
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
20
|
+
*
|
|
21
|
+
* const deviceprofileGwOne = new junipermist.org.DeviceprofileGateway("deviceprofile_gw_one", {
|
|
22
|
+
* name: "deviceprofile_gw_one",
|
|
23
|
+
* orgId: terraformTest.id,
|
|
24
|
+
* portConfig: {
|
|
25
|
+
* "ge-0/0/3": {
|
|
26
|
+
* name: "FTTH",
|
|
27
|
+
* usage: "wan",
|
|
28
|
+
* aggregated: false,
|
|
29
|
+
* redundant: false,
|
|
30
|
+
* critical: false,
|
|
31
|
+
* wanType: "broadband",
|
|
32
|
+
* ipConfig: {
|
|
33
|
+
* type: "static",
|
|
34
|
+
* ip: "192.168.1.8",
|
|
35
|
+
* netmask: "/24",
|
|
36
|
+
* gateway: "192.168.1.1",
|
|
37
|
+
* },
|
|
38
|
+
* disableAutoneg: false,
|
|
39
|
+
* speed: "auto",
|
|
40
|
+
* duplex: "auto",
|
|
41
|
+
* wanSourceNat: {
|
|
42
|
+
* disabled: false,
|
|
43
|
+
* },
|
|
44
|
+
* vpnPaths: {
|
|
45
|
+
* "SSR_HUB_DC-MPLS.OrgOverlay": {
|
|
46
|
+
* key: 0,
|
|
47
|
+
* role: "spoke",
|
|
48
|
+
* bfdProfile: "broadband",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* "ge-0/0/5": {
|
|
53
|
+
* usage: "lan",
|
|
54
|
+
* critical: false,
|
|
55
|
+
* aggregated: true,
|
|
56
|
+
* aeDisableLacp: false,
|
|
57
|
+
* aeLacpForceUp: true,
|
|
58
|
+
* aeIdx: "0",
|
|
59
|
+
* redundant: false,
|
|
60
|
+
* networks: [
|
|
61
|
+
* "PRD-Core",
|
|
62
|
+
* "PRD-Mgmt",
|
|
63
|
+
* "PRD-Lab",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* ipConfigs: {
|
|
68
|
+
* "PRD-Core": {
|
|
69
|
+
* type: "static",
|
|
70
|
+
* ip: "10.3.100.9",
|
|
71
|
+
* netmask: "/24",
|
|
72
|
+
* },
|
|
73
|
+
* "PRD-Mgmt": {
|
|
74
|
+
* type: "static",
|
|
75
|
+
* ip: "10.3.172.1",
|
|
76
|
+
* netmask: "/24",
|
|
77
|
+
* },
|
|
78
|
+
* "PRD-Lab": {
|
|
79
|
+
* type: "static",
|
|
80
|
+
* ip: "10.3.171.1",
|
|
81
|
+
* netmask: "/24",
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* servicePolicies: [{
|
|
85
|
+
* name: "Policy-14",
|
|
86
|
+
* tenants: ["PRD-Core"],
|
|
87
|
+
* services: ["any"],
|
|
88
|
+
* action: "allow",
|
|
89
|
+
* pathPreference: "HUB",
|
|
90
|
+
* idp: {
|
|
91
|
+
* enabled: true,
|
|
92
|
+
* profile: "critical",
|
|
93
|
+
* alertOnly: false,
|
|
94
|
+
* },
|
|
95
|
+
* }],
|
|
96
|
+
* });
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
15
99
|
* ## Import
|
|
16
100
|
*
|
|
17
101
|
* Using `pulumi import`, import `mist_org_deviceprofile_gateway` with:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deviceprofileGateway.js","sourceRoot":"","sources":["../../org/deviceprofileGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"deviceprofileGateway.js","sourceRoot":"","sources":["../../org/deviceprofileGateway.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAyFD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,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KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAtLL,oDAuLC;AAzKG,gBAAgB;AACO,iCAAY,GAAG,2DAA2D,CAAC"}
|
package/org/evpnTopology.d.ts
CHANGED
|
@@ -8,6 +8,60 @@ import * as outputs from "../types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* > To create or manage your EVPN Topology with the Mist Provider, please refer to the `How To - EVPN Topology` Guide.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
16
|
+
*
|
|
17
|
+
* const evpnOne = new junipermist.org.EvpnTopology("evpn_one", {
|
|
18
|
+
* orgId: terraformTest.id,
|
|
19
|
+
* name: "evpn_one",
|
|
20
|
+
* evpnOptions: {
|
|
21
|
+
* routedAt: "core",
|
|
22
|
+
* overlay: {
|
|
23
|
+
* as: 65000,
|
|
24
|
+
* },
|
|
25
|
+
* coreAsBorder: true,
|
|
26
|
+
* autoLoopbackSubnet: "172.16.192.0/24",
|
|
27
|
+
* autoLoopbackSubnet6: "fd33:ab00:2::/64",
|
|
28
|
+
* perVlanVgaV4Mac: false,
|
|
29
|
+
* underlay: {
|
|
30
|
+
* asBase: 65001,
|
|
31
|
+
* useIpv6: false,
|
|
32
|
+
* subnet: "10.255.240.0/20",
|
|
33
|
+
* },
|
|
34
|
+
* autoRouterIdSubnet: "172.16.254.0/23",
|
|
35
|
+
* },
|
|
36
|
+
* switches: [
|
|
37
|
+
* {
|
|
38
|
+
* mac: "020004000001",
|
|
39
|
+
* role: "core",
|
|
40
|
+
* },
|
|
41
|
+
* {
|
|
42
|
+
* mac: "02000400002",
|
|
43
|
+
* role: "core",
|
|
44
|
+
* },
|
|
45
|
+
* {
|
|
46
|
+
* mac: "02000400003",
|
|
47
|
+
* role: "distribution",
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* mac: "02000400004",
|
|
51
|
+
* role: "distribution",
|
|
52
|
+
* },
|
|
53
|
+
* {
|
|
54
|
+
* mac: "02000400005",
|
|
55
|
+
* role: "access",
|
|
56
|
+
* },
|
|
57
|
+
* {
|
|
58
|
+
* mac: "02000400006",
|
|
59
|
+
* role: "access",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
11
65
|
* ## Import
|
|
12
66
|
*
|
|
13
67
|
* Using `pulumi import`, import `mist_org_evpn_topology` with:
|
package/org/evpnTopology.js
CHANGED
|
@@ -12,6 +12,60 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* > To create or manage your EVPN Topology with the Mist Provider, please refer to the `How To - EVPN Topology` Guide.
|
|
14
14
|
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
20
|
+
*
|
|
21
|
+
* const evpnOne = new junipermist.org.EvpnTopology("evpn_one", {
|
|
22
|
+
* orgId: terraformTest.id,
|
|
23
|
+
* name: "evpn_one",
|
|
24
|
+
* evpnOptions: {
|
|
25
|
+
* routedAt: "core",
|
|
26
|
+
* overlay: {
|
|
27
|
+
* as: 65000,
|
|
28
|
+
* },
|
|
29
|
+
* coreAsBorder: true,
|
|
30
|
+
* autoLoopbackSubnet: "172.16.192.0/24",
|
|
31
|
+
* autoLoopbackSubnet6: "fd33:ab00:2::/64",
|
|
32
|
+
* perVlanVgaV4Mac: false,
|
|
33
|
+
* underlay: {
|
|
34
|
+
* asBase: 65001,
|
|
35
|
+
* useIpv6: false,
|
|
36
|
+
* subnet: "10.255.240.0/20",
|
|
37
|
+
* },
|
|
38
|
+
* autoRouterIdSubnet: "172.16.254.0/23",
|
|
39
|
+
* },
|
|
40
|
+
* switches: [
|
|
41
|
+
* {
|
|
42
|
+
* mac: "020004000001",
|
|
43
|
+
* role: "core",
|
|
44
|
+
* },
|
|
45
|
+
* {
|
|
46
|
+
* mac: "02000400002",
|
|
47
|
+
* role: "core",
|
|
48
|
+
* },
|
|
49
|
+
* {
|
|
50
|
+
* mac: "02000400003",
|
|
51
|
+
* role: "distribution",
|
|
52
|
+
* },
|
|
53
|
+
* {
|
|
54
|
+
* mac: "02000400004",
|
|
55
|
+
* role: "distribution",
|
|
56
|
+
* },
|
|
57
|
+
* {
|
|
58
|
+
* mac: "02000400005",
|
|
59
|
+
* role: "access",
|
|
60
|
+
* },
|
|
61
|
+
* {
|
|
62
|
+
* mac: "02000400006",
|
|
63
|
+
* role: "access",
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
15
69
|
* ## Import
|
|
16
70
|
*
|
|
17
71
|
* Using `pulumi import`, import `mist_org_evpn_topology` with:
|
package/org/evpnTopology.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evpnTopology.js","sourceRoot":"","sources":["../../org/evpnTopology.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"evpnTopology.js","sourceRoot":"","sources":["../../org/evpnTopology.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACv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D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7EL,oCA8EC;AAhEG,gBAAgB;AACO,yBAAY,GAAG,2CAA2C,CAAC"}
|
package/org/gatewaytemplate.d.ts
CHANGED
|
@@ -6,6 +6,91 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* A Gateway template is used to define the static ip address and subnet mask of the hub device, along with the gateway. It also allows for the selection of options such as enabling source nat and overriding the public ip for the hub if needed. the endpoint selected in the gateway template ties the hub and spoke devices together and creates the auto-vpn tunnel.
|
|
8
8
|
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as junipermist from "@pulumi/juniper-mist";
|
|
14
|
+
*
|
|
15
|
+
* const gatewaytemplateOne = new junipermist.org.Gatewaytemplate("gatewaytemplate_one", {
|
|
16
|
+
* type: "spoke",
|
|
17
|
+
* name: "gatewaytemplate_one",
|
|
18
|
+
* orgId: terraformTest.id,
|
|
19
|
+
* portConfig: {
|
|
20
|
+
* "ge-0/0/3": {
|
|
21
|
+
* name: "FTTH",
|
|
22
|
+
* usage: "wan",
|
|
23
|
+
* aggregated: false,
|
|
24
|
+
* redundant: false,
|
|
25
|
+
* critical: false,
|
|
26
|
+
* wanType: "broadband",
|
|
27
|
+
* ipConfig: {
|
|
28
|
+
* type: "static",
|
|
29
|
+
* ip: "192.168.1.8",
|
|
30
|
+
* netmask: "/24",
|
|
31
|
+
* gateway: "192.168.1.1",
|
|
32
|
+
* },
|
|
33
|
+
* disableAutoneg: false,
|
|
34
|
+
* speed: "auto",
|
|
35
|
+
* duplex: "auto",
|
|
36
|
+
* wanSourceNat: {
|
|
37
|
+
* disabled: false,
|
|
38
|
+
* },
|
|
39
|
+
* vpnPaths: {
|
|
40
|
+
* "SSR_HUB_DC-MPLS.OrgOverlay": {
|
|
41
|
+
* key: 0,
|
|
42
|
+
* role: "spoke",
|
|
43
|
+
* bfdProfile: "broadband",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* "ge-0/0/5": {
|
|
48
|
+
* usage: "lan",
|
|
49
|
+
* critical: false,
|
|
50
|
+
* aggregated: true,
|
|
51
|
+
* aeDisableLacp: false,
|
|
52
|
+
* aeLacpForceUp: true,
|
|
53
|
+
* aeIdx: "0",
|
|
54
|
+
* redundant: false,
|
|
55
|
+
* networks: [
|
|
56
|
+
* "PRD-Core",
|
|
57
|
+
* "PRD-Mgmt",
|
|
58
|
+
* "PRD-Lab",
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* ipConfigs: {
|
|
63
|
+
* "PRD-Core": {
|
|
64
|
+
* type: "static",
|
|
65
|
+
* ip: "10.3.100.9",
|
|
66
|
+
* netmask: "/24",
|
|
67
|
+
* },
|
|
68
|
+
* "PRD-Mgmt": {
|
|
69
|
+
* type: "static",
|
|
70
|
+
* ip: "10.3.172.1",
|
|
71
|
+
* netmask: "/24",
|
|
72
|
+
* },
|
|
73
|
+
* "PRD-Lab": {
|
|
74
|
+
* type: "static",
|
|
75
|
+
* ip: "10.3.171.1",
|
|
76
|
+
* netmask: "/24",
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* servicePolicies: [{
|
|
80
|
+
* name: "Policy-14",
|
|
81
|
+
* tenants: ["PRD-Core"],
|
|
82
|
+
* services: ["any"],
|
|
83
|
+
* action: "allow",
|
|
84
|
+
* pathPreference: "HUB",
|
|
85
|
+
* idp: {
|
|
86
|
+
* enabled: true,
|
|
87
|
+
* profile: "critical",
|
|
88
|
+
* alertOnly: false,
|
|
89
|
+
* },
|
|
90
|
+
* }],
|
|
91
|
+
* });
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
9
94
|
* ## Import
|
|
10
95
|
*
|
|
11
96
|
* Using `pulumi import`, import `mist_org_gatewaytemplate` with:
|