cisco-axl 1.1.5 → 1.1.7

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 (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +9 -1
package/README.md CHANGED
@@ -40,7 +40,7 @@ NODE_TLS_REJECT_UNAUTHORIZED=0
40
40
  ```javascript
41
41
  const axlService = require("cisco-axl");
42
42
 
43
- let service = new axlService("10.10.20.1", "administrator", "ciscopsdt");
43
+ let service = new axlService("10.10.20.1", "administrator", "ciscopsdt","14.0");
44
44
 
45
45
  var operation = "addRoutePartition";
46
46
  var tags = {
@@ -103,6 +103,7 @@ Current options include:
103
103
  | option | type | description |
104
104
  | :--------------------------- | :------ | :---------------------------------------------------------------------------------- |
105
105
  | clean | boolean | Default: **false**. Allows method to remove all tags that have no values from return data. |
106
+ | removeAttributes | boolean | Default: **false**. Allows method to remove all attributes tags return data. |
106
107
  | dataContainerIdentifierTails | string | Default: **'\_data'**. executeOperation will automatically remove any tag with the defined string. This is used with json-variables library. |
107
108
 
108
109
  Example:
@@ -110,6 +111,7 @@ Example:
110
111
  ```node
111
112
  var opts = {
112
113
  clean: true,
114
+ removeAttributes: false,
113
115
  dataContainerIdentifierTails: "_data",
114
116
  };
115
117
  ```
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "cisco-axl",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "A library to make Cisco AXL a lot easier",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 NODE_TLS_REJECT_UNAUTHORIZED=0 node ./test/tests.js"
8
8
  },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/sieteunoseis/cisco-axl.git"
12
+ },
9
13
  "keywords": [
10
14
  "cisco",
11
15
  "node",
@@ -16,6 +20,10 @@
16
20
  ],
17
21
  "author": "Jeremy Worden",
18
22
  "license": "MIT",
23
+ "bugs": {
24
+ "url": "https://github.com/sieteunoseis/cisco-axl/issues"
25
+ },
26
+ "homepage": "https://github.com/sieteunoseis/cisco-axl#readme",
19
27
  "dependencies": {
20
28
  "soap": "^0.45.0",
21
29
  "strong-soap": "^3.4.0"