mreg-cli 1.2.2__tar.gz → 1.2.3__tar.gz
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.
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/CHANGELOG.md +10 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/PKG-INFO +1 -1
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/ci/diff.py +1 -1
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/ci/testsuite-result.json +2262 -82
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/_version.py +2 -2
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/api/abstracts.py +1 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/api/history.py +1 -1
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/api/models.py +10 -10
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/cli.py +2 -2
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/host_submodules/a_aaaa.py +98 -48
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/logging.py +1 -1
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/config.py +1 -1
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/outputmanager.py +3 -6
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/prompt.py +6 -4
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/tokenfile.py +3 -3
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/types.py +13 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/utilities/api.py +2 -2
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli.egg-info/PKG-INFO +1 -1
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli.egg-info/SOURCES.txt +2 -0
- mreg_cli-1.2.3/tests/test_outputmanager.py +98 -0
- mreg_cli-1.2.3/tests/test_types.py +15 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/.github/workflows/publish.yml +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/.github/workflows/test.yml +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/.gitignore +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/.markdownlint.json +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/AUTHORS +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/CONTRIBUTING +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/LICENSE +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/README.md +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/ci/Dockerfile +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/ci/docker-compose.yml +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/ci/run_testsuite_and_record.sh +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/ci/run_testsuite_and_record_V2.sh +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/ci/testsuite +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/data/mreg-cli.conf +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/__about__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/__init__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/__main__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/api/__init__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/api/endpoints.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/api/fields.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/__init__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/base.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/dhcp.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/group.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/help.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/host.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/host_submodules/__init__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/host_submodules/bacnet.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/host_submodules/cname.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/host_submodules/core.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/host_submodules/rr.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/label.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/network.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/permission.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/policy.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/recording.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/registry.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/root.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/commands/zone.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/errorbuilder.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/exceptions.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/help_formatter.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/main.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/py.typed +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/tags.txt +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/utilities/__init__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/utilities/shared.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli/utilities/validators.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli.egg-info/dependency_links.txt +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli.egg-info/entry_points.txt +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli.egg-info/requires.txt +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/mreg_cli.egg-info/top_level.txt +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/pyproject.toml +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/run.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/setup.cfg +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/__init__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/api/__init__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/api/test_fields.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/api/test_models.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/conftest.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/test_errorbuilder.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/test_exceptions.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/test_prompt.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/test_tokenfile.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/utilities/__init__.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tests/utilities/test_api.py +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/tox.ini +0 -0
- {mreg_cli-1.2.2 → mreg_cli-1.2.3}/uv.lock +0 -0
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
<!-- ## Unreleased -->
|
|
9
9
|
|
|
10
|
+
## [1.2.3](https://github.com/unioslo/mreg-cli/releases/tag/1.2.3) - 2024-12-16
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `a_add` & `aaaa_add` `-force` option to force use an IP from a network that cannot be found in MREG.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Commands that try to find networks by IP raising a 404 error instead of a proper error message when no network can be found with the given IP.
|
|
19
|
+
|
|
10
20
|
## [1.2.2](https://github.com/unioslo/mreg-cli/releases/tag/1.2.2) - 2024-12-09
|
|
11
21
|
|
|
12
22
|
### Fixed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mreg-cli
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.3
|
|
4
4
|
Summary: MREG interactive command line client
|
|
5
5
|
Author: Others (see AUTHORS)
|
|
6
6
|
Author-email: Øyvind Kolbu <oyvind.kolbu@usit.uio.no>, Safet A <amedov@usit.uio.no>, Magnus Hirth <mhmorgan42@gmail.com>, Nico <nicolaydmohebi@gmail.com>, Marius Bakke <marius.bakke@usit.uio.no>, Fredrik Larsen <fredrik.larsen@usit.uio.no>, Paal Braathen <paal.braathen@usit.uio.no>, Nils Hiorth <nils@nls.me>, Dmytro Karpenko <dmytrok@usit.uio.no>
|
|
@@ -126,7 +126,7 @@ def preprocess_json(s: str) -> str:
|
|
|
126
126
|
|
|
127
127
|
# Replace all non-deterministic values with placeholders
|
|
128
128
|
s = timestamp_pattern.sub("<TIME>", s)
|
|
129
|
-
s = datetime_str_pattern.sub("<
|
|
129
|
+
s = datetime_str_pattern.sub("<DATETIME>", s)
|
|
130
130
|
s = serial_pattern.sub("Serial: <NUMBER>", s)
|
|
131
131
|
s = mac_pattern.sub("<macaddress>", s)
|
|
132
132
|
s = ipv4_pattern.sub("<IPv4>", s)
|