@itentialopensource/adapter-openstack_neutron 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/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/AUTH.md +44 -0
- package/BROKER.md +199 -0
- package/CALLS.md +2000 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +37134 -0
- package/adapterBase.js +1788 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +242 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +49 -0
- package/entities/APIVersions/action.json +46 -0
- package/entities/APIVersions/schema.json +20 -0
- package/entities/AddressGroups/action.json +146 -0
- package/entities/AddressGroups/schema.json +69 -0
- package/entities/AddressScopes/action.json +106 -0
- package/entities/AddressScopes/schema.json +78 -0
- package/entities/Agents/action.json +86 -0
- package/entities/Agents/schema.json +88 -0
- package/entities/AutoAllocatedTopologies/action.json +45 -0
- package/entities/AutoAllocatedTopologies/schema.json +31 -0
- package/entities/AvailabilityZones/action.json +25 -0
- package/entities/AvailabilityZones/schema.json +19 -0
- package/entities/BGPPeer/action.json +106 -0
- package/entities/BGPPeer/schema.json +34 -0
- package/entities/BGPSpeaker/action.json +228 -0
- package/entities/BGPSpeaker/schema.json +40 -0
- package/entities/BGPVPNs/action.json +106 -0
- package/entities/BGPVPNs/schema.json +34 -0
- package/entities/DHCPAgentScheduler/action.json +86 -0
- package/entities/DHCPAgentScheduler/schema.json +44 -0
- package/entities/Extensions/action.json +46 -0
- package/entities/Extensions/schema.json +20 -0
- package/entities/FWaaSV20CURRENTFwaasFirewallGroupsFirewallPoliciesFirewallRules/action.json +350 -0
- package/entities/FWaaSV20CURRENTFwaasFirewallGroupsFirewallPoliciesFirewallRules/schema.json +68 -0
- package/entities/FirewallLogs/action.json +106 -0
- package/entities/FirewallLogs/schema.json +45 -0
- package/entities/FloatingIPPoolsFloatingipPools/action.json +25 -0
- package/entities/FloatingIPPoolsFloatingipPools/schema.json +19 -0
- package/entities/FloatingIPsFloatingips/action.json +106 -0
- package/entities/FloatingIPsFloatingips/schema.json +177 -0
- package/entities/FloatingIPsPortForwarding/action.json +106 -0
- package/entities/FloatingIPsPortForwarding/schema.json +100 -0
- package/entities/L3AgentScheduler/action.json +86 -0
- package/entities/L3AgentScheduler/schema.json +44 -0
- package/entities/LocalIPAssociationsPortAssociations/action.json +65 -0
- package/entities/LocalIPAssociationsPortAssociations/schema.json +76 -0
- package/entities/LocalIPsLocalIps/action.json +106 -0
- package/entities/LocalIPsLocalIps/schema.json +122 -0
- package/entities/LogResource/action.json +106 -0
- package/entities/LogResource/schema.json +122 -0
- package/entities/LoggableResource/action.json +25 -0
- package/entities/LoggableResource/schema.json +19 -0
- package/entities/LoggingResources/action.json +106 -0
- package/entities/LoggingResources/schema.json +34 -0
- package/entities/MeteringLabelsAndRulesMeteringLabelsMeteringLabelRules/action.json +168 -0
- package/entities/MeteringLabelsAndRulesMeteringLabelsMeteringLabelRules/schema.json +125 -0
- package/entities/NetworkAssociations/action.json +86 -0
- package/entities/NetworkAssociations/schema.json +44 -0
- package/entities/NetworkIPAvailabilityAndUsageStats/action.json +46 -0
- package/entities/NetworkIPAvailabilityAndUsageStats/schema.json +75 -0
- package/entities/NetworkSegmentRanges/action.json +106 -0
- package/entities/NetworkSegmentRanges/schema.json +133 -0
- package/entities/NetworkingFlavorsFrameworkV20CURRENTFlavorServiceProfile/action.json +248 -0
- package/entities/NetworkingFlavorsFrameworkV20CURRENTFlavorServiceProfile/schema.json +85 -0
- package/entities/Networks/action.json +106 -0
- package/entities/Networks/schema.json +199 -0
- package/entities/PortAssociations/action.json +106 -0
- package/entities/PortAssociations/schema.json +45 -0
- package/entities/Ports/action.json +106 -0
- package/entities/Ports/schema.json +221 -0
- package/entities/QoSBandwidthLimitRules/action.json +106 -0
- package/entities/QoSBandwidthLimitRules/schema.json +89 -0
- package/entities/QoSDSCPMarkingRules/action.json +106 -0
- package/entities/QoSDSCPMarkingRules/schema.json +78 -0
- package/entities/QoSMinimumBandwidthRules/action.json +106 -0
- package/entities/QoSMinimumBandwidthRules/schema.json +78 -0
- package/entities/QoSMinimumPacketRateRules/action.json +106 -0
- package/entities/QoSMinimumPacketRateRules/schema.json +78 -0
- package/entities/QoSPacketRateLimitRules/action.json +106 -0
- package/entities/QoSPacketRateLimitRules/schema.json +89 -0
- package/entities/QoSPoliciesQos/action.json +106 -0
- package/entities/QoSPoliciesQos/schema.json +133 -0
- package/entities/QoSRuleTypes/action.json +46 -0
- package/entities/QoSRuleTypes/schema.json +53 -0
- package/entities/QualityOfServiceMinimumPacketRateRuleAliasAPI/action.json +65 -0
- package/entities/QualityOfServiceMinimumPacketRateRuleAliasAPI/schema.json +32 -0
- package/entities/QualityOfServiceRulesAliasAPI/action.json +187 -0
- package/entities/QualityOfServiceRulesAliasAPI/schema.json +49 -0
- package/entities/QuotasDetailsExtensionQuotaDetails/action.json +25 -0
- package/entities/QuotasDetailsExtensionQuotaDetails/schema.json +30 -0
- package/entities/QuotasExtensionQuotas/action.json +107 -0
- package/entities/QuotasExtensionQuotas/schema.json +34 -0
- package/entities/RBACPolicies/action.json +106 -0
- package/entities/RBACPolicies/schema.json +111 -0
- package/entities/RouterAssociations/action.json +106 -0
- package/entities/RouterAssociations/schema.json +45 -0
- package/entities/RouterNDPProxyNdpProxies/action.json +106 -0
- package/entities/RouterNDPProxyNdpProxies/schema.json +122 -0
- package/entities/RoutersConntrackHelperCTTargetRules/action.json +106 -0
- package/entities/RoutersConntrackHelperCTTargetRules/schema.json +67 -0
- package/entities/RoutersRouters/action.json +186 -0
- package/entities/RoutersRouters/schema.json +137 -0
- package/entities/SecurityGroupRulesSecurityGroupRules/action.json +86 -0
- package/entities/SecurityGroupRulesSecurityGroupRules/schema.json +143 -0
- package/entities/SecurityGroupsSecurityGroups/action.json +106 -0
- package/entities/SecurityGroupsSecurityGroups/schema.json +122 -0
- package/entities/Segments/action.json +106 -0
- package/entities/Segments/schema.json +111 -0
- package/entities/ServiceProviders/action.json +25 -0
- package/entities/ServiceProviders/schema.json +19 -0
- package/entities/SubnetPoolPrefixOperationsSubnetpoolPrefixOps/action.json +44 -0
- package/entities/SubnetPoolPrefixOperationsSubnetpoolPrefixOps/schema.json +31 -0
- package/entities/SubnetPoolsExtensionSubnetpools/action.json +106 -0
- package/entities/SubnetPoolsExtensionSubnetpools/schema.json +199 -0
- package/entities/Subnets/action.json +106 -0
- package/entities/Subnets/schema.json +221 -0
- package/entities/TagExtensionTags/action.json +126 -0
- package/entities/TagExtensionTags/schema.json +46 -0
- package/entities/TapAsAService/action.json +208 -0
- package/entities/TapAsAService/schema.json +72 -0
- package/entities/TrunkNetworking/action.json +167 -0
- package/entities/TrunkNetworking/schema.json +147 -0
- package/entities/VPNaaS20VpnVpnservicesIkepoliciesIpsecpoliciesEndpointGroupsIpsecSiteConnections/action.json +514 -0
- package/entities/VPNaaS20VpnVpnservicesIkepoliciesIpsecpoliciesEndpointGroupsIpsecSiteConnections/schema.json +98 -0
- package/error.json +190 -0
- package/package.json +87 -0
- package/pronghorn.json +17931 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1284 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/creationReport.json +2575 -0
- package/report/neutron-openapi.json +14594 -0
- package/report/updateReport1662381141928.json +120 -0
- package/sampleProperties.json +198 -0
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +8868 -0
- package/test/unit/adapterBaseTestUnit.js +952 -0
- package/test/unit/adapterTestUnit.js +9550 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +184 -0
- package/utils/tbUtils.js +469 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +190 -0
- package/workflows/README.md +3 -0
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "listSubnets",
|
|
12
|
+
"enum": [
|
|
13
|
+
"listSubnets",
|
|
14
|
+
"createSubnet",
|
|
15
|
+
"showSubnetDetails",
|
|
16
|
+
"updateSubnet",
|
|
17
|
+
"deleteSubnet"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
},
|
|
21
|
+
"tenantId": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "Filter the list result by the ID of the project that owns the resource.",
|
|
24
|
+
"parse": false,
|
|
25
|
+
"encode": false,
|
|
26
|
+
"encrypt": {
|
|
27
|
+
"type": "AES",
|
|
28
|
+
"key": ""
|
|
29
|
+
},
|
|
30
|
+
"external_name": "tenant_id"
|
|
31
|
+
},
|
|
32
|
+
"projectId": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Filter the list result by the ID of the project that owns the resource.",
|
|
35
|
+
"parse": false,
|
|
36
|
+
"encode": false,
|
|
37
|
+
"encrypt": {
|
|
38
|
+
"type": "AES",
|
|
39
|
+
"key": ""
|
|
40
|
+
},
|
|
41
|
+
"external_name": "project_id"
|
|
42
|
+
},
|
|
43
|
+
"enableDhcp": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "Filter the subnet list result based on if DHCP is enabled or disabled\nfor the subnet.",
|
|
46
|
+
"parse": false,
|
|
47
|
+
"encode": false,
|
|
48
|
+
"encrypt": {
|
|
49
|
+
"type": "AES",
|
|
50
|
+
"key": ""
|
|
51
|
+
},
|
|
52
|
+
"external_name": "enable_dhcp"
|
|
53
|
+
},
|
|
54
|
+
"networkId": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Filter the subnet list result by the ID of the network to which\nthe subnet belongs.",
|
|
57
|
+
"parse": false,
|
|
58
|
+
"encode": false,
|
|
59
|
+
"encrypt": {
|
|
60
|
+
"type": "AES",
|
|
61
|
+
"key": ""
|
|
62
|
+
},
|
|
63
|
+
"external_name": "network_id"
|
|
64
|
+
},
|
|
65
|
+
"ipVersion": {
|
|
66
|
+
"type": "number",
|
|
67
|
+
"description": "Filter the subnet list result by the IP protocol version.\nValue is 4 or 6.",
|
|
68
|
+
"parse": false,
|
|
69
|
+
"encode": false,
|
|
70
|
+
"encrypt": {
|
|
71
|
+
"type": "AES",
|
|
72
|
+
"key": ""
|
|
73
|
+
},
|
|
74
|
+
"external_name": "ip_version"
|
|
75
|
+
},
|
|
76
|
+
"gatewayIp": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "Filter the subnet list result by the gateway IP of this subnet.",
|
|
79
|
+
"parse": false,
|
|
80
|
+
"encode": false,
|
|
81
|
+
"encrypt": {
|
|
82
|
+
"type": "AES",
|
|
83
|
+
"key": ""
|
|
84
|
+
},
|
|
85
|
+
"external_name": "gateway_ip"
|
|
86
|
+
},
|
|
87
|
+
"ipv6AddressMode": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Filter the subnet list result by the IPv6 address modes specifies\nmechanisms for assigning IP addresses.\nValue is slaac, dhcpv6-stateful, dhcpv6-stateless or null.",
|
|
90
|
+
"parse": false,
|
|
91
|
+
"encode": false,
|
|
92
|
+
"encrypt": {
|
|
93
|
+
"type": "AES",
|
|
94
|
+
"key": ""
|
|
95
|
+
},
|
|
96
|
+
"external_name": "ipv6_address_mode"
|
|
97
|
+
},
|
|
98
|
+
"ipv6RaMode": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "Filter the subnet list result by the IPv6 router advertisement specifies\nwhether the networking service should transmit ICMPv6 packets for a subnet.\nValue is slaac, dhcpv...(description truncated)",
|
|
101
|
+
"parse": false,
|
|
102
|
+
"encode": false,
|
|
103
|
+
"encrypt": {
|
|
104
|
+
"type": "AES",
|
|
105
|
+
"key": ""
|
|
106
|
+
},
|
|
107
|
+
"external_name": "ipv6_ra_mode"
|
|
108
|
+
},
|
|
109
|
+
"revisionNumber": {
|
|
110
|
+
"type": "number",
|
|
111
|
+
"description": "Filter the list result by the revision number of the resource.",
|
|
112
|
+
"parse": false,
|
|
113
|
+
"encode": false,
|
|
114
|
+
"encrypt": {
|
|
115
|
+
"type": "AES",
|
|
116
|
+
"key": ""
|
|
117
|
+
},
|
|
118
|
+
"external_name": "revision_number"
|
|
119
|
+
},
|
|
120
|
+
"segmentId": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"description": "Filter the subnet list result by the ID of a network segment the subnet\nis associated with.\nIt is available when segment extension is enabled.",
|
|
123
|
+
"parse": false,
|
|
124
|
+
"encode": false,
|
|
125
|
+
"encrypt": {
|
|
126
|
+
"type": "AES",
|
|
127
|
+
"key": ""
|
|
128
|
+
},
|
|
129
|
+
"external_name": "segment_id"
|
|
130
|
+
},
|
|
131
|
+
"sortDir": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"description": "Sort direction. A valid value is asc (ascending) or desc\n(descending). You can specify multiple pairs of sort key and\nsort direction query parameters.",
|
|
134
|
+
"parse": false,
|
|
135
|
+
"encode": false,
|
|
136
|
+
"encrypt": {
|
|
137
|
+
"type": "AES",
|
|
138
|
+
"key": ""
|
|
139
|
+
},
|
|
140
|
+
"external_name": "sort_dir"
|
|
141
|
+
},
|
|
142
|
+
"sortKey": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"description": "Sorts by a subnet attribute. You can specify multiple pairs of sort key\nand sort direction query parameters. The sort keys are limited to:",
|
|
145
|
+
"parse": false,
|
|
146
|
+
"encode": false,
|
|
147
|
+
"encrypt": {
|
|
148
|
+
"type": "AES",
|
|
149
|
+
"key": ""
|
|
150
|
+
},
|
|
151
|
+
"external_name": "sort_key"
|
|
152
|
+
},
|
|
153
|
+
"subnetpoolId": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"description": "Filter the subnet list result by the ID of the subnet pool associated\nwith the subnet.",
|
|
156
|
+
"parse": false,
|
|
157
|
+
"encode": false,
|
|
158
|
+
"encrypt": {
|
|
159
|
+
"type": "AES",
|
|
160
|
+
"key": ""
|
|
161
|
+
},
|
|
162
|
+
"external_name": "subnetpool_id"
|
|
163
|
+
},
|
|
164
|
+
"tagsAny": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"description": "A list of tags to filter the list result by.\nResources that match any tag in this list will be returned.\nTags in query must be separated by comma.",
|
|
167
|
+
"parse": false,
|
|
168
|
+
"encode": false,
|
|
169
|
+
"encrypt": {
|
|
170
|
+
"type": "AES",
|
|
171
|
+
"key": ""
|
|
172
|
+
},
|
|
173
|
+
"external_name": "tags-any"
|
|
174
|
+
},
|
|
175
|
+
"notTags": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "A list of tags to filter the list result by.\nResources that match all tags in this list will be excluded.\nTags in query must be separated by comma.",
|
|
178
|
+
"parse": false,
|
|
179
|
+
"encode": false,
|
|
180
|
+
"encrypt": {
|
|
181
|
+
"type": "AES",
|
|
182
|
+
"key": ""
|
|
183
|
+
},
|
|
184
|
+
"external_name": "not-tags"
|
|
185
|
+
},
|
|
186
|
+
"notTagsAny": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"description": "A list of tags to filter the list result by.\nResources that match any tag in this list will be excluded.\nTags in query must be separated by comma.",
|
|
189
|
+
"parse": false,
|
|
190
|
+
"encode": false,
|
|
191
|
+
"encrypt": {
|
|
192
|
+
"type": "AES",
|
|
193
|
+
"key": ""
|
|
194
|
+
},
|
|
195
|
+
"external_name": "not-tags-any"
|
|
196
|
+
},
|
|
197
|
+
"dnsPublishFixedIp": {
|
|
198
|
+
"type": "boolean",
|
|
199
|
+
"description": "Filter the subnet list result based on if dns_publish_fixed_ip is\nenabled or disabled for the subnet.",
|
|
200
|
+
"parse": false,
|
|
201
|
+
"encode": false,
|
|
202
|
+
"encrypt": {
|
|
203
|
+
"type": "AES",
|
|
204
|
+
"key": ""
|
|
205
|
+
},
|
|
206
|
+
"external_name": "dns_publish_fixed_ip"
|
|
207
|
+
},
|
|
208
|
+
"subnetId": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"description": "The ID of the subnet.",
|
|
211
|
+
"parse": false,
|
|
212
|
+
"encode": false,
|
|
213
|
+
"encrypt": {
|
|
214
|
+
"type": "AES",
|
|
215
|
+
"key": ""
|
|
216
|
+
},
|
|
217
|
+
"external_name": "subnet_id"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"definitions": {}
|
|
221
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "replaceAllTags",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "PUT",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v2.0/{pathv1}/{pathv2}/tags?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "removeAllTags",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "DELETE",
|
|
27
|
+
"entitypath": "{base_path}/{version}/v2.0/{pathv1}/{pathv2}/tags?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "JSON",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": ""
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "obtainTagList",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "GET",
|
|
47
|
+
"entitypath": "{base_path}/{version}/v2.0/{pathv1}/{pathv2}/tags?{query}",
|
|
48
|
+
"requestSchema": "schema.json",
|
|
49
|
+
"responseSchema": "schema.json",
|
|
50
|
+
"timeout": 0,
|
|
51
|
+
"sendEmpty": false,
|
|
52
|
+
"sendGetBody": false,
|
|
53
|
+
"requestDatatype": "JSON",
|
|
54
|
+
"responseDatatype": "JSON",
|
|
55
|
+
"headers": {},
|
|
56
|
+
"responseObjects": [
|
|
57
|
+
{
|
|
58
|
+
"type": "default",
|
|
59
|
+
"key": "",
|
|
60
|
+
"mockFile": ""
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "confirmATag",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "GET",
|
|
68
|
+
"entitypath": "{base_path}/{version}/v2.0/{pathv1}/{pathv2}/tags/{pathv3}?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"sendGetBody": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "addATag",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PUT",
|
|
89
|
+
"entitypath": "{base_path}/{version}/v2.0/{pathv1}/{pathv2}/tags/{pathv3}?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "removeATag",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "DELETE",
|
|
109
|
+
"entitypath": "{base_path}/{version}/v2.0/{pathv1}/{pathv2}/tags/{pathv3}?{query}",
|
|
110
|
+
"requestSchema": "schema.json",
|
|
111
|
+
"responseSchema": "schema.json",
|
|
112
|
+
"timeout": 0,
|
|
113
|
+
"sendEmpty": false,
|
|
114
|
+
"requestDatatype": "JSON",
|
|
115
|
+
"responseDatatype": "JSON",
|
|
116
|
+
"headers": {},
|
|
117
|
+
"responseObjects": [
|
|
118
|
+
{
|
|
119
|
+
"type": "default",
|
|
120
|
+
"key": "",
|
|
121
|
+
"mockFile": ""
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "replaceAllTags",
|
|
12
|
+
"enum": [
|
|
13
|
+
"replaceAllTags",
|
|
14
|
+
"removeAllTags",
|
|
15
|
+
"obtainTagList",
|
|
16
|
+
"confirmATag",
|
|
17
|
+
"addATag",
|
|
18
|
+
"removeATag"
|
|
19
|
+
],
|
|
20
|
+
"external_name": "ph_request_type"
|
|
21
|
+
},
|
|
22
|
+
"resourceType": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "The type of resource which the tag is set on.",
|
|
25
|
+
"parse": false,
|
|
26
|
+
"encode": false,
|
|
27
|
+
"encrypt": {
|
|
28
|
+
"type": "AES",
|
|
29
|
+
"key": ""
|
|
30
|
+
},
|
|
31
|
+
"external_name": "resource_type"
|
|
32
|
+
},
|
|
33
|
+
"resourceId": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "The ID of resource which the tag is set on.",
|
|
36
|
+
"parse": false,
|
|
37
|
+
"encode": false,
|
|
38
|
+
"encrypt": {
|
|
39
|
+
"type": "AES",
|
|
40
|
+
"key": ""
|
|
41
|
+
},
|
|
42
|
+
"external_name": "resource_id"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"definitions": {}
|
|
46
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "listTapServices",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_services?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": ""
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "createTapService",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_services?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "updateTapService",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "PUT",
|
|
48
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_services/{pathv1}?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"requestDatatype": "JSON",
|
|
54
|
+
"responseDatatype": "JSON",
|
|
55
|
+
"headers": {},
|
|
56
|
+
"responseObjects": [
|
|
57
|
+
{
|
|
58
|
+
"type": "default",
|
|
59
|
+
"key": "",
|
|
60
|
+
"mockFile": ""
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "deleteTapService",
|
|
66
|
+
"protocol": "REST",
|
|
67
|
+
"method": "DELETE",
|
|
68
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_services/{pathv1}?{query}",
|
|
69
|
+
"requestSchema": "schema.json",
|
|
70
|
+
"responseSchema": "schema.json",
|
|
71
|
+
"timeout": 0,
|
|
72
|
+
"sendEmpty": false,
|
|
73
|
+
"requestDatatype": "JSON",
|
|
74
|
+
"responseDatatype": "JSON",
|
|
75
|
+
"headers": {},
|
|
76
|
+
"responseObjects": [
|
|
77
|
+
{
|
|
78
|
+
"type": "default",
|
|
79
|
+
"key": "",
|
|
80
|
+
"mockFile": ""
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "showTapService",
|
|
86
|
+
"protocol": "REST",
|
|
87
|
+
"method": "GET",
|
|
88
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_services/{pathv1}?{query}",
|
|
89
|
+
"requestSchema": "schema.json",
|
|
90
|
+
"responseSchema": "schema.json",
|
|
91
|
+
"timeout": 0,
|
|
92
|
+
"sendEmpty": false,
|
|
93
|
+
"sendGetBody": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "listTapFlow",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_flows?{query}",
|
|
110
|
+
"requestSchema": "schema.json",
|
|
111
|
+
"responseSchema": "schema.json",
|
|
112
|
+
"timeout": 0,
|
|
113
|
+
"sendEmpty": false,
|
|
114
|
+
"sendGetBody": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "createTapFlow",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "POST",
|
|
130
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_flows?{query}",
|
|
131
|
+
"requestSchema": "schema.json",
|
|
132
|
+
"responseSchema": "schema.json",
|
|
133
|
+
"timeout": 0,
|
|
134
|
+
"sendEmpty": false,
|
|
135
|
+
"requestDatatype": "JSON",
|
|
136
|
+
"responseDatatype": "JSON",
|
|
137
|
+
"headers": {},
|
|
138
|
+
"responseObjects": [
|
|
139
|
+
{
|
|
140
|
+
"type": "default",
|
|
141
|
+
"key": "",
|
|
142
|
+
"mockFile": ""
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "updateTapFlow",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "PUT",
|
|
150
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_flows/{pathv1}?{query}",
|
|
151
|
+
"requestSchema": "schema.json",
|
|
152
|
+
"responseSchema": "schema.json",
|
|
153
|
+
"timeout": 0,
|
|
154
|
+
"sendEmpty": false,
|
|
155
|
+
"requestDatatype": "JSON",
|
|
156
|
+
"responseDatatype": "JSON",
|
|
157
|
+
"headers": {},
|
|
158
|
+
"responseObjects": [
|
|
159
|
+
{
|
|
160
|
+
"type": "default",
|
|
161
|
+
"key": "",
|
|
162
|
+
"mockFile": ""
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "deleteTapFlow",
|
|
168
|
+
"protocol": "REST",
|
|
169
|
+
"method": "DELETE",
|
|
170
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_flows/{pathv1}?{query}",
|
|
171
|
+
"requestSchema": "schema.json",
|
|
172
|
+
"responseSchema": "schema.json",
|
|
173
|
+
"timeout": 0,
|
|
174
|
+
"sendEmpty": false,
|
|
175
|
+
"requestDatatype": "JSON",
|
|
176
|
+
"responseDatatype": "JSON",
|
|
177
|
+
"headers": {},
|
|
178
|
+
"responseObjects": [
|
|
179
|
+
{
|
|
180
|
+
"type": "default",
|
|
181
|
+
"key": "",
|
|
182
|
+
"mockFile": ""
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "showTapFlow",
|
|
188
|
+
"protocol": "REST",
|
|
189
|
+
"method": "GET",
|
|
190
|
+
"entitypath": "{base_path}/{version}/v2.0/taas/tap_flows/{pathv1}?{query}",
|
|
191
|
+
"requestSchema": "schema.json",
|
|
192
|
+
"responseSchema": "schema.json",
|
|
193
|
+
"timeout": 0,
|
|
194
|
+
"sendEmpty": false,
|
|
195
|
+
"sendGetBody": false,
|
|
196
|
+
"requestDatatype": "JSON",
|
|
197
|
+
"responseDatatype": "JSON",
|
|
198
|
+
"headers": {},
|
|
199
|
+
"responseObjects": [
|
|
200
|
+
{
|
|
201
|
+
"type": "default",
|
|
202
|
+
"key": "",
|
|
203
|
+
"mockFile": ""
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "listTapServices",
|
|
12
|
+
"enum": [
|
|
13
|
+
"listTapServices",
|
|
14
|
+
"createTapService",
|
|
15
|
+
"updateTapService",
|
|
16
|
+
"deleteTapService",
|
|
17
|
+
"showTapService",
|
|
18
|
+
"listTapFlow",
|
|
19
|
+
"createTapFlow",
|
|
20
|
+
"updateTapFlow",
|
|
21
|
+
"deleteTapFlow",
|
|
22
|
+
"showTapFlow"
|
|
23
|
+
],
|
|
24
|
+
"external_name": "ph_request_type"
|
|
25
|
+
},
|
|
26
|
+
"projectDomain": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Domain the project belongs to (name or ID).\nThis can be used in case collisions between project names exist.",
|
|
29
|
+
"parse": false,
|
|
30
|
+
"encode": false,
|
|
31
|
+
"encrypt": {
|
|
32
|
+
"type": "AES",
|
|
33
|
+
"key": ""
|
|
34
|
+
},
|
|
35
|
+
"external_name": "project-domain"
|
|
36
|
+
},
|
|
37
|
+
"tenantId": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "Filter the list result by the ID of the project that owns the resource.",
|
|
40
|
+
"parse": false,
|
|
41
|
+
"encode": false,
|
|
42
|
+
"encrypt": {
|
|
43
|
+
"type": "AES",
|
|
44
|
+
"key": ""
|
|
45
|
+
},
|
|
46
|
+
"external_name": "tenant_id"
|
|
47
|
+
},
|
|
48
|
+
"tapService": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "Tap Service to which the Tap Flow belongs.",
|
|
51
|
+
"parse": false,
|
|
52
|
+
"encode": false,
|
|
53
|
+
"encrypt": {
|
|
54
|
+
"type": "AES",
|
|
55
|
+
"key": ""
|
|
56
|
+
},
|
|
57
|
+
"external_name": "tap_service"
|
|
58
|
+
},
|
|
59
|
+
"vlanFilter": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "VLAN Ids to be mirrored in the form of range string.",
|
|
62
|
+
"parse": false,
|
|
63
|
+
"encode": false,
|
|
64
|
+
"encrypt": {
|
|
65
|
+
"type": "AES",
|
|
66
|
+
"key": ""
|
|
67
|
+
},
|
|
68
|
+
"external_name": "vlan_filter"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"definitions": {}
|
|
72
|
+
}
|