@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.
Files changed (175) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +44 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +2000 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +37134 -0
  18. package/adapterBase.js +1788 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +242 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +49 -0
  27. package/entities/APIVersions/action.json +46 -0
  28. package/entities/APIVersions/schema.json +20 -0
  29. package/entities/AddressGroups/action.json +146 -0
  30. package/entities/AddressGroups/schema.json +69 -0
  31. package/entities/AddressScopes/action.json +106 -0
  32. package/entities/AddressScopes/schema.json +78 -0
  33. package/entities/Agents/action.json +86 -0
  34. package/entities/Agents/schema.json +88 -0
  35. package/entities/AutoAllocatedTopologies/action.json +45 -0
  36. package/entities/AutoAllocatedTopologies/schema.json +31 -0
  37. package/entities/AvailabilityZones/action.json +25 -0
  38. package/entities/AvailabilityZones/schema.json +19 -0
  39. package/entities/BGPPeer/action.json +106 -0
  40. package/entities/BGPPeer/schema.json +34 -0
  41. package/entities/BGPSpeaker/action.json +228 -0
  42. package/entities/BGPSpeaker/schema.json +40 -0
  43. package/entities/BGPVPNs/action.json +106 -0
  44. package/entities/BGPVPNs/schema.json +34 -0
  45. package/entities/DHCPAgentScheduler/action.json +86 -0
  46. package/entities/DHCPAgentScheduler/schema.json +44 -0
  47. package/entities/Extensions/action.json +46 -0
  48. package/entities/Extensions/schema.json +20 -0
  49. package/entities/FWaaSV20CURRENTFwaasFirewallGroupsFirewallPoliciesFirewallRules/action.json +350 -0
  50. package/entities/FWaaSV20CURRENTFwaasFirewallGroupsFirewallPoliciesFirewallRules/schema.json +68 -0
  51. package/entities/FirewallLogs/action.json +106 -0
  52. package/entities/FirewallLogs/schema.json +45 -0
  53. package/entities/FloatingIPPoolsFloatingipPools/action.json +25 -0
  54. package/entities/FloatingIPPoolsFloatingipPools/schema.json +19 -0
  55. package/entities/FloatingIPsFloatingips/action.json +106 -0
  56. package/entities/FloatingIPsFloatingips/schema.json +177 -0
  57. package/entities/FloatingIPsPortForwarding/action.json +106 -0
  58. package/entities/FloatingIPsPortForwarding/schema.json +100 -0
  59. package/entities/L3AgentScheduler/action.json +86 -0
  60. package/entities/L3AgentScheduler/schema.json +44 -0
  61. package/entities/LocalIPAssociationsPortAssociations/action.json +65 -0
  62. package/entities/LocalIPAssociationsPortAssociations/schema.json +76 -0
  63. package/entities/LocalIPsLocalIps/action.json +106 -0
  64. package/entities/LocalIPsLocalIps/schema.json +122 -0
  65. package/entities/LogResource/action.json +106 -0
  66. package/entities/LogResource/schema.json +122 -0
  67. package/entities/LoggableResource/action.json +25 -0
  68. package/entities/LoggableResource/schema.json +19 -0
  69. package/entities/LoggingResources/action.json +106 -0
  70. package/entities/LoggingResources/schema.json +34 -0
  71. package/entities/MeteringLabelsAndRulesMeteringLabelsMeteringLabelRules/action.json +168 -0
  72. package/entities/MeteringLabelsAndRulesMeteringLabelsMeteringLabelRules/schema.json +125 -0
  73. package/entities/NetworkAssociations/action.json +86 -0
  74. package/entities/NetworkAssociations/schema.json +44 -0
  75. package/entities/NetworkIPAvailabilityAndUsageStats/action.json +46 -0
  76. package/entities/NetworkIPAvailabilityAndUsageStats/schema.json +75 -0
  77. package/entities/NetworkSegmentRanges/action.json +106 -0
  78. package/entities/NetworkSegmentRanges/schema.json +133 -0
  79. package/entities/NetworkingFlavorsFrameworkV20CURRENTFlavorServiceProfile/action.json +248 -0
  80. package/entities/NetworkingFlavorsFrameworkV20CURRENTFlavorServiceProfile/schema.json +85 -0
  81. package/entities/Networks/action.json +106 -0
  82. package/entities/Networks/schema.json +199 -0
  83. package/entities/PortAssociations/action.json +106 -0
  84. package/entities/PortAssociations/schema.json +45 -0
  85. package/entities/Ports/action.json +106 -0
  86. package/entities/Ports/schema.json +221 -0
  87. package/entities/QoSBandwidthLimitRules/action.json +106 -0
  88. package/entities/QoSBandwidthLimitRules/schema.json +89 -0
  89. package/entities/QoSDSCPMarkingRules/action.json +106 -0
  90. package/entities/QoSDSCPMarkingRules/schema.json +78 -0
  91. package/entities/QoSMinimumBandwidthRules/action.json +106 -0
  92. package/entities/QoSMinimumBandwidthRules/schema.json +78 -0
  93. package/entities/QoSMinimumPacketRateRules/action.json +106 -0
  94. package/entities/QoSMinimumPacketRateRules/schema.json +78 -0
  95. package/entities/QoSPacketRateLimitRules/action.json +106 -0
  96. package/entities/QoSPacketRateLimitRules/schema.json +89 -0
  97. package/entities/QoSPoliciesQos/action.json +106 -0
  98. package/entities/QoSPoliciesQos/schema.json +133 -0
  99. package/entities/QoSRuleTypes/action.json +46 -0
  100. package/entities/QoSRuleTypes/schema.json +53 -0
  101. package/entities/QualityOfServiceMinimumPacketRateRuleAliasAPI/action.json +65 -0
  102. package/entities/QualityOfServiceMinimumPacketRateRuleAliasAPI/schema.json +32 -0
  103. package/entities/QualityOfServiceRulesAliasAPI/action.json +187 -0
  104. package/entities/QualityOfServiceRulesAliasAPI/schema.json +49 -0
  105. package/entities/QuotasDetailsExtensionQuotaDetails/action.json +25 -0
  106. package/entities/QuotasDetailsExtensionQuotaDetails/schema.json +30 -0
  107. package/entities/QuotasExtensionQuotas/action.json +107 -0
  108. package/entities/QuotasExtensionQuotas/schema.json +34 -0
  109. package/entities/RBACPolicies/action.json +106 -0
  110. package/entities/RBACPolicies/schema.json +111 -0
  111. package/entities/RouterAssociations/action.json +106 -0
  112. package/entities/RouterAssociations/schema.json +45 -0
  113. package/entities/RouterNDPProxyNdpProxies/action.json +106 -0
  114. package/entities/RouterNDPProxyNdpProxies/schema.json +122 -0
  115. package/entities/RoutersConntrackHelperCTTargetRules/action.json +106 -0
  116. package/entities/RoutersConntrackHelperCTTargetRules/schema.json +67 -0
  117. package/entities/RoutersRouters/action.json +186 -0
  118. package/entities/RoutersRouters/schema.json +137 -0
  119. package/entities/SecurityGroupRulesSecurityGroupRules/action.json +86 -0
  120. package/entities/SecurityGroupRulesSecurityGroupRules/schema.json +143 -0
  121. package/entities/SecurityGroupsSecurityGroups/action.json +106 -0
  122. package/entities/SecurityGroupsSecurityGroups/schema.json +122 -0
  123. package/entities/Segments/action.json +106 -0
  124. package/entities/Segments/schema.json +111 -0
  125. package/entities/ServiceProviders/action.json +25 -0
  126. package/entities/ServiceProviders/schema.json +19 -0
  127. package/entities/SubnetPoolPrefixOperationsSubnetpoolPrefixOps/action.json +44 -0
  128. package/entities/SubnetPoolPrefixOperationsSubnetpoolPrefixOps/schema.json +31 -0
  129. package/entities/SubnetPoolsExtensionSubnetpools/action.json +106 -0
  130. package/entities/SubnetPoolsExtensionSubnetpools/schema.json +199 -0
  131. package/entities/Subnets/action.json +106 -0
  132. package/entities/Subnets/schema.json +221 -0
  133. package/entities/TagExtensionTags/action.json +126 -0
  134. package/entities/TagExtensionTags/schema.json +46 -0
  135. package/entities/TapAsAService/action.json +208 -0
  136. package/entities/TapAsAService/schema.json +72 -0
  137. package/entities/TrunkNetworking/action.json +167 -0
  138. package/entities/TrunkNetworking/schema.json +147 -0
  139. package/entities/VPNaaS20VpnVpnservicesIkepoliciesIpsecpoliciesEndpointGroupsIpsecSiteConnections/action.json +514 -0
  140. package/entities/VPNaaS20VpnVpnservicesIkepoliciesIpsecpoliciesEndpointGroupsIpsecSiteConnections/schema.json +98 -0
  141. package/error.json +190 -0
  142. package/package.json +87 -0
  143. package/pronghorn.json +17931 -0
  144. package/propertiesDecorators.json +14 -0
  145. package/propertiesSchema.json +1284 -0
  146. package/refs?service=git-upload-pack +0 -0
  147. package/report/adapterInfo.json +10 -0
  148. package/report/creationReport.json +2575 -0
  149. package/report/neutron-openapi.json +14594 -0
  150. package/report/updateReport1662381141928.json +120 -0
  151. package/sampleProperties.json +198 -0
  152. package/test/integration/adapterTestBasicGet.js +85 -0
  153. package/test/integration/adapterTestConnectivity.js +93 -0
  154. package/test/integration/adapterTestIntegration.js +8868 -0
  155. package/test/unit/adapterBaseTestUnit.js +952 -0
  156. package/test/unit/adapterTestUnit.js +9550 -0
  157. package/utils/adapterInfo.js +206 -0
  158. package/utils/addAuth.js +94 -0
  159. package/utils/artifactize.js +146 -0
  160. package/utils/basicGet.js +50 -0
  161. package/utils/checkMigrate.js +63 -0
  162. package/utils/entitiesToDB.js +179 -0
  163. package/utils/findPath.js +74 -0
  164. package/utils/methodDocumentor.js +225 -0
  165. package/utils/modify.js +154 -0
  166. package/utils/packModificationScript.js +35 -0
  167. package/utils/patches2bundledDeps.js +90 -0
  168. package/utils/pre-commit.sh +32 -0
  169. package/utils/removeHooks.js +20 -0
  170. package/utils/setup.js +33 -0
  171. package/utils/tbScript.js +184 -0
  172. package/utils/tbUtils.js +469 -0
  173. package/utils/testRunner.js +298 -0
  174. package/utils/troubleshootingAdapter.js +190 -0
  175. package/workflows/README.md +3 -0
@@ -0,0 +1,133 @@
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": "listQoSPolicies",
12
+ "enum": [
13
+ "listQoSPolicies",
14
+ "createQoSPolicy",
15
+ "showQoSPolicyDetails",
16
+ "updateQoSPolicy",
17
+ "deleteQoSPolicy"
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
+ "revisionNumber": {
44
+ "type": "number",
45
+ "description": "Filter the list result by the revision number of the resource.",
46
+ "parse": false,
47
+ "encode": false,
48
+ "encrypt": {
49
+ "type": "AES",
50
+ "key": ""
51
+ },
52
+ "external_name": "revision_number"
53
+ },
54
+ "isDefault": {
55
+ "type": "boolean",
56
+ "description": "Filter the QoS policy list result based on whether this policy is the\ndefault policy.",
57
+ "parse": false,
58
+ "encode": false,
59
+ "encrypt": {
60
+ "type": "AES",
61
+ "key": ""
62
+ },
63
+ "external_name": "is_default"
64
+ },
65
+ "tagsAny": {
66
+ "type": "string",
67
+ "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.",
68
+ "parse": false,
69
+ "encode": false,
70
+ "encrypt": {
71
+ "type": "AES",
72
+ "key": ""
73
+ },
74
+ "external_name": "tags-any"
75
+ },
76
+ "notTags": {
77
+ "type": "string",
78
+ "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.",
79
+ "parse": false,
80
+ "encode": false,
81
+ "encrypt": {
82
+ "type": "AES",
83
+ "key": ""
84
+ },
85
+ "external_name": "not-tags"
86
+ },
87
+ "notTagsAny": {
88
+ "type": "string",
89
+ "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.",
90
+ "parse": false,
91
+ "encode": false,
92
+ "encrypt": {
93
+ "type": "AES",
94
+ "key": ""
95
+ },
96
+ "external_name": "not-tags-any"
97
+ },
98
+ "sortDir": {
99
+ "type": "string",
100
+ "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.",
101
+ "parse": false,
102
+ "encode": false,
103
+ "encrypt": {
104
+ "type": "AES",
105
+ "key": ""
106
+ },
107
+ "external_name": "sort_dir"
108
+ },
109
+ "sortKey": {
110
+ "type": "string",
111
+ "description": "Sorts by a QOS policy attribute. You can specify multiple pairs of sort key\nand sort direction query parameters. The sort keys are limited to:",
112
+ "parse": false,
113
+ "encode": false,
114
+ "encrypt": {
115
+ "type": "AES",
116
+ "key": ""
117
+ },
118
+ "external_name": "sort_key"
119
+ },
120
+ "policyId": {
121
+ "type": "string",
122
+ "description": "The ID of the QoS policy.",
123
+ "parse": false,
124
+ "encode": false,
125
+ "encrypt": {
126
+ "type": "AES",
127
+ "key": ""
128
+ },
129
+ "external_name": "policy_id"
130
+ }
131
+ },
132
+ "definitions": {}
133
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listQoSRuleTypes",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v2.0/qos/rule-types?{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": "showQoSRuleTypeDetails",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/v2.0/qos/rule-types/{pathv1}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,53 @@
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": "listQoSRuleTypes",
12
+ "enum": [
13
+ "listQoSRuleTypes",
14
+ "showQoSRuleTypeDetails"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ },
18
+ "allSupported": {
19
+ "type": "boolean",
20
+ "description": "Set to true to return all QoS rule types supported by any loaded driver.",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "all_supported"
28
+ },
29
+ "allRules": {
30
+ "type": "boolean",
31
+ "description": "Set to true to return all QoS rule types implemented in the Neutron server.",
32
+ "parse": false,
33
+ "encode": false,
34
+ "encrypt": {
35
+ "type": "AES",
36
+ "key": ""
37
+ },
38
+ "external_name": "all_rules"
39
+ },
40
+ "ruleType": {
41
+ "type": "string",
42
+ "description": "The name of the QoS rule type. It should be one of the types\nreturned by the List QoS rule types API, for example\nbandwidth_limit or dscp_marking.",
43
+ "parse": false,
44
+ "encode": false,
45
+ "encrypt": {
46
+ "type": "AES",
47
+ "key": ""
48
+ },
49
+ "external_name": "rule_type"
50
+ }
51
+ },
52
+ "definitions": {}
53
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "showMinimumPacketRateRuleDetailsAlias",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_minimum_packet_rate_rules/{pathv1}?{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": "updateMinimumPacketRateRuleAlias",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_minimum_packet_rate_rules/{pathv1}?{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": "deleteMinimumPacketRateRuleAlias",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_minimum_packet_rate_rules/{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
+ }
@@ -0,0 +1,32 @@
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": "showMinimumPacketRateRuleDetailsAlias",
12
+ "enum": [
13
+ "showMinimumPacketRateRuleDetailsAlias",
14
+ "updateMinimumPacketRateRuleAlias",
15
+ "deleteMinimumPacketRateRuleAlias"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ },
19
+ "ruleId": {
20
+ "type": "string",
21
+ "description": "The ID of the QoS rule.",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "rule_id"
29
+ }
30
+ },
31
+ "definitions": {}
32
+ }
@@ -0,0 +1,187 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "showBandwidthLimitRuleDetailsAlias",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_bandwidth_limit_rules/{pathv1}?{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": "updateBandwidthLimitRuleAlias",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_bandwidth_limit_rules/{pathv1}?{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": "deleteBandwidthLimitRuleAlias",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_bandwidth_limit_rules/{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": "showDSCPMarkingRuleDetailsAlias",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_dscp_marking_rules/{pathv1}?{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": "updateDSCPMarkingRuleAlias",
87
+ "protocol": "REST",
88
+ "method": "PUT",
89
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_dscp_marking_rules/{pathv1}?{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": "deleteDSCPMarkingRuleAlias",
107
+ "protocol": "REST",
108
+ "method": "DELETE",
109
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_dscp_marking_rules/{pathv1}?{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
+ "name": "showMinimumBandwidthRuleDetailsAlias",
127
+ "protocol": "REST",
128
+ "method": "GET",
129
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_minimum_bandwidth_rules/{pathv1}?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "sendGetBody": 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": "updateMinimumBandwidthRuleAlias",
148
+ "protocol": "REST",
149
+ "method": "PUT",
150
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_minimum_bandwidth_rules/{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": "deleteMinimumBandwidthRuleAlias",
168
+ "protocol": "REST",
169
+ "method": "DELETE",
170
+ "entitypath": "{base_path}/{version}/v2.0/qos/alias_minimum_bandwidth_rules/{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
+ }
@@ -0,0 +1,49 @@
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": "showBandwidthLimitRuleDetailsAlias",
12
+ "enum": [
13
+ "showBandwidthLimitRuleDetailsAlias",
14
+ "updateBandwidthLimitRuleAlias",
15
+ "deleteBandwidthLimitRuleAlias",
16
+ "showDSCPMarkingRuleDetailsAlias",
17
+ "updateDSCPMarkingRuleAlias",
18
+ "deleteDSCPMarkingRuleAlias",
19
+ "showMinimumBandwidthRuleDetailsAlias",
20
+ "updateMinimumBandwidthRuleAlias",
21
+ "deleteMinimumBandwidthRuleAlias"
22
+ ],
23
+ "external_name": "ph_request_type"
24
+ },
25
+ "ruleId": {
26
+ "type": "string",
27
+ "description": "The ID of the QoS rule.",
28
+ "parse": false,
29
+ "encode": false,
30
+ "encrypt": {
31
+ "type": "AES",
32
+ "key": ""
33
+ },
34
+ "external_name": "rule_id"
35
+ },
36
+ "dscpRuleId": {
37
+ "type": "string",
38
+ "description": "The ID of the DSCP rule.",
39
+ "parse": false,
40
+ "encode": false,
41
+ "encrypt": {
42
+ "type": "AES",
43
+ "key": ""
44
+ },
45
+ "external_name": "dscp_rule_id"
46
+ }
47
+ },
48
+ "definitions": {}
49
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "showQuotaDetailsForATenant",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/v2.0/quotas/{pathv1}/details.json?{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
+ }
@@ -0,0 +1,30 @@
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": "showQuotaDetailsForATenant",
12
+ "enum": [
13
+ "showQuotaDetailsForATenant"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ },
17
+ "projectId": {
18
+ "type": "string",
19
+ "description": "The ID of the project.",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "project_id"
27
+ }
28
+ },
29
+ "definitions": {}
30
+ }