oxidized 0.32.1 → 0.33.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.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +42 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +22 -0
- data/.github/ISSUE_TEMPLATE/support-request.md +36 -0
- data/.github/workflows/publishdocker.yml +35 -16
- data/.gitignore +1 -0
- data/.rubocop.yml +0 -2
- data/.rubocop_todo.yml +5 -31
- data/CHANGELOG.md +54 -2
- data/CONTRIBUTING.md +10 -7
- data/Dockerfile +37 -64
- data/README.md +4 -95
- data/Rakefile +8 -9
- data/docs/Configuration.md +139 -27
- data/docs/Docker.md +240 -0
- data/docs/Issues.md +17 -0
- data/docs/Model-Notes/EatonNetwork.md +18 -0
- data/docs/Model-Notes/HPEAruba.md +3 -2
- data/docs/Release.md +5 -3
- data/docs/Supported-OS-Types.md +3 -0
- data/docs/Troubleshooting.md +6 -1
- data/extra/rest_client.rb +1 -1
- data/lib/oxidized/config/vars.rb +18 -14
- data/lib/oxidized/config.rb +3 -1
- data/lib/oxidized/core.rb +26 -5
- data/lib/oxidized/input/http.rb +1 -1
- data/lib/oxidized/model/aos7.rb +3 -0
- data/lib/oxidized/model/eatonnetwork.rb +65 -0
- data/lib/oxidized/model/fortios.rb +3 -3
- data/lib/oxidized/model/ingate.rb +47 -0
- data/lib/oxidized/model/ios.rb +1 -0
- data/lib/oxidized/model/netgear.rb +6 -0
- data/lib/oxidized/model/powerconnect.rb +31 -10
- data/lib/oxidized/model/srosmd.rb +1 -1
- data/lib/oxidized/model/unifiap.rb +142 -0
- data/lib/oxidized/output/git.rb +82 -32
- data/lib/oxidized/output/gitcrypt.rb +3 -0
- data/lib/oxidized/version.rb +6 -4
- data/lib/oxidized/worker.rb +2 -5
- data/lib/refinements.rb +2 -0
- data/oxidized.gemspec +5 -6
- metadata +30 -30
- data/examples/podman-compose/Makefile +0 -103
- data/examples/podman-compose/README.md +0 -94
- data/examples/podman-compose/docker-compose.yml +0 -30
- data/examples/podman-compose/gitserver/.gitignore +0 -1
- data/examples/podman-compose/gitserver/Dockerfile +0 -14
- data/examples/podman-compose/model-simulation/Dockerfile-model +0 -13
- data/examples/podman-compose/model-simulation/asternos.sh +0 -36
- data/examples/podman-compose/oxidized-config/.gitignore +0 -10
- data/examples/podman-compose/oxidized-config/config +0 -46
- data/examples/podman-compose/oxidized-config/config_csv-file +0 -46
- data/examples/podman-compose/oxidized-config/config_csv-gitserver +0 -56
- data/examples/podman-compose/oxidized-config/router.db +0 -1
- data/examples/podman-compose/oxidized-ssh/.gitignore +0 -1
- data/examples/podman-compose/oxidized-ssh/README.md +0 -14
@@ -1,56 +0,0 @@
|
|
1
|
-
---
|
2
|
-
username: oxidized
|
3
|
-
password: oxidized
|
4
|
-
resolve_dns: true
|
5
|
-
interval: 3600
|
6
|
-
use_syslog: false
|
7
|
-
debug: false
|
8
|
-
threads: 30
|
9
|
-
use_max_threads: true
|
10
|
-
timeout: 20
|
11
|
-
retries: 3
|
12
|
-
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
|
13
|
-
rest: 0.0.0.0:8888
|
14
|
-
next_adds_job: false
|
15
|
-
vars: {}
|
16
|
-
groups: {}
|
17
|
-
group_map: {}
|
18
|
-
models: {}
|
19
|
-
pid: "~/.config/oxidized/pid"
|
20
|
-
crash:
|
21
|
-
directory: "~/.config/oxidized/crashes"
|
22
|
-
hostnames: false
|
23
|
-
stats:
|
24
|
-
history_size: 10
|
25
|
-
input:
|
26
|
-
default: ssh
|
27
|
-
debug: false
|
28
|
-
ssh:
|
29
|
-
secure: false
|
30
|
-
ftp:
|
31
|
-
passive: true
|
32
|
-
utf8_encoded: true
|
33
|
-
output:
|
34
|
-
default: git
|
35
|
-
git:
|
36
|
-
user: Oxidized
|
37
|
-
email: o@example.com
|
38
|
-
repo: "~/.config/oxidized/oxidized.git"
|
39
|
-
source:
|
40
|
-
default: csv
|
41
|
-
csv:
|
42
|
-
file: "~/.config/oxidized/router.db"
|
43
|
-
delimiter: !ruby/regexp /:/
|
44
|
-
map:
|
45
|
-
name: 0
|
46
|
-
model: 1
|
47
|
-
ip: 2
|
48
|
-
gpg: false
|
49
|
-
hooks:
|
50
|
-
push_to_remote:
|
51
|
-
type: githubrepo
|
52
|
-
events:
|
53
|
-
- post_store
|
54
|
-
remote_repo: git@gitserver:repo.git
|
55
|
-
username: git
|
56
|
-
password: git
|
@@ -1 +0,0 @@
|
|
1
|
-
asternos-device:asternos
|
@@ -1 +0,0 @@
|
|
1
|
-
known_hosts
|
@@ -1,14 +0,0 @@
|
|
1
|
-
This is `~/.ssh/` of the user oxidized inside the oxidized container.
|
2
|
-
|
3
|
-
## What you need here for the hook githubrepo
|
4
|
-
You can store the SSH key needed to access a remote Git repository here. Here is
|
5
|
-
an example how to generate this key.
|
6
|
-
```shell
|
7
|
-
ssh-keygen -q -t ed25519 -C "Oxidized Push Key@`hostname`" -N "YOURPASSPHRASE" -m PEM -f oxidized-key
|
8
|
-
```
|
9
|
-
|
10
|
-
You also need to store the public keys of the remote git server in known_hosts. If you do not,
|
11
|
-
oxidized will refuse to push to the remote Git with the error `#<Rugged::SshError: invalid or unknown remote ssh hostkey>`, see Issue #2753.
|
12
|
-
```shell
|
13
|
-
ssh-keyscan git-server.example.com > known_hosts
|
14
|
-
```
|