@itentialopensource/adapter-openstack_neutron 0.1.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CALLS.md +305 -305
  2. package/CHANGELOG.md +8 -1
  3. package/adapterBase.js +23 -1
  4. package/entities/APIVersions/action.json +4 -2
  5. package/entities/AddressGroups/action.json +28 -7
  6. package/entities/AddressScopes/action.json +10 -5
  7. package/entities/Agents/action.json +8 -4
  8. package/entities/AutoAllocatedTopologies/action.json +4 -2
  9. package/entities/AvailabilityZones/action.json +2 -1
  10. package/entities/BGPPeer/action.json +10 -5
  11. package/entities/BGPSpeaker/action.json +22 -11
  12. package/entities/BGPVPNs/action.json +10 -5
  13. package/entities/DHCPAgentScheduler/action.json +8 -4
  14. package/entities/Extensions/action.json +4 -2
  15. package/entities/FWaaSV20CURRENTFwaasFirewallGroupsFirewallPoliciesFirewallRules/action.json +34 -17
  16. package/entities/FirewallLogs/action.json +10 -5
  17. package/entities/FloatingIPPoolsFloatingipPools/action.json +2 -1
  18. package/entities/FloatingIPsFloatingips/action.json +10 -5
  19. package/entities/FloatingIPsPortForwarding/action.json +10 -5
  20. package/entities/L3AgentScheduler/action.json +8 -4
  21. package/entities/LocalIPAssociationsPortAssociations/action.json +6 -3
  22. package/entities/LocalIPsLocalIps/action.json +10 -5
  23. package/entities/LogResource/action.json +10 -5
  24. package/entities/LoggableResource/action.json +2 -1
  25. package/entities/LoggingResources/action.json +10 -5
  26. package/entities/MeteringLabelsAndRulesMeteringLabelsMeteringLabelRules/action.json +16 -8
  27. package/entities/NetworkAssociations/action.json +8 -4
  28. package/entities/NetworkIPAvailabilityAndUsageStats/action.json +4 -2
  29. package/entities/NetworkSegmentRanges/action.json +10 -5
  30. package/entities/NetworkingFlavorsFrameworkV20CURRENTFlavorServiceProfile/action.json +24 -12
  31. package/entities/Networks/action.json +10 -5
  32. package/entities/PortAssociations/action.json +10 -5
  33. package/entities/Ports/action.json +10 -5
  34. package/entities/QoSBandwidthLimitRules/action.json +10 -5
  35. package/entities/QoSDSCPMarkingRules/action.json +10 -5
  36. package/entities/QoSMinimumBandwidthRules/action.json +10 -5
  37. package/entities/QoSMinimumPacketRateRules/action.json +10 -5
  38. package/entities/QoSPacketRateLimitRules/action.json +10 -5
  39. package/entities/QoSPoliciesQos/action.json +10 -5
  40. package/entities/QoSRuleTypes/action.json +4 -2
  41. package/entities/QualityOfServiceMinimumPacketRateRuleAliasAPI/action.json +6 -3
  42. package/entities/QualityOfServiceRulesAliasAPI/action.json +18 -9
  43. package/entities/QuotasDetailsExtensionQuotaDetails/action.json +2 -1
  44. package/entities/QuotasExtensionQuotas/action.json +10 -5
  45. package/entities/RBACPolicies/action.json +10 -5
  46. package/entities/RouterAssociations/action.json +10 -5
  47. package/entities/RouterNDPProxyNdpProxies/action.json +10 -5
  48. package/entities/RoutersConntrackHelperCTTargetRules/action.json +10 -5
  49. package/entities/RoutersRouters/action.json +18 -9
  50. package/entities/SecurityGroupRulesSecurityGroupRules/action.json +8 -4
  51. package/entities/SecurityGroupsSecurityGroups/action.json +10 -5
  52. package/entities/Segments/action.json +10 -5
  53. package/entities/ServiceProviders/action.json +2 -1
  54. package/entities/SubnetPoolPrefixOperationsSubnetpoolPrefixOps/action.json +4 -2
  55. package/entities/SubnetPoolsExtensionSubnetpools/action.json +10 -5
  56. package/entities/Subnets/action.json +10 -5
  57. package/entities/TagExtensionTags/action.json +12 -6
  58. package/entities/TapAsAService/action.json +20 -10
  59. package/entities/TrunkNetworking/action.json +16 -8
  60. package/entities/VPNaaS20VpnVpnservicesIkepoliciesIpsecpoliciesEndpointGroupsIpsecSiteConnections/action.json +50 -25
  61. package/package.json +2 -2
  62. package/refs?service=git-upload-pack +0 -0
  63. package/report/adapterInfo.json +4 -4
  64. package/sampleProperties.json +1 -0
  65. package/test/unit/adapterTestUnit.js +2 -0
package/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ## 1.0.0 [11-01-2022]
3
+
4
+ * Major/adapt 2415
5
+
6
+ See merge request itentialopensource/adapters/cloud/adapter-openstack_neutron!1
7
+
8
+ ---
9
+
2
10
  ## 0.1.1 [09-05-2022]
3
11
 
4
12
  * Bug fixes and performance improvements
@@ -6,4 +14,3 @@
6
14
  See commit 35ca066
7
15
 
8
16
  ---
9
-
package/adapterBase.js CHANGED
@@ -29,6 +29,7 @@ const troubleshootingAdapter = require(path.join(__dirname, 'utils/troubleshooti
29
29
  const tbUtils = require(path.join(__dirname, 'utils/tbUtils'));
30
30
 
31
31
  let propUtil = null;
32
+ let choosepath = null;
32
33
 
33
34
  /*
34
35
  * INTERNAL FUNCTION: force fail the adapter - generally done to cause restart
@@ -664,6 +665,9 @@ class AdapterBase extends EventEmitterCl {
664
665
  result.message = 'NO PATH PROVIDED!';
665
666
  return callback(null, result);
666
667
  }
668
+ if (typeof this.allProps.choosepath === 'string') {
669
+ choosepath = this.allProps.choosepath;
670
+ }
667
671
 
668
672
  // make sure the entities directory exists
669
673
  const entitydir = path.join(__dirname, 'entities');
@@ -689,7 +693,25 @@ class AdapterBase extends EventEmitterCl {
689
693
 
690
694
  // go through all of the actions set the appropriate info in the newActions
691
695
  for (let a = 0; a < actions.actions.length; a += 1) {
692
- if (actions.actions[a].entitypath.indexOf(apiPath) >= 0) {
696
+ if (actions.actions[a].entitypath && typeof actions.actions[a].entitypath === 'object') {
697
+ const entityKeys = Object.keys(actions.actions[a].entitypath);
698
+ if (entityKeys.length > 0) {
699
+ for (let entityKey = 0; entityKey < entityKeys.length; entityKey += 1) {
700
+ if (choosepath && entityKeys[entityKey] === choosepath && actions.actions[a].entitypath[entityKeys[entityKey]].indexOf(apiPath) >= 0) {
701
+ log.info(` Found - entity: ${entities[e]} action: ${actions.actions[a].name}`);
702
+ log.info(` method: ${actions.actions[a].method} path: ${actions.actions[a].entitypath[entityKeys[entityKey]]}`);
703
+ const fitem = {
704
+ entity: entities[e],
705
+ action: actions.actions[a].name,
706
+ method: actions.actions[a].method,
707
+ path: actions.actions[a].entitypath[entityKeys[entityKey]]
708
+ };
709
+ fitems.push(fitem);
710
+ break;
711
+ }
712
+ }
713
+ }
714
+ } else if (actions.actions[a].entitypath.indexOf(apiPath) >= 0) {
693
715
  log.info(` Found - entity: ${entities[e]} action: ${actions.actions[a].name}`);
694
716
  log.info(` method: ${actions.actions[a].method} path: ${actions.actions[a].entitypath}`);
695
717
  const fitem = {
@@ -4,7 +4,8 @@
4
4
  "name": "listAPIVersions",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -25,7 +26,8 @@
25
26
  "name": "showAPIV2Details",
26
27
  "protocol": "REST",
27
28
  "method": "GET",
28
- "entitypath": "{base_path}/{version}/v2.0/?{query}",
29
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
30
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
29
31
  "requestSchema": "schema.json",
30
32
  "responseSchema": "schema.json",
31
33
  "timeout": 0,
@@ -4,7 +4,10 @@
4
4
  "name": "showAddressGroup",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/address-groups/{pathv1}?{query}",
7
+ "entitypath": {
8
+ "v0": "{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
9
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}"
10
+ },
8
11
  "requestSchema": "schema.json",
9
12
  "responseSchema": "schema.json",
10
13
  "timeout": 0,
@@ -25,7 +28,10 @@
25
28
  "name": "createAddressGroup",
26
29
  "protocol": "REST",
27
30
  "method": "POST",
28
- "entitypath": "{base_path}/{version}/v2.0/address-groups/{pathv1}?{query}",
31
+ "entitypath": {
32
+ "v0": "{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
33
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}"
34
+ },
29
35
  "requestSchema": "schema.json",
30
36
  "responseSchema": "schema.json",
31
37
  "timeout": 0,
@@ -45,7 +51,10 @@
45
51
  "name": "updateAnAddressGroup",
46
52
  "protocol": "REST",
47
53
  "method": "PUT",
48
- "entitypath": "{base_path}/{version}/v2.0/address-groups/{pathv1}?{query}",
54
+ "entitypath": {
55
+ "v0": "{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
56
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}"
57
+ },
49
58
  "requestSchema": "schema.json",
50
59
  "responseSchema": "schema.json",
51
60
  "timeout": 0,
@@ -65,7 +74,10 @@
65
74
  "name": "deleteAnAddressGroup",
66
75
  "protocol": "REST",
67
76
  "method": "DELETE",
68
- "entitypath": "{base_path}/{version}/v2.0/address-groups/{pathv1}?{query}",
77
+ "entitypath": {
78
+ "v0": "{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
79
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}"
80
+ },
69
81
  "requestSchema": "schema.json",
70
82
  "responseSchema": "schema.json",
71
83
  "timeout": 0,
@@ -85,7 +97,10 @@
85
97
  "name": "listAddressGroups",
86
98
  "protocol": "REST",
87
99
  "method": "GET",
88
- "entitypath": "{base_path}/{version}/v2.0/address-groups?{query}",
100
+ "entitypath": {
101
+ "v0": "{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
102
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}"
103
+ },
89
104
  "requestSchema": "schema.json",
90
105
  "responseSchema": "schema.json",
91
106
  "timeout": 0,
@@ -106,7 +121,10 @@
106
121
  "name": "addIPAddressesToAddressGroup",
107
122
  "protocol": "REST",
108
123
  "method": "PUT",
109
- "entitypath": "{base_path}/{version}/v2.0/address-group/{pathv1}/add_addresses?{query}",
124
+ "entitypath": {
125
+ "v0": "{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
126
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}"
127
+ },
110
128
  "requestSchema": "schema.json",
111
129
  "responseSchema": "schema.json",
112
130
  "timeout": 0,
@@ -126,7 +144,10 @@
126
144
  "name": "removeIPAddressesToAddressGroup",
127
145
  "protocol": "REST",
128
146
  "method": "PUT",
129
- "entitypath": "{base_path}/{version}/v2.0/address-group/{pathv1}/remove_addresses?{query}",
147
+ "entitypath": {
148
+ "v0": "{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
149
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}"
150
+ },
130
151
  "requestSchema": "schema.json",
131
152
  "responseSchema": "schema.json",
132
153
  "timeout": 0,
@@ -4,7 +4,8 @@
4
4
  "name": "showAddressScope",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/address-scopes/{pathv1}?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -25,7 +26,8 @@
25
26
  "name": "updateAnAddressScope",
26
27
  "protocol": "REST",
27
28
  "method": "PUT",
28
- "entitypath": "{base_path}/{version}/v2.0/address-scopes/{pathv1}?{query}",
29
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
30
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
29
31
  "requestSchema": "schema.json",
30
32
  "responseSchema": "schema.json",
31
33
  "timeout": 0,
@@ -45,7 +47,8 @@
45
47
  "name": "deleteAnAddressScope",
46
48
  "protocol": "REST",
47
49
  "method": "DELETE",
48
- "entitypath": "{base_path}/{version}/v2.0/address-scopes/{pathv1}?{query}",
50
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
51
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
49
52
  "requestSchema": "schema.json",
50
53
  "responseSchema": "schema.json",
51
54
  "timeout": 0,
@@ -65,7 +68,8 @@
65
68
  "name": "listAddressScopes",
66
69
  "protocol": "REST",
67
70
  "method": "GET",
68
- "entitypath": "{base_path}/{version}/v2.0/address-scopes?{query}",
71
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
72
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
69
73
  "requestSchema": "schema.json",
70
74
  "responseSchema": "schema.json",
71
75
  "timeout": 0,
@@ -86,7 +90,8 @@
86
90
  "name": "createAddressScope",
87
91
  "protocol": "REST",
88
92
  "method": "POST",
89
- "entitypath": "{base_path}/{version}/v2.0/address-scopes?{query}",
93
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
94
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
90
95
  "requestSchema": "schema.json",
91
96
  "responseSchema": "schema.json",
92
97
  "timeout": 0,
@@ -4,7 +4,8 @@
4
4
  "name": "listAllAgents",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/agents?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -25,7 +26,8 @@
25
26
  "name": "showAgentDetails",
26
27
  "protocol": "REST",
27
28
  "method": "GET",
28
- "entitypath": "{base_path}/{version}/v2.0/agents/{pathv1}?{query}",
29
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
30
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
29
31
  "requestSchema": "schema.json",
30
32
  "responseSchema": "schema.json",
31
33
  "timeout": 0,
@@ -46,7 +48,8 @@
46
48
  "name": "updateAgent",
47
49
  "protocol": "REST",
48
50
  "method": "PUT",
49
- "entitypath": "{base_path}/{version}/v2.0/agents/{pathv1}?{query}",
51
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
52
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
50
53
  "requestSchema": "schema.json",
51
54
  "responseSchema": "schema.json",
52
55
  "timeout": 0,
@@ -66,7 +69,8 @@
66
69
  "name": "deleteAgent",
67
70
  "protocol": "REST",
68
71
  "method": "DELETE",
69
- "entitypath": "{base_path}/{version}/v2.0/agents/{pathv1}?{query}",
72
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
73
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
70
74
  "requestSchema": "schema.json",
71
75
  "responseSchema": "schema.json",
72
76
  "timeout": 0,
@@ -4,7 +4,8 @@
4
4
  "name": "showAutoAllocatedTopologyDetails",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/auto-allocated-topology/{pathv1}?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}"},
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -25,7 +26,8 @@
25
26
  "name": "deleteTheAutoAllocatedTopology",
26
27
  "protocol": "REST",
27
28
  "method": "DELETE",
28
- "entitypath": "{base_path}/{version}/v2.0/auto-allocated-topology/{pathv1}?{query}",
29
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
30
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
29
31
  "requestSchema": "schema.json",
30
32
  "responseSchema": "schema.json",
31
33
  "timeout": 0,
@@ -4,7 +4,8 @@
4
4
  "name": "listAllAvailabilityZones",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/availability_zones?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -4,7 +4,8 @@
4
4
  "name": "listBGPPeers",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/bgp-peers?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -25,7 +26,8 @@
25
26
  "name": "createABGPPeer",
26
27
  "protocol": "REST",
27
28
  "method": "POST",
28
- "entitypath": "{base_path}/{version}/v2.0/bgp-peers?{query}",
29
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
30
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
29
31
  "requestSchema": "schema.json",
30
32
  "responseSchema": "schema.json",
31
33
  "timeout": 0,
@@ -45,7 +47,8 @@
45
47
  "name": "showBGPPeerDetails",
46
48
  "protocol": "REST",
47
49
  "method": "GET",
48
- "entitypath": "{base_path}/{version}/v2.0/bgp-peers/{pathv1}?{query}",
50
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
51
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
49
52
  "requestSchema": "schema.json",
50
53
  "responseSchema": "schema.json",
51
54
  "timeout": 0,
@@ -66,7 +69,8 @@
66
69
  "name": "updateABGPPeer",
67
70
  "protocol": "REST",
68
71
  "method": "PUT",
69
- "entitypath": "{base_path}/{version}/v2.0/bgp-peers/{pathv1}?{query}",
72
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
73
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
70
74
  "requestSchema": "schema.json",
71
75
  "responseSchema": "schema.json",
72
76
  "timeout": 0,
@@ -86,7 +90,8 @@
86
90
  "name": "deleteABGPPeer",
87
91
  "protocol": "REST",
88
92
  "method": "DELETE",
89
- "entitypath": "{base_path}/{version}/v2.0/bgp-peers/{pathv1}?{query}",
93
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
94
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
90
95
  "requestSchema": "schema.json",
91
96
  "responseSchema": "schema.json",
92
97
  "timeout": 0,
@@ -4,7 +4,8 @@
4
4
  "name": "listBGPSpeakers",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -25,7 +26,8 @@
25
26
  "name": "createBGPSpeaker",
26
27
  "protocol": "REST",
27
28
  "method": "POST",
28
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers?{query}",
29
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
30
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
29
31
  "requestSchema": "schema.json",
30
32
  "responseSchema": "schema.json",
31
33
  "timeout": 0,
@@ -45,7 +47,8 @@
45
47
  "name": "showBGPSpeakerDetails",
46
48
  "protocol": "REST",
47
49
  "method": "GET",
48
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers/{pathv1}?{query}",
50
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
51
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
49
52
  "requestSchema": "schema.json",
50
53
  "responseSchema": "schema.json",
51
54
  "timeout": 0,
@@ -66,7 +69,8 @@
66
69
  "name": "updateABGPSpeaker",
67
70
  "protocol": "REST",
68
71
  "method": "PUT",
69
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers/{pathv1}?{query}",
72
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
73
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
70
74
  "requestSchema": "schema.json",
71
75
  "responseSchema": "schema.json",
72
76
  "timeout": 0,
@@ -86,7 +90,8 @@
86
90
  "name": "deleteABGPSpeaker",
87
91
  "protocol": "REST",
88
92
  "method": "DELETE",
89
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers/{pathv1}?{query}",
93
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
94
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
90
95
  "requestSchema": "schema.json",
91
96
  "responseSchema": "schema.json",
92
97
  "timeout": 0,
@@ -106,7 +111,8 @@
106
111
  "name": "addBGPPeerToABGPSpeaker",
107
112
  "protocol": "REST",
108
113
  "method": "PUT",
109
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers/{pathv1}/add-bgp-peer?{query}",
114
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
115
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
110
116
  "requestSchema": "schema.json",
111
117
  "responseSchema": "schema.json",
112
118
  "timeout": 0,
@@ -126,7 +132,8 @@
126
132
  "name": "removeBGPPeerFromABGPSpeaker",
127
133
  "protocol": "REST",
128
134
  "method": "PUT",
129
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers/{pathv1}/remove-bgp-peer?{query}",
135
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
136
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
130
137
  "requestSchema": "schema.json",
131
138
  "responseSchema": "schema.json",
132
139
  "timeout": 0,
@@ -146,7 +153,8 @@
146
153
  "name": "addNetworkToABGPSpeaker",
147
154
  "protocol": "REST",
148
155
  "method": "PUT",
149
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers/{pathv1}/add_gateway_network?{query}",
156
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
157
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
150
158
  "requestSchema": "schema.json",
151
159
  "responseSchema": "schema.json",
152
160
  "timeout": 0,
@@ -166,7 +174,8 @@
166
174
  "name": "deleteNetworkFromABGPSpeaker",
167
175
  "protocol": "REST",
168
176
  "method": "PUT",
169
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers/remove_gateway_network?{query}",
177
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
178
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
170
179
  "requestSchema": "schema.json",
171
180
  "responseSchema": "schema.json",
172
181
  "timeout": 0,
@@ -186,7 +195,8 @@
186
195
  "name": "listRoutesAdvertisedByABGPSpeaker",
187
196
  "protocol": "REST",
188
197
  "method": "GET",
189
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers/get_advertised_routes?{query}",
198
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
199
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
190
200
  "requestSchema": "schema.json",
191
201
  "responseSchema": "schema.json",
192
202
  "timeout": 0,
@@ -207,7 +217,8 @@
207
217
  "name": "listDynamicRoutingAgentsHostingASpecificBGPSpeaker",
208
218
  "protocol": "REST",
209
219
  "method": "GET",
210
- "entitypath": "{base_path}/{version}/v2.0/bgp-speakers/bgp-dragents?{query}",
220
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
221
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
211
222
  "requestSchema": "schema.json",
212
223
  "responseSchema": "schema.json",
213
224
  "timeout": 0,
@@ -4,7 +4,8 @@
4
4
  "name": "listBGPVPNs",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/bgpvpn/bgpvpns?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -25,7 +26,8 @@
25
26
  "name": "createBGPVPNS",
26
27
  "protocol": "REST",
27
28
  "method": "POST",
28
- "entitypath": "{base_path}/{version}/v2.0/bgpvpn/bgpvpns?{query}",
29
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
30
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
29
31
  "requestSchema": "schema.json",
30
32
  "responseSchema": "schema.json",
31
33
  "timeout": 0,
@@ -45,7 +47,8 @@
45
47
  "name": "showBGPVPNDetails",
46
48
  "protocol": "REST",
47
49
  "method": "GET",
48
- "entitypath": "{base_path}/{version}/v2.0/bgpvpn/bgpvpns/{pathv1}?{query}",
50
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
51
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
49
52
  "requestSchema": "schema.json",
50
53
  "responseSchema": "schema.json",
51
54
  "timeout": 0,
@@ -66,7 +69,8 @@
66
69
  "name": "updateABGPVPN",
67
70
  "protocol": "REST",
68
71
  "method": "PUT",
69
- "entitypath": "{base_path}/{version}/v2.0/bgpvpn/bgpvpns/{pathv1}?{query}",
72
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
73
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
70
74
  "requestSchema": "schema.json",
71
75
  "responseSchema": "schema.json",
72
76
  "timeout": 0,
@@ -86,7 +90,8 @@
86
90
  "name": "deleteBGPVPN",
87
91
  "protocol": "REST",
88
92
  "method": "DELETE",
89
- "entitypath": "{base_path}/{version}/v2.0/bgpvpn/bgpvpns/{pathv1}?{query}",
93
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
94
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
90
95
  "requestSchema": "schema.json",
91
96
  "responseSchema": "schema.json",
92
97
  "timeout": 0,
@@ -4,7 +4,8 @@
4
4
  "name": "listNetworksHostedByADHCPAgent",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/agents/{pathv1}/dhcp-networks?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -25,7 +26,8 @@
25
26
  "name": "scheduleANetworkToADHCPAgent",
26
27
  "protocol": "REST",
27
28
  "method": "POST",
28
- "entitypath": "{base_path}/{version}/v2.0/agents/{pathv1}/dhcp-networks?{query}",
29
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
30
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
29
31
  "requestSchema": "schema.json",
30
32
  "responseSchema": "schema.json",
31
33
  "timeout": 0,
@@ -45,7 +47,8 @@
45
47
  "name": "removeNetworkFromADHCPAgent",
46
48
  "protocol": "REST",
47
49
  "method": "DELETE",
48
- "entitypath": "{base_path}/{version}/v2.0/agents/{pathv1}/dhcp-networks/{pathv2}?{query}",
50
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
51
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
49
52
  "requestSchema": "schema.json",
50
53
  "responseSchema": "schema.json",
51
54
  "timeout": 0,
@@ -65,7 +68,8 @@
65
68
  "name": "listDHCPAgentsHostingANetwork",
66
69
  "protocol": "REST",
67
70
  "method": "GET",
68
- "entitypath": "{base_path}/{version}/v2.0/networks/{pathv1}/dhcp-agents?{query}",
71
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
72
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
69
73
  "requestSchema": "schema.json",
70
74
  "responseSchema": "schema.json",
71
75
  "timeout": 0,
@@ -4,7 +4,8 @@
4
4
  "name": "listExtensions",
5
5
  "protocol": "REST",
6
6
  "method": "GET",
7
- "entitypath": "{base_path}/{version}/v2.0/extensions?{query}",
7
+ "entitypath": {"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
8
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
8
9
  "requestSchema": "schema.json",
9
10
  "responseSchema": "schema.json",
10
11
  "timeout": 0,
@@ -25,7 +26,8 @@
25
26
  "name": "showExtensionDetails",
26
27
  "protocol": "REST",
27
28
  "method": "GET",
28
- "entitypath": "{base_path}/{version}/v2.0/extensions/{pathv1}?{query}",
29
+ "entitypath":{"v0":"{base_path}/{version}/v2.0/logging/logging_resources/{pathv1}/firewall_logs?{query}",
30
+ "v1": "{base_path}/{version}/logging/logging_resources/{pathv1}/firewall_logs?{query}" },
29
31
  "requestSchema": "schema.json",
30
32
  "responseSchema": "schema.json",
31
33
  "timeout": 0,