@itentialopensource/adapter-openstack_neutron 3.2.6 → 3.3.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 (45) hide show
  1. package/.eslintrc.js +1 -0
  2. package/AUTH.md +4 -4
  3. package/BROKER.md +4 -4
  4. package/CALLS.md +9 -9
  5. package/ENHANCE.md +3 -3
  6. package/PROPERTIES.md +24 -9
  7. package/README.md +24 -23
  8. package/SUMMARY.md +2 -2
  9. package/SYSTEMINFO.md +1 -1
  10. package/TAB1.md +2 -2
  11. package/TAB2.md +9 -5
  12. package/TROUBLESHOOT.md +10 -1
  13. package/UTILITIES.md +473 -0
  14. package/adapter.js +5 -5
  15. package/adapterBase.js +52 -16
  16. package/package.json +24 -28
  17. package/pronghorn.json +15 -13
  18. package/propertiesSchema.json +68 -7
  19. package/report/adapterInfo.json +7 -7
  20. package/report/auto-adapter-openapi.json +134 -0
  21. package/report/updateReport1748554882710.json +120 -0
  22. package/sampleProperties.json +4 -0
  23. package/test/integration/adapterTestBasicGet.js +88 -54
  24. package/test/integration/adapterTestConnectivity.js +15 -16
  25. package/test/integration/adapterTestIntegration.js +1 -38
  26. package/test/unit/adapterBaseTestUnit.js +641 -39
  27. package/test/unit/adapterTestUnit.js +17 -54
  28. package/utils/adapterInfo.js +114 -164
  29. package/utils/argParser.js +44 -0
  30. package/utils/checkMigrate.js +77 -38
  31. package/utils/entitiesToDB.js +53 -42
  32. package/utils/logger.js +26 -0
  33. package/utils/modify.js +56 -55
  34. package/utils/mongoDbConnection.js +79 -0
  35. package/utils/mongoUtils.js +162 -0
  36. package/utils/taskMover.js +31 -32
  37. package/utils/tbScript.js +36 -172
  38. package/utils/tbUtils.js +84 -226
  39. package/utils/troubleshootingAdapter.js +68 -84
  40. package/utils/updateAdapterConfig.js +158 -0
  41. package/utils/addAuth.js +0 -94
  42. package/utils/artifactize.js +0 -146
  43. package/utils/basicGet.js +0 -50
  44. package/utils/packModificationScript.js +0 -35
  45. package/utils/patches2bundledDeps.js +0 -90
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-openstack_neutron",
3
- "version": "3.2.6",
3
+ "version": "3.3.1",
4
4
  "description": "This adapter integrates with system described as: Openstack Networking (Neutron) Service",
5
5
  "main": "adapter.js",
6
6
  "systemName": "OpenStack Neutron",
7
7
  "wizardVersion": "2.44.7",
8
- "engineVersion": "1.68.2",
8
+ "engineVersion": "1.69.14",
9
9
  "adapterType": "http",
10
10
  "scripts": {
11
- "artifactize": "npm i && node utils/packModificationScript.js",
12
11
  "preinstall": "node utils/setup.js",
13
12
  "deinstall": "node utils/removeHooks.js",
14
13
  "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
@@ -17,7 +16,6 @@
17
16
  "test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
18
17
  "test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
19
18
  "test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
20
- "adapter:install": "npm i && node utils/tbScript.js install",
21
19
  "adapter:checkMigrate": "node utils/checkMigrate.js",
22
20
  "adapter:findPath": "node utils/findPath.js",
23
21
  "adapter:migrate": "node utils/modify.js -m",
@@ -32,10 +30,9 @@
32
30
  },
33
31
  "keywords": [
34
32
  "Itential",
35
- "IAP",
33
+ "Itential Platform",
36
34
  "Automation",
37
35
  "Integration",
38
- "App-Artifacts",
39
36
  "Adapter",
40
37
  "Cloud",
41
38
  "Openstack",
@@ -54,30 +51,29 @@
54
51
  "author": "Itential",
55
52
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-openstack_neutron#readme",
56
53
  "dependencies": {
57
- "@itentialopensource/adapter-utils": "^5.10.1",
58
- "acorn": "^8.14.0",
59
- "ajv": "^8.17.1",
60
- "axios": "^1.8.2",
61
- "commander": "^11.0.0",
62
- "dns-lookup-promise": "^1.0.4",
63
- "fs-extra": "^11.2.0",
64
- "json-query": "^2.2.2",
65
- "mocha": "^10.8.2",
66
- "mocha-param": "^2.0.1",
67
- "mongodb": "^4.17.2",
68
- "ping": "^0.4.4",
69
- "prompts": "^2.4.2",
70
- "readline-sync": "^1.4.10",
71
- "semver": "^7.6.3",
72
- "winston": "^3.17.0"
54
+ "@itentialopensource/adapter-utils": "5.10.19",
55
+ "acorn": "8.14.1",
56
+ "ajv": "8.17.1",
57
+ "axios": "1.9.0",
58
+ "commander": "11.1.0",
59
+ "fs-extra": "11.3.0",
60
+ "json-query": "2.2.2",
61
+ "mocha": "10.8.2",
62
+ "mocha-param": "2.0.1",
63
+ "mongodb": "4.17.2",
64
+ "ping": "0.4.4",
65
+ "prompts": "2.4.2",
66
+ "readline-sync": "1.4.10",
67
+ "semver": "7.7.2",
68
+ "winston": "3.17.0"
73
69
  },
74
70
  "devDependencies": {
75
- "chai": "^4.3.7",
76
- "eslint": "^8.44.0",
77
- "eslint-config-airbnb-base": "^15.0.0",
78
- "eslint-plugin-import": "^2.27.5",
79
- "eslint-plugin-json": "^3.1.0",
80
- "testdouble": "^3.18.0"
71
+ "chai": "4.5.0",
72
+ "eslint": "8.57.0",
73
+ "eslint-config-airbnb-base": "15.0.0",
74
+ "eslint-plugin-import": "2.31.0",
75
+ "eslint-plugin-json": "3.1.0",
76
+ "testdouble": "3.18.0"
81
77
  },
82
78
  "private": false
83
79
  }
package/pronghorn.json CHANGED
@@ -226,16 +226,6 @@
226
226
  "title": "props",
227
227
  "type": "object"
228
228
  }
229
- },
230
- {
231
- "name": "persistFlag",
232
- "type": "boolean",
233
- "info": "Whether the input properties should be saved",
234
- "required": true,
235
- "schema": {
236
- "title": "persistFlag",
237
- "type": "boolean"
238
- }
239
229
  }
240
230
  ],
241
231
  "output": {
@@ -306,7 +296,19 @@
306
296
  "name": "iapRunAdapterBasicGet",
307
297
  "summary": "Runs basicGet script for adapter",
308
298
  "description": "Runs basicGet script for adapter",
309
- "input": [],
299
+ "input": [
300
+ {
301
+ "name": "maxCalls",
302
+ "required": false,
303
+ "type": "number",
304
+ "info": "How many GET endpoints to test (defaults to 5)",
305
+ "schema": {
306
+ "title": "maxCalls",
307
+ "type": "number",
308
+ "default": 5
309
+ }
310
+ }
311
+ ],
310
312
  "output": {
311
313
  "name": "result",
312
314
  "type": "object",
@@ -327,8 +329,8 @@
327
329
  },
328
330
  {
329
331
  "name": "iapMoveAdapterEntitiesToDB",
330
- "summary": "Moves entities from an adapter into the IAP database",
331
- "description": "Moves entities from an adapter into the IAP database",
332
+ "summary": "Moves entities from an adapter into the Itential Platform database",
333
+ "description": "Moves entities from an adapter into the Itential Platform database",
332
334
  "input": [],
333
335
  "output": {
334
336
  "name": "res",
@@ -784,6 +784,14 @@
784
784
  "security/ca.pem"
785
785
  ]
786
786
  },
787
+ "ca_file_content": {
788
+ "type": "string",
789
+ "description": "The content of the CA file used for SSL",
790
+ "default": "",
791
+ "examples": [
792
+ "-----BEGIN CERTIFICATE-----"
793
+ ]
794
+ },
787
795
  "key_file": {
788
796
  "type": "string",
789
797
  "description": "The fully qualified path name to the key file used for SSL",
@@ -873,32 +881,48 @@
873
881
  "mongo": {
874
882
  "type": "object",
875
883
  "properties": {
884
+ "url": {
885
+ "type": "string",
886
+ "description": "Mongo's complete connection URL. This property overrides host, port, database, username, password and replSet settings.",
887
+ "examples": [
888
+ "mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]",
889
+ "mongodb+srv://[username:password@]cluster0.xxxxx.mongodb.net/[defaultauthdb][?options]",
890
+ "mongodb+srv://cluster0.xxxxx.mongodb.net/[defaultauthdb][?options]"
891
+ ]
892
+ },
876
893
  "host": {
877
894
  "type": "string",
878
- "description": "host where mongo database can be found",
895
+ "description": "Host information for the Mongo server",
879
896
  "default": "",
880
897
  "examples": [
881
- "localhost"
898
+ "localhost",
899
+ "cluster0.xxxxx.mongodb.net",
900
+ "my-cluster.example.com"
882
901
  ]
883
902
  },
884
903
  "port": {
885
904
  "type": "integer",
886
- "description": "port on which to connect to the mongo database",
905
+ "description": "Port information for the Mongo server. Not used when using mongodb+srv:// protocol",
887
906
  "default": 443,
888
907
  "minimum": 0,
889
908
  "maximum": 65535
890
909
  },
891
910
  "database": {
892
911
  "type": "string",
893
- "description": "The name of the database to store adapter information in",
912
+ "description": "The database for the adapter to use for its data.",
894
913
  "default": "",
895
914
  "examples": [
896
915
  "adapter-xyz"
897
916
  ]
898
917
  },
918
+ "dbAuth": {
919
+ "type": "boolean",
920
+ "description": "Whether to use authentication for MongoDB connection. Default is false.",
921
+ "default": false
922
+ },
899
923
  "username": {
900
924
  "type": "string",
901
- "description": "The user to connect to the database with",
925
+ "description": "If credentials are required to access Mongo, this is the user to login as.",
902
926
  "default": "",
903
927
  "examples": [
904
928
  "username"
@@ -906,7 +930,7 @@
906
930
  },
907
931
  "password": {
908
932
  "type": "string",
909
- "description": "The password to connect to the database with",
933
+ "description": "If credentials are required to access Mongo, this is the password to login with.",
910
934
  "default": "",
911
935
  "examples": [
912
936
  "password"
@@ -914,12 +938,17 @@
914
938
  },
915
939
  "replSet": {
916
940
  "type": "string",
917
- "description": "The replica set for the database",
941
+ "description": "If the database is set up to use replica sets, define it here so it can be added to the database connection. Not used when using mongodb+srv:// protocol",
918
942
  "default": "",
919
943
  "examples": [
920
944
  "my_repolica_set"
921
945
  ]
922
946
  },
947
+ "addSrv": {
948
+ "type": "boolean",
949
+ "description": "Whether the connection requires the mongodb+srv:// protocol. If true, uses mongodb+srv:// protocol. Note: mongodb+srv:// can also be used for non-Atlas deployments that support DNS SRV records",
950
+ "default": false
951
+ },
923
952
  "db_ssl": {
924
953
  "type": "object",
925
954
  "description": "SSL for mongo database connection",
@@ -960,6 +989,38 @@
960
989
  }
961
990
  }
962
991
  }
992
+ },
993
+ "dependencies": {
994
+ "dbAuth": {
995
+ "oneOf": [
996
+ {
997
+ "properties": {
998
+ "dbAuth": {
999
+ "const": false
1000
+ }
1001
+ }
1002
+ },
1003
+ {
1004
+ "properties": {
1005
+ "dbAuth": {
1006
+ "const": true
1007
+ },
1008
+ "username": {
1009
+ "type": "string",
1010
+ "minLength": 1
1011
+ },
1012
+ "password": {
1013
+ "type": "string",
1014
+ "minLength": 1
1015
+ }
1016
+ },
1017
+ "required": [
1018
+ "username",
1019
+ "password"
1020
+ ]
1021
+ }
1022
+ ]
1023
+ }
963
1024
  }
964
1025
  },
965
1026
  "devicebroker": {
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "3.2.2",
3
- "configLines": 20139,
4
- "scriptLines": 1783,
5
- "codeLines": 38389,
6
- "testLines": 19974,
7
- "testCases": 1025,
8
- "totalCodeLines": 60146,
2
+ "version": "3.2.6",
3
+ "configLines": 32645,
4
+ "scriptLines": 2498,
5
+ "codeLines": 38425,
6
+ "testLines": 20535,
7
+ "testCases": 1038,
8
+ "totalCodeLines": 61458,
9
9
  "wfTasks": 330
10
10
  }
@@ -0,0 +1,134 @@
1
+ {
2
+ "openapi": "3.1.0",
3
+ "info": {
4
+ "title": "",
5
+ "version": "1.0.0"
6
+ },
7
+ "paths": {
8
+ "[object Object]": {
9
+ "get": {
10
+ "tags": [
11
+ "APIVersions"
12
+ ],
13
+ "operationId": "listAPIVersions",
14
+ "description": "The parameters and request body are for method: listAPIVersions. Same endpoint also used in methods:<br> showAPIV2Details )<br> listExtensions )<br> showExtensionDetails (alias : string)<br> showNetworkDetails (fields : string,networkId : string)<br> listNetworks (adminStateUp : boolean,id : string,mtu : number,name : string,projectId : string,providerNetworkType : string,providerPhysicalNetwork : string,providerSegmentationId : number,revisionNumber : number,routerExternal : boolean,shared : boolean,status : string,tenantId : string,vlanTransparent : boolean,description : string,isDefault : boolean,tags : string,tagsAny : string,notTags : string,notTagsAny : string,sortDir : string,sortKey : string,fields : string)<br> showNetworkSegmentRangeDetails (networkSegmentRangeId : string)<br> listNetworkSegmentRanges (id : string,name : string,tenantId : string,projectId : string,networkType : string,physicalNetwork : string,sortDir : string,sortKey : string,tags : string,tagsAny : string,notTags : string,notTagsAny : string,fields : string)<br> showPortDetails (fields : string,portId : string)<br> listPorts (adminStateUp : boolean,bindingHostId : string,description : string,deviceId : string,deviceOwner : string,fixedIps : string,id : string,ipAllocation : string,macAddress : string,name : string,networkId : string,projectId : string,revisionNumber : number,sortDir : string,sortKey : string,status : string,tenantId : string,tags : string,tagsAny : string,notTags : string,notTagsAny : string,fields : string,macLearningEnabled : boolean)<br> showSegmentDetails (segmentId : string)<br> listSegments (id : string,networkId : string,physicalNetwork : string,networkType : string,revisionNumber : number,segmentationId : number,name : string,description : string,sortDir : string,sortKey : string,fields : string)<br> listTrunks (adminStateUp : boolean,description : string,id : string,name : string,portId : string,revisionNumber : number,status : string,tenantId : string,projectId : string,sortDir : string,sortKey : string,tags : string,tagsAny : string,notTags : string,notTagsAny : string)<br> listSubportsForTrunk (trunkId : string)<br> showTrunk (trunkId : string)<br> showAddressScope (fields : string,addressScopeId : string)<br> listAddressScopes (id : string,name : string,tenantId : string,projectId : string,ipVersion : number,shared : boolean,sortKey : string,fields : string)<br> showConntrackHelper (fields : string,routerId : string,conntrackHelperId : string)<br> listRouterConntrackHelpers (id : string,helper : string,protocol : string,port : number,sortKey : string,sortDir : string,fields : string,routerId : string)<br> listFloatingIPs (id : string,routerId : string,status : string,tenantId : string,projectId : string,revisionNumber : number,description : string,floatingNetworkId : string,fixedIpAddress : string,floatingIpAddress : string,portId : string,sortDir : string,sortKey : string,tags : string,tagsAny : string,notTags : string,notTagsAny : string,fields : string)<br> showFloatingIPDetails (floatingipId : string)<br> listFloatingIPPools )<br> showPortForwarding (fields : string,floatingipId : string,portForwardingId : string)<br> listFloatingIPPortForwardings (id : string,internalPortId : string,externalPort : number,externalPortRange : string,protocol : string,sortKey : string,sortDir : string,fields : string,floatingipId : string)<br> listRouters (id : string,tenantId : string,projectId : string,name : string,description : string,adminStateUp : boolean,revisionNumber : number,sortDir : string,sortKey : string,tags : string,tagsAny : string,notTags : string,notTagsAny : string,fields : string)<br> showRouterDetails (fields : string,routerId : string)<br> listNdpProxies (id : string,tenantId : string,projectId : string,name : string,description : string,routerId : string,portId : string,ipAddress : string,revisionNumber : number,sortDir : string,sortKey : string,fields : string)<br> showNdpProxyDetails (fields : string,ndpProxyId : string)<br> showSubnetPool (fields : string,subnetpoolId : string)<br> listSubnetPools (id : string,name : string,defaultQuota : number,tenantId : string,projectId : string,minPrefixlen : number,addressScopeId : string,ipVersion : number,shared : boolean,defaultPrefixlen : number,maxPrefixlen : number,description : string,isDefault : boolean,revisionNumber : number,sortDir : string,sortKey : string,tags : string,tagsAny : string,notTags : string,notTagsAny : string,fields : string)<br> listSubnets (id : string,tenantId : string,projectId : string,name : string,enableDhcp : boolean,networkId : string,ipVersion : number,gatewayIp : string,cidr : string,description : string,ipv6AddressMode : string,ipv6RaMode : string,revisionNumber : number,segmentId : string,shared : boolean,sortDir : string,sortKey : string,subnetpoolId : string,tags : string,tagsAny : string,notTags : string,notTagsAny : string,dnsPublishFixedIp : boolean,fields : string)<br> showSubnetDetails (subnetId : string)<br> listLocalIPs (id : string,name : string,description : string,projectId : string,localPortId : string,networkId : string,localIpAddress : string,ipMode : string,revisionNumber : number,sortDir : string,sortKey : string,fields : string)<br> showLocalIPDetails (fields : string,localIpId : string)<br> listLocalIPAssociations (fixedPortId : string,fixedIp : string,host : string,sortDir : string,sortKey : string,fields : string,localIpId : string)<br> showAddressGroup (fields : string,addressGroupId : string)<br> listAddressGroups (id : string,name : string,tenantId : string,projectId : string,sortKey : string,fields : string)<br> listFirewallGroups (fields : string)<br> showFirewallGroupDetails (firewallGroupId : string)<br> listFirewallPolicies (fields : string)<br> showFirewallPolicyDetails (firewallPolicyId : string)<br> listFirewallRules (fields : string)<br> showFirewallRuleDetails (firewallRuleId : string)<br> showRBACPolicyDetails (rbacPolicyId : string)<br> listRBACPolicies (targetTenant : string,tenantId : string,objectType : string,objectId : string,action : string,projectId : string,id : string,sortDir : string,sortKey : string,fields : string)<br> listSecurityGroupRules (remoteGroupId : string,direction : string,protocol : string,ethertype : string,portRangeMax : number,securityGroupId : string,tenantId : string,projectId : string,portRangeMin : number,remoteIpPrefix : string,revisionNumber : number,id : string,description : string,sortDir : string,sortKey : string,fields : string)<br> showSecurityGroupRule (verbose : boolean,fields : string,securityGroupRuleId : string)<br> listSecurityGroups (id : string,tenantId : string,projectId : string,revisionNumber : number,name : string,description : string,sortDir : string,sortKey : string,shared : boolean,tags : string,tagsAny : string,notTags : string,notTagsAny : string,fields : string)<br> listIKEPolicies (fields : string)<br> showIKEPolicyDetails (ikepolicyId : string)<br> listIPsecPolicies (fields : string)<br> showIPsecPolicy (ipsecpolicyId : string)<br> listIPsecConnections (fields : string)<br> showIPsecConnection (connectionId : string)<br> listVPNEndpointGroups (fields : string)<br> showVPNEndpointGroup (endpointGroupId : string)<br> listVPNServices (fields : string)<br> showVPNServiceDetails (serviceId : string)<br> listFlavors (id : string,serviceType : string,name : string,description : string,enabled : boolean,sortDir : string,sortKey : string,fields : string)<br> showFlavorDetails (flavorId : string)<br> listServiceProfiles (id : string,enabled : boolean,driver : string,description : string,sortDir : string,sortKey : string)<br> showServiceProfileDetails (profileId : string)<br> listMeteringLabels (description : string,tenantId : string,projectId : string,shared : boolean,id : string,name : string,sortDir : string,sortKey : string,fields : string)<br> showMeteringLabelDetails (meteringLabelId : string)<br> listMeteringLabelRules (direction : string,remoteIpPrefix : string,sourceIpPrefix : string,destinationIpPrefix : string,excluded : boolean,meteringLabelId : string,id : string,sortDir : string,sortKey : string,fields : string)<br> showMeteringLabelRuleDetails (meteringLabelRuleId : string)<br> showNetworkIPAvailability (networkId : string)<br> listNetworkIPAvailability (networkId : string,networkName : string,tenantId : string,projectId : string,ipVersion : number)<br> listQuotasForProjectsWithNonDefaultQuotaValues )<br> listQuotasForAProject (projectId : string)<br> listDefaultQuotasForAProject (projectId : string)<br> showQuotaDetailsForATenant (projectId : string)<br> listServiceProviders (fields : string)<br> obtainTagList (resourceType : string,resourceId : string)<br> confirmATag (resourceType : string,resourceId : string,tag : string)<br> listQoSRuleTypes (allSupported : boolean,allRules : boolean)<br> showQoSRuleTypeDetails (ruleType : string)<br> listQoSPolicies (description : string,tenantId : string,projectId : string,revisionNumber : number,shared : boolean,id : string,isDefault : boolean,name : string,tags : string,tagsAny : string,notTags : string,notTagsAny : string,sortDir : string,sortKey : string,fields : string)<br> showQoSPolicyDetails (policyId : string)<br> listBandwidthLimitRulesForQoSPolicy (maxKbps : number,id : string,maxBurstKbps : number,direction : string,sortDir : string,sortKey : string,policyId : string)<br> showBandwidthLimitRuleDetails (policyId : string,ruleId : string)<br> listDSCPMarkingRulesForQoSPolicy (dscpMark : number,id : string,sortDir : string,sortKey : string,policyId : string)<br> showDSCPMarkingRuleDetails (policyId : string,dscpRuleId : string)<br> listMinimumBandwidthRulesForQoSPolicy (minKbps : number,id : string,direction : string,sortDir : string,sortKey : string,policyId : string)<br> showMinimumBandwidthRuleDetails (policyId : string,ruleId : string)<br> listMinimumPacketRateRulesForQoSPolicy (minKpps : number,id : string,direction : string,sortDir : string,sortKey : string,policyId : string)<br> showMinimumPacketRateRuleDetails (policyId : string,ruleId : string)<br> listPacketRateLimitRulesForQoSPolicy (maxKpps : number,maxBurstKpps : number,id : string,direction : string,sortDir : string,sortKey : string,policyId : string)<br> showPacketRateLimitRuleDetails (policyId : string,ruleId : string)<br> showBandwidthLimitRuleDetailsAlias (ruleId : string)<br> showDSCPMarkingRuleDetailsAlias (dscpRuleId : string)<br> showMinimumBandwidthRuleDetailsAlias (ruleId : string)<br> showMinimumPacketRateRuleDetailsAlias (ruleId : string)<br> listLoggingResources (fields : string)<br> showLoggingResourceDetails (fields : string,loggingResourceId : string)<br> listFirewallLogs (fields : string,loggingResourceId : string)<br> showFirewallLogDetails (fields : string,loggingResourceId : string,firewallLogId : string)<br> listBGPVPNs (fields : string)<br> showBGPVPNDetails (bgpvpnId : string)<br> listNetworkAssociations (fields : string,bgpvpnId : string)<br> showNetworkAssociationDetails (bgpvpnId : string,networkAssociationId : string)<br> listRouterAssociations (fields : string,bgpvpnId : string)<br> showRouterAssociationDetails (bgpvpnId : string,routerAssociationId : string)<br> listPortAssociations (fields : string,bgpvpnId : string)<br> showPortAssociationDetails (bgpvpnId : string,portAssociationId : string)<br> listBGPSpeakers (fields : string)<br> showBGPSpeakerDetails (bgpSpeakerId : string)<br> listRoutesAdvertisedByABGPSpeaker )<br> listDynamicRoutingAgentsHostingASpecificBGPSpeaker )<br> listBGPPeers (fields : string)<br> showBGPPeerDetails (bgpPeerId : string)<br> listLogs (id : string,name : string,description : string,tenantId : string,projectId : string,event : string,revisionNumber : number,resourceType : string,resourceId : string,targetId : string,enabled : boolean,sortDir : string,sortKey : string,fields : string)<br> listLoggableResources )<br> listAllAgents (adminStateUp : boolean,agentType : string,alive : boolean,availabilityZone : string,binary : string,description : string,host : string,id : string,topic : string,fields : string,sortDir : string,sortKey : string)<br> showAgentDetails (fields : string,agentId : string)<br> listAllAvailabilityZones (state : string,resource : string,name : string)<br> listRoutersHostedByAnL3Agent (agentId : string)<br> listL3AgentsHostingARouter (routerId : string)<br> listNetworksHostedByADHCPAgent (agentId : string)<br> listDHCPAgentsHostingANetwork (networkId : string)<br> showAutoAllocatedTopologyDetails (fields : string,projectId : string)<br> listTapServices (project : string,projectDomain : string)<br> showTapService (project : string,projectDomain : string,name : string)<br> listTapFlow (project : string,projectDomain : string)<br> showTapFlow (project : string,projectDomain : string,tenantId : string,id : string,name : string)",
15
+ "responses": {
16
+ "200": {
17
+ "description": "Successful operation",
18
+ "content": {
19
+ "application/json": {
20
+ "schema": {
21
+ "title": "result",
22
+ "type": "object"
23
+ }
24
+ }
25
+ }
26
+ }
27
+ },
28
+ "requestBody": {
29
+ "content": {
30
+ "application/json": {
31
+ "schema": {
32
+ "type": "object"
33
+ },
34
+ "example": {}
35
+ }
36
+ }
37
+ }
38
+ },
39
+ "put": {
40
+ "tags": [
41
+ "Networks"
42
+ ],
43
+ "operationId": "updateNetwork",
44
+ "description": "The parameters and request body are for method: updateNetwork. Same endpoint also used in methods:<br> updateNetworkSegmentRange (tags : string,tagsAny : string,notTags : string,notTagsAny : string,networkSegmentRangeId : string,body : object)<br> updatePort (portId : string,body : object)<br> updateSegment (segmentId : string,body : object)<br> addSubportsToTrunk (trunkId : string,body : object)<br> deleteSubportsFromTrunk (trunkId : string,body : object)<br> updateTrunk (trunkId : string,body : object)<br> updateAnAddressScope (addressScopeId : string,body : object)<br> updateAConntrackHelper (routerId : string,conntrackHelperId : string,body : object)<br> updateFloatingIP (floatingipId : string,body : object)<br> updateAPortForwarding (floatingipId : string,portForwardingId : string,body : object)<br> updateRouter (routerId : string,body : object)<br> addInterfaceToRouter (routerId : string,body : object)<br> removeInterfaceFromRouter (routerId : string,body : object)<br> addExtraRoutesToRouter (routerId : string,body : object)<br> removeExtraRoutesFromRouter (routerId : string,body : object)<br> updateANdpProxy (ndpProxyId : string,body : object)<br> updateSubnetPool (subnetpoolId : string,body : object)<br> addPrefixes (subnetpoolId : string,body : object)<br> removePrefixes (subnetpoolId : string,body : object)<br> updateLocalIP (localIpId : string,body : object)<br> updateAnAddressGroup (addressGroupId : string,body : object)<br> addIPAddressesToAddressGroup (addressGroupId : string,body : object)<br> removeIPAddressesToAddressGroup (addressGroupId : string,body : object)<br> updateFirewallGroup (firewallGroupId : string,body : object)<br> updateFirewallPolicy (firewallPolicyId : string,body : object)<br> updateFirewallRule (firewallRuleId : string,body : object)<br> insertRuleIntoAFirewallPolicy (firewallPolicyId : string,body : object)<br> removeRuleFromFirewallPolicy (firewallPolicyId : string,body : object)<br> updateRBACPolicy (rbacPolicyId : string,body : object)<br> updateSecurityGroup (securityGroupId : string,body : object)<br> updateIKEPolicy (ikepolicyId : string,body : object)<br> updateIPsecPolicy (ipsecpolicyId : string,body : object)<br> updateIPsecConnection (connectionId : string,body : object)<br> updateVPNEndpointGroup (endpointGroupId : string,body : object)<br> updateVPNService (serviceId : string,body : object)<br> updateFlavor (flavorId : string,body : object)<br> updateServiceProfile (profileId : string,body : object)<br> updateQuotaForAProject (projectId : string,body : object)<br> replaceAllTags (resourceType : string,resourceId : string,body : object)<br> addATag (resourceType : string,resourceId : string,tag : string)<br> updateQoSPolicy (policyId : string,body : object)<br> updateBandwidthLimitRule (policyId : string,ruleId : string,body : object)<br> updateDSCPMarkingRule (policyId : string,dscpRuleId : string,body : object)<br> updateMinimumBandwidthRule (policyId : string,ruleId : string,body : object)<br> updateMinimumPacketRateRule (policyId : string,ruleId : string,body : object)<br> updatePacketRateLimitRule (policyId : string,ruleId : string,body : object)<br> updateBandwidthLimitRuleAlias (ruleId : string)<br> updateDSCPMarkingRuleAlias (dscpRuleId : string)<br> updateMinimumBandwidthRuleAlias (ruleId : string)<br> updateMinimumPacketRateRuleAlias (ruleId : string)<br> updateLoggingResource (loggingResourceId : string,body : object)<br> updateFirewallLog (loggingResourceId : string,firewallLogId : string,body : object)<br> updateABGPVPN (bgpvpnId : string,body : object)<br> updateARouterAssociationBgpvpnRoutesControlExtension (bgpvpnId : string,routerAssociationId : string,body : object)<br> updateAPortAssociation (bgpvpnId : string,portAssociationId : string,body : object)<br> updateABGPSpeaker (bgpSpeakerId : string,body : object)<br> addBGPPeerToABGPSpeaker (bgpSpeakerId : string,body : object)<br> removeBGPPeerFromABGPSpeaker (bgpSpeakerId : string,body : object)<br> addNetworkToABGPSpeaker (bgpSpeakerId : string,body : object)<br> deleteNetworkFromABGPSpeaker )<br> updateABGPPeer (bgpPeerId : string,body : object)<br> updateAgent (agentId : string,body : object)<br> updateTapService (name : string,description : string)<br> updateTapFlow (name : string,description : string)",
45
+ "responses": {
46
+ "200": {
47
+ "description": "Successful operation",
48
+ "content": {
49
+ "application/json": {
50
+ "schema": {
51
+ "title": "result",
52
+ "type": "object"
53
+ }
54
+ }
55
+ }
56
+ }
57
+ },
58
+ "requestBody": {
59
+ "description": "indeterminate body object",
60
+ "content": {
61
+ "application/json": {
62
+ "schema": {
63
+ "type": "object"
64
+ }
65
+ }
66
+ }
67
+ }
68
+ },
69
+ "delete": {
70
+ "tags": [
71
+ "Networks"
72
+ ],
73
+ "operationId": "deleteNetwork",
74
+ "description": "The parameters and request body are for method: deleteNetwork. Same endpoint also used in methods:<br> deleteNetworkSegmentRange (networkSegmentRangeId : string)<br> deletePort (portId : string)<br> deleteSegment (segmentId : string)<br> deleteTrunk (trunkId : string)<br> deleteAnAddressScope (addressScopeId : string)<br> deleteAConntrackHelper (routerId : string,conntrackHelperId : string)<br> deleteFloatingIP (floatingipId : string)<br> deleteAFloatingIPPortForwarding (floatingipId : string,portForwardingId : string)<br> deleteRouter (routerId : string)<br> deleteANdpProxy (ndpProxyId : string)<br> deleteSubnetPool (subnetpoolId : string)<br> deleteLocalIP (localIpId : string)<br> deleteLocalIPAssociation (localIpId : string,fixedPortId : string)<br> deleteAnAddressGroup (addressGroupId : string)<br> deleteFirewallGroup (firewallGroupId : string)<br> deleteFirewallPolicy (firewallPolicyId : string)<br> deleteFirewallRule (firewallRuleId : string)<br> deleteRBACPolicy (rbacPolicyId : string)<br> deleteSecurityGroupRule (securityGroupRuleId : string)<br> removeIKEPolicy (ikepolicyId : string)<br> removeIPsecPolicy (ipsecpolicyId : string)<br> removeIPsecConnection (connectionId : string)<br> removeVPNEndpointGroup (endpointGroupId : string)<br> removeVPNService (serviceId : string)<br> deleteFlavor (flavorId : string)<br> disassociateAFlavor (profileId : string,flavorId : string)<br> deleteServiceProfile (profileId : string)<br> deleteMeteringLabel (meteringLabelId : string)<br> deleteMeteringLabelRule (meteringLabelRuleId : string)<br> resetQuotaForAProject (projectId : string)<br> removeAllTags (resourceType : string,resourceId : string)<br> removeATag (resourceType : string,resourceId : string,tag : string)<br> deleteQoSPolicy (policyId : string)<br> deleteBandwidthLimitRule (policyId : string,ruleId : string)<br> deleteDSCPMarkingRule (policyId : string,dscpRuleId : string)<br> deleteMinimumBandwidthRule (policyId : string,ruleId : string)<br> deleteMinimumPacketRateRule (policyId : string,ruleId : string)<br> deletePacketRateLimitRule (policyId : string,ruleId : string)<br> deleteBandwidthLimitRuleAlias (ruleId : string)<br> deleteDSCPMarkingRuleAlias (dscpRuleId : string)<br> deleteMinimumBandwidthRuleAlias (ruleId : string)<br> deleteMinimumPacketRateRuleAlias (ruleId : string)<br> deleteLoggingResource (loggingResourceId : string)<br> deleteFirewallLog (loggingResourceId : string,firewallLogId : string)<br> deleteBGPVPN (bgpvpnId : string)<br> deleteNetworkAssociation (bgpvpnId : string,networkAssociationId : string)<br> deleteRouterAssociation (bgpvpnId : string,routerAssociationId : string)<br> deletePortAssociation (bgpvpnId : string,portAssociationId : string)<br> deleteABGPSpeaker (bgpSpeakerId : string)<br> deleteABGPPeer (bgpPeerId : string)<br> deleteAgent (agentId : string)<br> removeL3RouterFromAnL3Agent (agentId : string,routerId : string)<br> removeNetworkFromADHCPAgent (agentId : string,networkId : string)<br> deleteTheAutoAllocatedTopology (projectId : string)<br> deleteTapService (name : string,id : string)<br> deleteTapFlow (id : string,name : string)",
75
+ "responses": {
76
+ "200": {
77
+ "description": "Successful operation",
78
+ "content": {
79
+ "application/json": {
80
+ "schema": {
81
+ "title": "result",
82
+ "type": "object"
83
+ }
84
+ }
85
+ }
86
+ }
87
+ },
88
+ "requestBody": {
89
+ "content": {
90
+ "application/json": {
91
+ "schema": {
92
+ "type": "object"
93
+ },
94
+ "example": {}
95
+ }
96
+ }
97
+ }
98
+ },
99
+ "post": {
100
+ "tags": [
101
+ "Networks"
102
+ ],
103
+ "operationId": "createNetwork",
104
+ "description": "The parameters and request body are for method: createNetwork. Same endpoint also used in methods:<br> createNetworkSegmentRange (body : object)<br> createPort (body : object)<br> createSegment (body : object)<br> createTrunk (body : object)<br> createAddressScope (body : object)<br> createConntrackHelper (routerId : string,body : object)<br> createFloatingIP (body : object)<br> createPortForwarding (floatingipId : string,body : object)<br> createRouter (body : object)<br> createNdpProxy (body : object)<br> createSubnetPool (body : object)<br> createLocalIP (body : object)<br> createLocalIPAssociation (localIpId : string,body : object)<br> createAddressGroup (addressGroupId : string,body : object)<br> createFirewallGroup (body : object)<br> createFirewallPolicy (body : object)<br> createFirewallRule (body : object)<br> createRBACPolicy (body : object)<br> createSecurityGroupRule (body : object)<br> createIKEPolicy (body : object)<br> createIPsecPolicy (body : object)<br> createIPsecConnection (body : object)<br> createVPNEndpointGroup (body : object)<br> createVPNService (body : object)<br> createFlavor (body : object)<br> associateFlavorWithAServiceProfile (flavorId : string,body : object)<br> createServiceProfile (body : object)<br> createMeteringLabel (body : object)<br> createMeteringLabelRule (sourceIpPrefix : string,destinationIpPrefix : string,body : object)<br> createQoSPolicy (body : object)<br> createBandwidthLimitRule (policyId : string,body : object)<br> createDSCPMarkingRule (policyId : string,body : object)<br> createMinimumBandwidthRule (policyId : string,body : object)<br> createMinimumPacketRateRule (policyId : string,body : object)<br> createPacketRateLimitRule (policyId : string,body : object)<br> createLoggingResource (body : object)<br> createFirewallLog (loggingResourceId : string,body : object)<br> createBGPVPNS (body : object)<br> createNetworkAssociation (bgpvpnId : string,body : object)<br> createRouterAssociation (bgpvpnId : string,body : object)<br> createPortAssociation (bgpvpnId : string,body : object)<br> createBGPSpeaker (body : object)<br> createABGPPeer (body : object)<br> scheduleRouterToAnL3Agent (agentId : string,body : object)<br> scheduleANetworkToADHCPAgent (agentId : string,body : object)<br> createTapService (project : string,projectDomain : string,tenantId : string,name : string,port : string,description : string)<br> createTapFlow (project : string,projectDomain : string,tenantId : string,name : string,port : string,tapService : string,vlanFilter : string,direction : string,description : string)",
105
+ "responses": {
106
+ "200": {
107
+ "description": "Successful operation",
108
+ "content": {
109
+ "application/json": {
110
+ "schema": {
111
+ "title": "result",
112
+ "type": "object"
113
+ }
114
+ }
115
+ }
116
+ }
117
+ },
118
+ "requestBody": {
119
+ "description": "indeterminate body object",
120
+ "content": {
121
+ "application/json": {
122
+ "schema": {
123
+ "type": "object"
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ }
130
+ },
131
+ "components": {
132
+ "schemas": {}
133
+ }
134
+ }
@@ -0,0 +1,120 @@
1
+ {
2
+ "errors": [],
3
+ "statistics": [
4
+ {
5
+ "owner": "errorJson",
6
+ "description": "New adapter errors available for use",
7
+ "value": 0
8
+ },
9
+ {
10
+ "owner": "errorJson",
11
+ "description": "Adapter errors no longer available for use",
12
+ "value": 0
13
+ },
14
+ {
15
+ "owner": "errorJson",
16
+ "description": "Adapter errors that have been updated (e.g. recommendation changes)",
17
+ "value": 31
18
+ },
19
+ {
20
+ "owner": "packageJson",
21
+ "description": "Number of production dependencies",
22
+ "value": 15
23
+ },
24
+ {
25
+ "owner": "packageJson",
26
+ "description": "Number of development dependencies",
27
+ "value": 6
28
+ },
29
+ {
30
+ "owner": "packageJson",
31
+ "description": "Number of npm scripts",
32
+ "value": 19
33
+ },
34
+ {
35
+ "owner": "packageJson",
36
+ "description": "Runtime Library dependency",
37
+ "value": "5.10.16"
38
+ },
39
+ {
40
+ "owner": "propertiesSchemaJson",
41
+ "description": "Adapter properties defined in the propertiesSchema file",
42
+ "value": 82
43
+ },
44
+ {
45
+ "owner": "markdown",
46
+ "description": "Number of lines in the README.md",
47
+ "value": 345
48
+ },
49
+ {
50
+ "owner": "markdown",
51
+ "description": "Number of lines in the SUMMARY.md",
52
+ "value": 9
53
+ },
54
+ {
55
+ "owner": "markdown",
56
+ "description": "Number of lines in the PROPERTIES.md",
57
+ "value": 662
58
+ },
59
+ {
60
+ "owner": "markdown",
61
+ "description": "Number of lines in the TROUBLESHOOT.md",
62
+ "value": 57
63
+ },
64
+ {
65
+ "owner": "markdown",
66
+ "description": "Number of lines in the ENHANCE.md",
67
+ "value": 70
68
+ },
69
+ {
70
+ "owner": "markdown",
71
+ "description": "Number of lines in the BROKER.md",
72
+ "value": 70
73
+ },
74
+ {
75
+ "owner": "unitTestJS",
76
+ "description": "Number of lines of code in unit tests",
77
+ "value": 9707
78
+ },
79
+ {
80
+ "owner": "unitTestJS",
81
+ "description": "Number of unit tests",
82
+ "value": 642
83
+ },
84
+ {
85
+ "owner": "integrationTestJS",
86
+ "description": "Number of lines of code in integration tests",
87
+ "value": 8965
88
+ },
89
+ {
90
+ "owner": "integrationTestJS",
91
+ "description": "Number of integration tests",
92
+ "value": 314
93
+ },
94
+ {
95
+ "owner": "staticFile",
96
+ "description": "Number of lines of code in adapterBase.js",
97
+ "value": 1489
98
+ },
99
+ {
100
+ "owner": "staticFile",
101
+ "description": "Number of static files added",
102
+ "value": 37
103
+ },
104
+ {
105
+ "owner": "Overall",
106
+ "description": "Total lines of Code",
107
+ "value": 20161
108
+ },
109
+ {
110
+ "owner": "Overall",
111
+ "description": "Total Tests",
112
+ "value": 956
113
+ },
114
+ {
115
+ "owner": "Overall",
116
+ "description": "Total Files",
117
+ "value": 6
118
+ }
119
+ ]
120
+ }
@@ -98,18 +98,22 @@
98
98
  "enabled": false,
99
99
  "accept_invalid_cert": false,
100
100
  "ca_file": "",
101
+ "ca_file_content": "",
101
102
  "key_file": "",
102
103
  "cert_file": "",
103
104
  "secure_protocol": "",
104
105
  "ciphers": ""
105
106
  },
106
107
  "mongo": {
108
+ "url": "",
107
109
  "host": "",
108
110
  "port": 0,
109
111
  "database": "",
112
+ "dbAuth": false,
110
113
  "username": "",
111
114
  "password": "",
112
115
  "replSet": "",
116
+ "addSrv": false,
113
117
  "db_ssl": {
114
118
  "enabled": false,
115
119
  "accept_invalid_cert": false,