holddown 0.18.0__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.
- holddown-0.18.0/.github/workflows/ci.yml +49 -0
- holddown-0.18.0/.github/workflows/netconf-mcp-pin.yml +121 -0
- holddown-0.18.0/.github/workflows/release-please.yml +88 -0
- holddown-0.18.0/.gitignore +21 -0
- holddown-0.18.0/.mcp.direct.example.json +10 -0
- holddown-0.18.0/.mcp.json +5 -0
- holddown-0.18.0/.release-please-manifest.json +3 -0
- holddown-0.18.0/CHANGELOG.md +201 -0
- holddown-0.18.0/LICENSE +21 -0
- holddown-0.18.0/PKG-INFO +591 -0
- holddown-0.18.0/README.md +578 -0
- holddown-0.18.0/SECURITY.md +47 -0
- holddown-0.18.0/THREAT_MODEL.md +255 -0
- holddown-0.18.0/TODO.md +150 -0
- holddown-0.18.0/deploy/add-agent.sh +108 -0
- holddown-0.18.0/deploy/install-bastion.sh +156 -0
- holddown-0.18.0/deploy/setup-agent.sh +119 -0
- holddown-0.18.0/docs/ios.md +81 -0
- holddown-0.18.0/docs/iosxe.md +106 -0
- holddown-0.18.0/docs/iosxr.md +83 -0
- holddown-0.18.0/docs/junos-netconf.md +82 -0
- holddown-0.18.0/docs/srlinux.md +58 -0
- holddown-0.18.0/holddown/__init__.py +0 -0
- holddown-0.18.0/holddown/adapters/__init__.py +115 -0
- holddown-0.18.0/holddown/adapters/ios.py +212 -0
- holddown-0.18.0/holddown/adapters/iosxe.py +265 -0
- holddown-0.18.0/holddown/adapters/iosxr.py +101 -0
- holddown-0.18.0/holddown/adapters/junos.py +196 -0
- holddown-0.18.0/holddown/adapters/junos_netconf.py +153 -0
- holddown-0.18.0/holddown/adapters/srlinux.py +164 -0
- holddown-0.18.0/holddown/cli.py +361 -0
- holddown-0.18.0/holddown/inventory/__init__.py +110 -0
- holddown-0.18.0/holddown/inventory/nautobot.py +72 -0
- holddown-0.18.0/holddown/inventory/netbox.py +56 -0
- holddown-0.18.0/holddown/notify.py +133 -0
- holddown-0.18.0/holddown/policy.py +473 -0
- holddown-0.18.0/holddown/proxy.py +530 -0
- holddown-0.18.0/holddown/servers/__init__.py +8 -0
- holddown-0.18.0/holddown/servers/ios.py +233 -0
- holddown-0.18.0/holddown/servers/srlinux.py +155 -0
- holddown-0.18.0/holddown/signing.py +72 -0
- holddown-0.18.0/holddown/state.py +339 -0
- holddown-0.18.0/lab/cml/README.md +68 -0
- holddown-0.18.0/lab/cml/devices.json +4 -0
- holddown-0.18.0/lab/cml/holddown.cml.yaml +136 -0
- holddown-0.18.0/lab/cml/mcp.direct.json +8 -0
- holddown-0.18.0/lab/cml/mcp.json +9 -0
- holddown-0.18.0/lab/cml/policy.yaml +32 -0
- holddown-0.18.0/lab/cml-iosxe/README.md +87 -0
- holddown-0.18.0/lab/cml-iosxe/devices.json +6 -0
- holddown-0.18.0/lab/cml-iosxe/holddown.cml.yaml +181 -0
- holddown-0.18.0/lab/cml-iosxe/mcp.direct.json +9 -0
- holddown-0.18.0/lab/cml-iosxe/mcp.json +9 -0
- holddown-0.18.0/lab/cml-iosxe/policy.yaml +32 -0
- holddown-0.18.0/lab/cml-iosxr/README.md +60 -0
- holddown-0.18.0/lab/cml-iosxr/devices.json +6 -0
- holddown-0.18.0/lab/cml-iosxr/holddown.cml.yaml +202 -0
- holddown-0.18.0/lab/cml-iosxr/mcp.direct.json +9 -0
- holddown-0.18.0/lab/cml-iosxr/mcp.json +9 -0
- holddown-0.18.0/lab/cml-iosxr/policy.yaml +32 -0
- holddown-0.18.0/lab/junos-netconf/README.md +42 -0
- holddown-0.18.0/lab/junos-netconf/devices.example.json +4 -0
- holddown-0.18.0/lab/junos-netconf/mcp.direct.json +9 -0
- holddown-0.18.0/lab/junos-netconf/mcp.json +9 -0
- holddown-0.18.0/lab/junos-netconf/policy.yaml +34 -0
- holddown-0.18.0/lab/srlinux/README.md +63 -0
- holddown-0.18.0/lab/srlinux/devices.json +4 -0
- holddown-0.18.0/lab/srlinux/holddown.clab.yml +29 -0
- holddown-0.18.0/lab/srlinux/mcp.direct.json +8 -0
- holddown-0.18.0/lab/srlinux/mcp.json +9 -0
- holddown-0.18.0/lab/srlinux/policy.yaml +32 -0
- holddown-0.18.0/lab/srlinux/srl1.cli +21 -0
- holddown-0.18.0/lab/srlinux/srl2.cli +21 -0
- holddown-0.18.0/patches/README.md +24 -0
- holddown-0.18.0/patches/junos-mcp-server-legacy-pending-detection.patch +22 -0
- holddown-0.18.0/pyproject.toml +60 -0
- holddown-0.18.0/release-please-config.json +21 -0
- holddown-0.18.0/tests/policy.yaml +31 -0
- holddown-0.18.0/tests/test_inventory.py +257 -0
- holddown-0.18.0/tests/test_ios.py +232 -0
- holddown-0.18.0/tests/test_iosxe.py +207 -0
- holddown-0.18.0/tests/test_iosxr.py +162 -0
- holddown-0.18.0/tests/test_junos_netconf.py +179 -0
- holddown-0.18.0/tests/test_notify.py +121 -0
- holddown-0.18.0/tests/test_policy.py +227 -0
- holddown-0.18.0/tests/test_proxy.py +748 -0
- holddown-0.18.0/tests/test_signing.py +403 -0
- holddown-0.18.0/tests/test_srlinux.py +144 -0
- holddown-0.18.0/tests/test_sweep.py +129 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: ci-${{ github.ref }}
|
|
13
|
+
cancel-in-progress: true
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
lint:
|
|
17
|
+
name: Lint
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
21
|
+
with:
|
|
22
|
+
persist-credentials: false
|
|
23
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
24
|
+
with:
|
|
25
|
+
python-version: "3.13"
|
|
26
|
+
- run: python -m pip install --upgrade pip
|
|
27
|
+
- run: python -m pip install --group dev
|
|
28
|
+
- run: ruff check .
|
|
29
|
+
- run: for script in deploy/*.sh; do sh -n "$script"; done
|
|
30
|
+
|
|
31
|
+
test:
|
|
32
|
+
name: Tests (Python ${{ matrix.python-version }})
|
|
33
|
+
runs-on: ubuntu-latest
|
|
34
|
+
strategy:
|
|
35
|
+
fail-fast: false
|
|
36
|
+
matrix:
|
|
37
|
+
python-version: ["3.11", "3.12", "3.13"]
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
40
|
+
with:
|
|
41
|
+
persist-credentials: false
|
|
42
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
43
|
+
with:
|
|
44
|
+
python-version: ${{ matrix.python-version }}
|
|
45
|
+
- run: python -m pip install --upgrade pip
|
|
46
|
+
- run: python -m pip install -e . --group dev
|
|
47
|
+
# The signing tests create throwaway SSH keys with ssh-keygen (OpenSSH 8.2 or later).
|
|
48
|
+
- run: ssh -V
|
|
49
|
+
- run: python -m pytest -q
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
name: NETCONF server pin
|
|
2
|
+
|
|
3
|
+
# The NETCONF adapters (iosxe, iosxr, junos_netconf) run multivendor-netconf-mcp at one
|
|
4
|
+
# release, named in the adapter, the lab policies and their READMEs. Holddown reads that
|
|
5
|
+
# server's replies, so a new release is taken on here, with the tests, and never by itself.
|
|
6
|
+
#
|
|
7
|
+
# Once a week, and when run by hand, this looks on PyPI for a newer release. If there is
|
|
8
|
+
# one it moves the pin everywhere, runs the lint and the tests, and opens a pull request
|
|
9
|
+
# that says how they went. Nobody merges it but a person.
|
|
10
|
+
#
|
|
11
|
+
# The pull request is opened with the repository secret RELEASE_PLEASE_TOKEN, a person's
|
|
12
|
+
# token, so that CI starts on it by itself (see release-please.yml). Without the secret the
|
|
13
|
+
# workflow's own token is used; GitHub then starts no CI on the pull request, and closing
|
|
14
|
+
# and reopening it does. The tests run here too, so that the pull request can say how they
|
|
15
|
+
# went from the start.
|
|
16
|
+
|
|
17
|
+
on:
|
|
18
|
+
schedule:
|
|
19
|
+
- cron: "17 6 * * 1"
|
|
20
|
+
workflow_dispatch:
|
|
21
|
+
|
|
22
|
+
permissions: {}
|
|
23
|
+
|
|
24
|
+
concurrency:
|
|
25
|
+
group: netconf-mcp-pin
|
|
26
|
+
cancel-in-progress: false
|
|
27
|
+
|
|
28
|
+
jobs:
|
|
29
|
+
bump:
|
|
30
|
+
runs-on: ubuntu-latest
|
|
31
|
+
permissions:
|
|
32
|
+
contents: write
|
|
33
|
+
pull-requests: write
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
36
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
37
|
+
with:
|
|
38
|
+
python-version: "3.13"
|
|
39
|
+
|
|
40
|
+
- name: Compare the pin with the newest release
|
|
41
|
+
id: versions
|
|
42
|
+
run: |
|
|
43
|
+
set -eu
|
|
44
|
+
number='^[0-9]+\.[0-9]+\.[0-9]+$'
|
|
45
|
+
pinned=$(sed -n 's/^NETCONF_MCP = "multivendor-netconf-mcp==\(.*\)"$/\1/p' \
|
|
46
|
+
holddown/adapters/iosxe.py)
|
|
47
|
+
newest=$(curl -fsS --retry 3 https://pypi.org/pypi/multivendor-netconf-mcp/json |
|
|
48
|
+
python -c 'import json, sys; print(json.load(sys.stdin)["info"]["version"])')
|
|
49
|
+
for version in "$pinned" "$newest"; do
|
|
50
|
+
if ! printf '%s\n' "$version" | grep -Eq "$number"; then
|
|
51
|
+
echo "::error::not a release number: '$version'"
|
|
52
|
+
exit 1
|
|
53
|
+
fi
|
|
54
|
+
done
|
|
55
|
+
echo "pinned $pinned, newest on PyPI $newest"
|
|
56
|
+
branch="deps/netconf-mcp-$newest"
|
|
57
|
+
if [ "$pinned" = "$newest" ] ||
|
|
58
|
+
[ "$(printf '%s\n%s\n' "$pinned" "$newest" | sort -V | tail -n 1)" != "$newest" ]; then
|
|
59
|
+
echo "Nothing to do."
|
|
60
|
+
elif git ls-remote --exit-code --heads origin "$branch" > /dev/null; then
|
|
61
|
+
echo "The branch $branch is there already: its pull request is open or was closed."
|
|
62
|
+
else
|
|
63
|
+
{ echo "pinned=$pinned"; echo "newest=$newest"; echo "branch=$branch"; } >> "$GITHUB_OUTPUT"
|
|
64
|
+
fi
|
|
65
|
+
|
|
66
|
+
- name: Move the pin
|
|
67
|
+
if: steps.versions.outputs.newest
|
|
68
|
+
env:
|
|
69
|
+
PINNED: ${{ steps.versions.outputs.pinned }}
|
|
70
|
+
NEWEST: ${{ steps.versions.outputs.newest }}
|
|
71
|
+
run: |
|
|
72
|
+
set -eu
|
|
73
|
+
git grep -lF "multivendor-netconf-mcp==$PINNED" |
|
|
74
|
+
xargs sed -i "s/multivendor-netconf-mcp==$(printf '%s' "$PINNED" | sed 's/\./\\./g')/multivendor-netconf-mcp==$NEWEST/g"
|
|
75
|
+
git diff --stat
|
|
76
|
+
|
|
77
|
+
- name: Lint and tests with the new release
|
|
78
|
+
if: steps.versions.outputs.newest
|
|
79
|
+
id: tests
|
|
80
|
+
run: |
|
|
81
|
+
python -m pip install --quiet --upgrade pip
|
|
82
|
+
if python -m pip install --quiet -e . --group dev && ruff check . &&
|
|
83
|
+
python -m pytest -q; then
|
|
84
|
+
echo "result=passed" >> "$GITHUB_OUTPUT"
|
|
85
|
+
else
|
|
86
|
+
echo "result=FAILED" >> "$GITHUB_OUTPUT"
|
|
87
|
+
fi
|
|
88
|
+
|
|
89
|
+
- name: Open the pull request
|
|
90
|
+
if: steps.versions.outputs.newest
|
|
91
|
+
env:
|
|
92
|
+
GH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN || github.token }}
|
|
93
|
+
PERSON: ${{ secrets.RELEASE_PLEASE_TOKEN != '' }}
|
|
94
|
+
PINNED: ${{ steps.versions.outputs.pinned }}
|
|
95
|
+
NEWEST: ${{ steps.versions.outputs.newest }}
|
|
96
|
+
BRANCH: ${{ steps.versions.outputs.branch }}
|
|
97
|
+
RESULT: ${{ steps.tests.outputs.result }}
|
|
98
|
+
RUN: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
|
99
|
+
run: |
|
|
100
|
+
set -eu
|
|
101
|
+
title="fix(deps): run multivendor-netconf-mcp $NEWEST"
|
|
102
|
+
git config user.name "github-actions[bot]"
|
|
103
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
104
|
+
git switch -c "$BRANCH"
|
|
105
|
+
git commit -qam "$title"
|
|
106
|
+
git push -q origin "$BRANCH"
|
|
107
|
+
{
|
|
108
|
+
echo "multivendor-netconf-mcp $NEWEST is on PyPI; the NETCONF adapters run $PINNED."
|
|
109
|
+
echo "This moves the pin in the adapter, the lab policies and their READMEs."
|
|
110
|
+
echo
|
|
111
|
+
echo "**Lint and unit tests with $NEWEST: $RESULT** ([this run]($RUN))."
|
|
112
|
+
echo
|
|
113
|
+
echo "Before merging:"
|
|
114
|
+
echo
|
|
115
|
+
echo "- read what changed in the server: https://github.com/Jitter00/multivendor-netconf-mcp/blob/main/CHANGELOG.md"
|
|
116
|
+
echo "- the unit tests do not talk to a router. If the release changes a reply Holddown reads (the dry run's change list, a commit's reply, a batch), try it in a lab first"
|
|
117
|
+
if [ "$PERSON" != "true" ]; then
|
|
118
|
+
echo "- GitHub does not run CI on a pull request opened by a workflow: close and reopen this one to run it"
|
|
119
|
+
fi
|
|
120
|
+
} > body.md
|
|
121
|
+
gh pr create --base main --head "$BRANCH" --title "$title" --body-file body.md
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
# On every push to main, release-please keeps a "release" pull request up to date with the
|
|
4
|
+
# next version (from the Conventional Commit messages since the last release) and a
|
|
5
|
+
# changelog. Merging that pull request tags the version and creates the GitHub release.
|
|
6
|
+
#
|
|
7
|
+
# The release pull request is opened with the repository secret RELEASE_PLEASE_TOKEN, a
|
|
8
|
+
# person's fine-grained token for this repository (Contents and Pull requests, read and
|
|
9
|
+
# write). GitHub parks the CI of a pull request that a workflow opened with its own token
|
|
10
|
+
# until a person approves the run; one opened with a person's token gets CI by itself.
|
|
11
|
+
# Without the secret the workflow's own token is used, and CI has to be started by hand.
|
|
12
|
+
#
|
|
13
|
+
# With the repository variable PYPI_PUBLISH set to "true", the release is then built and
|
|
14
|
+
# published to PyPI by trusted publishing (no token is stored here). The `pypi`
|
|
15
|
+
# environment can ask for a reviewer's approval first.
|
|
16
|
+
#
|
|
17
|
+
# Run by hand (Actions > Release > Run workflow) with a release tag such as v0.17.0, it
|
|
18
|
+
# publishes that release and does nothing else: for a release whose publish job failed.
|
|
19
|
+
# It is in this file because PyPI trusts this workflow by its file name.
|
|
20
|
+
|
|
21
|
+
on:
|
|
22
|
+
push:
|
|
23
|
+
branches: [main]
|
|
24
|
+
workflow_dispatch:
|
|
25
|
+
inputs:
|
|
26
|
+
tag:
|
|
27
|
+
description: The release tag to publish to PyPI, for example v0.17.0
|
|
28
|
+
required: true
|
|
29
|
+
type: string
|
|
30
|
+
|
|
31
|
+
permissions: {}
|
|
32
|
+
|
|
33
|
+
concurrency:
|
|
34
|
+
group: release
|
|
35
|
+
cancel-in-progress: false
|
|
36
|
+
|
|
37
|
+
jobs:
|
|
38
|
+
release-please:
|
|
39
|
+
if: github.event_name == 'push'
|
|
40
|
+
runs-on: ubuntu-latest
|
|
41
|
+
permissions:
|
|
42
|
+
contents: write
|
|
43
|
+
pull-requests: write
|
|
44
|
+
outputs:
|
|
45
|
+
created: ${{ steps.release.outputs.release_created }}
|
|
46
|
+
tag: ${{ steps.release.outputs.tag_name }}
|
|
47
|
+
steps:
|
|
48
|
+
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
|
|
49
|
+
id: release
|
|
50
|
+
with:
|
|
51
|
+
token: ${{ secrets.RELEASE_PLEASE_TOKEN || github.token }}
|
|
52
|
+
config-file: release-please-config.json
|
|
53
|
+
manifest-file: .release-please-manifest.json
|
|
54
|
+
|
|
55
|
+
publish:
|
|
56
|
+
needs: release-please
|
|
57
|
+
# always(): by hand, the job above is skipped, which would skip this one too.
|
|
58
|
+
if: >-
|
|
59
|
+
always() && vars.PYPI_PUBLISH == 'true' &&
|
|
60
|
+
(github.event_name == 'workflow_dispatch' ||
|
|
61
|
+
needs.release-please.outputs.created == 'true')
|
|
62
|
+
runs-on: ubuntu-latest
|
|
63
|
+
environment: pypi
|
|
64
|
+
permissions:
|
|
65
|
+
contents: read
|
|
66
|
+
id-token: write
|
|
67
|
+
steps:
|
|
68
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
69
|
+
with:
|
|
70
|
+
persist-credentials: false
|
|
71
|
+
# The release's tag: the one asked for by hand, or the one just made. Not the
|
|
72
|
+
# commit that started this run, which is from before the version was raised.
|
|
73
|
+
ref: refs/tags/${{ inputs.tag || needs.release-please.outputs.tag }}
|
|
74
|
+
- name: The tag is a release of this version
|
|
75
|
+
env:
|
|
76
|
+
TAG: ${{ inputs.tag || needs.release-please.outputs.tag }}
|
|
77
|
+
run: |
|
|
78
|
+
version=$(sed -n 's/^version = "\(.*\)"$/\1/p' pyproject.toml)
|
|
79
|
+
if [ "$TAG" != "v$version" ]; then
|
|
80
|
+
echo "::error::$TAG holds version $version: give the tag of a release (v$version)."
|
|
81
|
+
exit 1
|
|
82
|
+
fi
|
|
83
|
+
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
|
|
84
|
+
with:
|
|
85
|
+
python-version: "3.13"
|
|
86
|
+
- run: python -m pip install --upgrade pip build
|
|
87
|
+
- run: python -m build
|
|
88
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.venv/
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.egg-info/
|
|
4
|
+
.pytest_cache/
|
|
5
|
+
.claude/settings.local.json
|
|
6
|
+
# Local MCP client config for the direct (no Holddown) comparison run; copy the example.
|
|
7
|
+
.mcp.direct.json
|
|
8
|
+
uv.lock
|
|
9
|
+
.ruff_cache/
|
|
10
|
+
# containerlab's runtime directory for the SR Linux lab
|
|
11
|
+
lab/srlinux/clab-holddown/
|
|
12
|
+
# an approver added while trying the SR Linux lab
|
|
13
|
+
lab/srlinux/allowed_signers
|
|
14
|
+
# an approver added while trying the Cisco lab
|
|
15
|
+
lab/cml/allowed_signers
|
|
16
|
+
# an approver added while trying the IOS XE lab
|
|
17
|
+
lab/cml-iosxe/allowed_signers
|
|
18
|
+
# an approver added while trying the IOS XR lab
|
|
19
|
+
lab/cml-iosxr/allowed_signers
|
|
20
|
+
# your own routers, copied from devices.example.json
|
|
21
|
+
lab/junos-netconf/devices.json
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.18.0](https://github.com/Jitter00/holddown/compare/v0.17.0...v0.18.0) (2026-12-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* the SR Linux and IOS servers come with Holddown ([#35](https://github.com/Jitter00/holddown/issues/35)) ([6cffa29](https://github.com/Jitter00/holddown/commit/6cffa296c003639b8f531abe764af75fa46215ef))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug fixes
|
|
12
|
+
|
|
13
|
+
* the defaults and the README are for an installed Holddown, not for a checkout ([#36](https://github.com/Jitter00/holddown/issues/36)) ([41f6551](https://github.com/Jitter00/holddown/commit/41f655162b49c4051703644d71a734f36ea169fe))
|
|
14
|
+
|
|
15
|
+
## [0.17.0](https://github.com/Jitter00/holddown/compare/v0.16.0...v0.17.0) (2026-12-04)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* the NETCONF adapters take execute_command_batch ([#31](https://github.com/Jitter00/holddown/issues/31)) ([3482185](https://github.com/Jitter00/holddown/commit/348218507f461e5f74a3d5bea65b663b72afafdb))
|
|
21
|
+
|
|
22
|
+
## [0.16.0](https://github.com/Jitter00/holddown/compare/v0.15.0...v0.16.0) (2026-12-04)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* the NETCONF adapters run multivendor-netconf-mcp with host key checking ([#29](https://github.com/Jitter00/holddown/issues/29)) ([dd95d7c](https://github.com/Jitter00/holddown/commit/dd95d7cf9677f51566642ecbca93832323d224f1))
|
|
28
|
+
|
|
29
|
+
## [0.15.0](https://github.com/Jitter00/holddown/compare/v0.14.0...v0.15.0) (2026-12-03)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### ⚠ BREAKING CHANGES
|
|
33
|
+
|
|
34
|
+
* lab/netconf_mcp.py is gone. A policy that runs it has to run multivendor-netconf-mcp, and the routers' model tables have to be read again with its --models, into its own state folder.
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* the NETCONF adapters run multivendor-netconf-mcp ([#27](https://github.com/Jitter00/holddown/issues/27)) ([2fde451](https://github.com/Jitter00/holddown/commit/2fde451bb93d4ab8f003984e6356aed4e4d03ad4))
|
|
39
|
+
|
|
40
|
+
## [0.14.0](https://github.com/Jitter00/holddown/compare/v0.13.0...v0.14.0) (2026-12-03)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* the agent is told the command rules with the command tool ([#25](https://github.com/Jitter00/holddown/issues/25)) ([6840be0](https://github.com/Jitter00/holddown/commit/6840be0cf86b927fba0024eada3b1ed804b964ab))
|
|
46
|
+
|
|
47
|
+
## [0.13.0](https://github.com/Jitter00/holddown/compare/v0.12.0...v0.13.0) (2026-12-03)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Features
|
|
51
|
+
|
|
52
|
+
* junos_netconf adapter, for Junos through the lab's NETCONF server ([#23](https://github.com/Jitter00/holddown/issues/23)) ([a479db7](https://github.com/Jitter00/holddown/commit/a479db730a81df1f29beadb0fc5a763002dca1f9))
|
|
53
|
+
|
|
54
|
+
## [0.12.0](https://github.com/Jitter00/holddown/compare/v0.11.4...v0.12.0) (2026-12-03)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Features
|
|
58
|
+
|
|
59
|
+
* Junos in the lab's NETCONF server ([#21](https://github.com/Jitter00/holddown/issues/21)) ([47d5013](https://github.com/Jitter00/holddown/commit/47d5013fb02614f5c14f3666a12ea249238a1fc5))
|
|
60
|
+
|
|
61
|
+
## [0.11.4](https://github.com/Jitter00/holddown/compare/v0.11.3...v0.11.4) (2026-12-03)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Bug fixes
|
|
65
|
+
|
|
66
|
+
* classify IOS XE and IOS XR changes by their path, with list keys from the router's YANG modules ([#19](https://github.com/Jitter00/holddown/issues/19)) ([87b554a](https://github.com/Jitter00/holddown/commit/87b554ab56e5a6d62290ccad303f9b3a4ee8f8d3))
|
|
67
|
+
|
|
68
|
+
## [0.11.3](https://github.com/Jitter00/holddown/compare/v0.11.2...v0.11.3) (2026-12-03)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### Bug fixes
|
|
72
|
+
|
|
73
|
+
* Junos groups with a quoted name or a wildcard interface are lockout ([#17](https://github.com/Jitter00/holddown/issues/17)) ([aa19c7d](https://github.com/Jitter00/holddown/commit/aa19c7d13b36e970433cddb6f515108b9b5dd4c2))
|
|
74
|
+
|
|
75
|
+
## [0.11.2](https://github.com/Jitter00/holddown/compare/v0.11.1...v0.11.2) (2026-12-03)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Bug fixes
|
|
79
|
+
|
|
80
|
+
* bastion findings from an install on a fresh host ([#15](https://github.com/Jitter00/holddown/issues/15)) ([55b4558](https://github.com/Jitter00/holddown/commit/55b4558658b53a709c4a04647d1dadf151c56b9e))
|
|
81
|
+
|
|
82
|
+
## [0.11.1](https://github.com/Jitter00/holddown/compare/v0.11.0...v0.11.1) (2026-12-01)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
### Bug fixes
|
|
86
|
+
|
|
87
|
+
* try again when a router cannot be asked whether it rolled back ([d6cbd90](https://github.com/Jitter00/holddown/commit/d6cbd907b0f3f6c6ff795d90217e01aa7d03d3ed))
|
|
88
|
+
|
|
89
|
+
## [0.11.0](https://github.com/Jitter00/holddown/compare/v0.10.1...v0.11.0) (2026-12-01)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Features
|
|
93
|
+
|
|
94
|
+
* holddown sweep, to look at routers after a timer with no agent connected ([f88c6e5](https://github.com/Jitter00/holddown/commit/f88c6e58c340c34952050fbd4555e2ad43f7e89e))
|
|
95
|
+
|
|
96
|
+
## [0.10.1](https://github.com/Jitter00/holddown/compare/v0.10.0...v0.10.1) (2026-12-01)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Bug fixes
|
|
100
|
+
|
|
101
|
+
* take commits on one router one at a time, across proxies ([0ea79a9](https://github.com/Jitter00/holddown/commit/0ea79a9390fb46804bd31b6a48d9999b1aa092c1))
|
|
102
|
+
|
|
103
|
+
## [0.10.0](https://github.com/Jitter00/holddown/compare/v0.9.0...v0.10.0) (2026-12-01)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Features
|
|
107
|
+
|
|
108
|
+
* keep dry-run plans and approval requests across a reconnect ([9e31c0d](https://github.com/Jitter00/holddown/commit/9e31c0de5865c2786e63a2000daa3158ae2e3de0))
|
|
109
|
+
|
|
110
|
+
## [0.9.0](https://github.com/Jitter00/holddown/compare/v0.8.0...v0.9.0) (2026-12-01)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Features
|
|
114
|
+
|
|
115
|
+
* keep unconfirmed commits on disk, across connections and engineers ([7b3cfc1](https://github.com/Jitter00/holddown/commit/7b3cfc18025c112748d977e6089d90feab03d71e))
|
|
116
|
+
* tell a person when a rule was set aside or a router did something else ([0df8dae](https://github.com/Jitter00/holddown/commit/0df8daef9d61b544f2d8851fbc8440ee47731cc4))
|
|
117
|
+
|
|
118
|
+
## [0.8.0](https://github.com/Jitter00/holddown/compare/v0.7.0...v0.8.0) (2026-12-01)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
### Features
|
|
122
|
+
|
|
123
|
+
* hold a confirm until the BGP sessions are what the change means ([aa4549e](https://github.com/Jitter00/holddown/commit/aa4549e311ea6100143a72b89d1c6aa31eff09cb))
|
|
124
|
+
|
|
125
|
+
## [0.7.0](https://github.com/Jitter00/holddown/compare/v0.6.0...v0.7.0) (2026-12-01)
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### Features
|
|
129
|
+
|
|
130
|
+
* check the router when a timer runs out, and cap the timer ([e496c6e](https://github.com/Jitter00/holddown/commit/e496c6e891abea6fb3d537916c3cd65736994e7a))
|
|
131
|
+
|
|
132
|
+
## [0.6.0](https://github.com/Jitter00/holddown/compare/v0.5.0...v0.6.0) (2026-12-01)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
### Features
|
|
136
|
+
|
|
137
|
+
* refuse to confirm a commit that differs from its dry run ([cd1ae85](https://github.com/Jitter00/holddown/commit/cd1ae852ea122885b89f38c1e8b310d87dceb7c0))
|
|
138
|
+
* treat more changes as a lockout ([19298d6](https://github.com/Jitter00/holddown/commit/19298d64f59f17dc9e73cb599678f3763fe1084f))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### Bug fixes
|
|
142
|
+
|
|
143
|
+
* refuse show commands that run a second command or write a file ([01ab58e](https://github.com/Jitter00/holddown/commit/01ab58e06d9e35afb98317228b1f8c1ef522bdbc))
|
|
144
|
+
|
|
145
|
+
## [0.5.0](https://github.com/Jitter00/holddown/compare/v0.4.0...v0.5.0) (2026-12-01)
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
### Features
|
|
149
|
+
|
|
150
|
+
* requester identity, a four-eyes rule with break-glass, and a commit tag ([99cc53c](https://github.com/Jitter00/holddown/commit/99cc53c00c35db34136f962d88d753141778e39a))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
### Bug fixes
|
|
154
|
+
|
|
155
|
+
* refuse Junos show commands whose pipe writes a file ([bd7af9f](https://github.com/Jitter00/holddown/commit/bd7af9f5ff31edddb0cba649b96c39e1c1bffe94))
|
|
156
|
+
* undo an unconfirmed change on IOS XE when the router does not ([1c578d7](https://github.com/Jitter00/holddown/commit/1c578d7b816801eb4311c5b2975de412f63ea003))
|
|
157
|
+
|
|
158
|
+
## [0.4.0](https://github.com/Jitter00/holddown/compare/v0.3.0...v0.4.0) (2026-12-01)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Features
|
|
162
|
+
|
|
163
|
+
* say at the dry run what the commit will meet ([2fa4271](https://github.com/Jitter00/holddown/commit/2fa427174ace375a7ca51c271beaf43e852c413f))
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
### Bug fixes
|
|
167
|
+
|
|
168
|
+
* keep known management interfaces while the inventory is unreadable ([dec0dc9](https://github.com/Jitter00/holddown/commit/dec0dc97a46e493c6e21f95a5f20f879c0fb376e))
|
|
169
|
+
|
|
170
|
+
## [0.3.0](https://github.com/Jitter00/holddown/compare/v0.2.0...v0.3.0) (2026-11-30)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Features
|
|
174
|
+
|
|
175
|
+
* add Cisco IOS support with a CML lab ([9692c63](https://github.com/Jitter00/holddown/commit/9692c6323884ed288df2d6d0fb79f0d7b3ccb78e))
|
|
176
|
+
* add Cisco IOS XE support over NETCONF with a CML lab ([764210c](https://github.com/Jitter00/holddown/commit/764210ce9111baae70f079047883c60ba77e2c43))
|
|
177
|
+
* add Cisco IOS XR support over NETCONF ([d59698a](https://github.com/Jitter00/holddown/commit/d59698a7739b76af64a66cc6e6b4881673e45727))
|
|
178
|
+
* add scripts to set up an agent machine and to admit its keys ([6e62ec6](https://github.com/Jitter00/holddown/commit/6e62ec62fbb9158c9c11d30db965e9311356461c))
|
|
179
|
+
* let one bastion run a proxy per upstream server ([0072991](https://github.com/Jitter00/holddown/commit/0072991fdab96191d250116cebb79976ccd5c5f4))
|
|
180
|
+
* read device facts from Nautobot as well ([67d9d0e](https://github.com/Jitter00/holddown/commit/67d9d0ef86f83a3eb8c8f59a891d4b8a7d5d7b81))
|
|
181
|
+
* read device facts from NetBox through its MCP server ([c7548ce](https://github.com/Jitter00/holddown/commit/c7548cee287f0f060c67c87ee33fcf3ecf07d607))
|
|
182
|
+
* use the common list of approvers when a policy has none of its own ([c480463](https://github.com/Jitter00/holddown/commit/c4804637242e0ef7e1f5575816d14419b2c4e7c6))
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
### Bug fixes
|
|
186
|
+
|
|
187
|
+
* name every bastion proxy the same way for agent machines ([f4aa505](https://github.com/Jitter00/holddown/commit/f4aa505553d85e8f6351f61c999640024e18b531))
|
|
188
|
+
|
|
189
|
+
## [0.2.0](https://github.com/Jitter00/holddown/compare/v0.1.0...v0.2.0) (2026-11-30)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### Features
|
|
193
|
+
|
|
194
|
+
* add Nokia SR Linux support with a containerlab lab ([54892c6](https://github.com/Jitter00/holddown/commit/54892c6a7f531bac72e45d7234467df723e1effc))
|
|
195
|
+
|
|
196
|
+
## [0.1.0](https://github.com/Jitter00/holddown/compare/v0.0.1...v0.1.0) (2026-11-30)
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
### Features
|
|
200
|
+
|
|
201
|
+
* initial public release ([3d1f78b](https://github.com/Jitter00/holddown/commit/3d1f78b0cc7e75433513f6eee0d4e3cedaa206fc))
|
holddown-0.18.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Cristian Bandea
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|