Skip to content

Commit 8f63323

Browse files
authored
Merge pull request #297 from KatharaFramework/develop
Kathará v3.7.6
2 parents dcb48fa + bb0b5f9 commit 8f63323

37 files changed

+1141
-156
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body:
2222
attributes:
2323
label: Kathará Version
2424
description: "Please provide the Kathará version you are using (`kathara -v`)."
25-
placeholder: "3.7.5"
25+
placeholder: "3.7.6"
2626
validations:
2727
required: true
2828
- type: textarea

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We release patches for security vulnerabilities only for the last version:
66

77
| Version | Supported Versions |
88
|---------|--------------------|
9-
| 3.7.5 | :white_check_mark: |
9+
| 3.7.6 | :white_check_mark: |
1010

1111
## Reporting a Vulnerability
1212

docs/kathara-lclean.1.ronn

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ kathara-lclean(1) -- Stop a Kathara network scenario
44

55
## SYNOPSIS
66

7-
`kathara lclean` [`-h`] [`-d` <DIRECTORY>] [<DEVICE_NAME> [<DEVICE_NAME> ...]]
7+
`kathara lclean` [`-h`] [`-d` <DIRECTORY>] [`--exclude` <DEVICE_NAME> [<DEVICE_NAME> ...]] [<DEVICE_NAME> [<DEVICE_NAME> ...]]
88

99
## DESCRIPTION
1010

@@ -22,6 +22,9 @@ By default, stops all the devices of the network scenario. If a list of <DEVICE_
2222
Cleans the Kathara network scenario that is located inside <DIRECTORY>.
2323
If no `-d` option is provided, assume the network scenario is located in the current directory.
2424

25+
* `--exclude` [<DEVICE_NAME> [<DEVICE_NAME> ...]]
26+
A list of device names. You can exclude certain devices of the network scenario from being shut down.
27+
2528
* `DEVICE_NAME`:
2629
A list of device names. Instead of shutting down the whole network scenario, only specified devices are stopped.
2730

docs/kathara-lrestart.1.ronn

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ kathara-lrestart(1) -- Restart a Kathara network scenario
77
`kathara lrestart` [`-h`] [`-F`] [`-l`]
88
[`--noterminals` | `--terminals` | `--privileged`] [`-d` <DIRECTORY>]
99
[`-o` [<OPTION> [<OPTION> ...]]] [`--xterm` <XTERM>]
10-
[`--no-hosthome` \| `--hosthome`] [`--no-shared` \| `--shared`] [<DEVICE_NAME> [<DEVICE_NAME> ...]]
10+
[`--no-hosthome` \| `--hosthome`] [`--no-shared` \| `--shared`] [`--exclude` <DEVICE_NAME> [<DEVICE_NAME> ...]]
11+
[<DEVICE_NAME> [<DEVICE_NAME> ...]]
1112

1213

1314
## DESCRIPTION
@@ -75,6 +76,9 @@ Mainly it has the same options of `lstart` with the lack of some options (e.g. `
7576

7677
Mount the `shared` directory inside the network scenario folder inside all devices on the special directory `/shared`. This is the default specified in `kathara.conf`(5) file.
7778

79+
* `--exclude` [<DEVICE_NAME> [<DEVICE_NAME> ...]]
80+
A list of device names. You can exclude certain devices of the network scenario from being restarted.
81+
7882
* `DEVICE_NAME`:
7983
A list of device names. Instead of restarting the whole network scenario, only specified devices are restarted.
8084

docs/kathara-lstart.1.ronn

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ kathara-lstart(1) -- Start a Kathara network scenario
66

77
`kathara lstart` [`-h`] [`--noterminals` \| `--terminals` \| `--privileged`]
88
[`-d` <DIRECTORY>] [`-F`] [`-l`] [`-o` [<OPTION> [<OPTION> ...]]] [`--xterm` <XTERM>]
9-
[`--print`] [`--no-hosthome` \| `--hosthome`] [`--no-shared` \| `--shared`] [<DEVICE_NAME> [<DEVICE_NAME> ...]]
9+
[`--print`] [`--no-hosthome` \| `--hosthome`] [`--no-shared` \| `--shared`] [`--exclude` <DEVICE_NAME> [<DEVICE_NAME> ...]]
10+
[<DEVICE_NAME> [<DEVICE_NAME> ...]]
1011

1112

1213
## DESCRIPTION
@@ -86,11 +87,14 @@ The configuration of a Kathara network scenario consists of some files described
8687

8788
Mount the `shared` directory inside the network scenario folder inside all devices on the special directory `/shared`. This is the default specified in `kathara.conf`(5) file.
8889

90+
* `--exclude` [<DEVICE_NAME> [<DEVICE_NAME> ...]]
91+
A list of device names. You can exclude certain devices of the network scenario from being started.
92+
8993
* `DEVICE_NAME`:
9094
A list of device names. Instead of starting the whole network scenario, only specified devices are started.
9195

9296
m4_include(footer.txt)
9397

9498
## SEE ALSO
9599

96-
`kathara`(1), `kathara-lclean`(1), `kathara-lrestart`(1), `kathara-ltest`(1), `kathara-linfo`(1), `kathara-lab.conf`(5), `kathara-lab.dep`(5), `kathara-lab.ext`(5)
100+
`kathara`(1), `kathara-lclean`(1), `kathara-lrestart`(1), `kathara-ltest`(1), `kathara-linfo`(1), `kathara-lab.conf`(5), `kathara-lab.dep`(5), `kathara-lab.ext`(5)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "kathara"
3-
version = "3.7.5"
3+
version = "3.7.6"
44
description = "A lightweight container-based network emulation tool."
55
readme = "README.md"
66
requires-python = ">=3.9"

scripts/Linux-Deb/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/make -f
22

3-
VERSION=3.7.5
3+
VERSION=3.7.6
44
DEBIAN_PACKAGE_VERSION=1
55
LAUNCHPAD_NAME=user
66
NO_BINARY_PACKAGES=pyroute2|pyuv|deepdiff

scripts/Linux-Deb/debian/changelog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
kathara (__VERSION__-__DEBIAN_PACKAGE_VERSION____UBUNTU_VERSION__) __UBUNTU_VERSION__; urgency=low
22

3-
* (Docker) Fix "rp_filter" issue on all platforms and Docker versions
4-
* (Docker) Fix Docker API objects reloading
3+
* Fix IPv6 disabling issue
4+
* Add the possibility to exclude machines while deploying a network scenario, both from CLI and Python APIs
55
* Minor fixes
66

77
-- Kathara Team <[email protected]> __DATE__

scripts/Linux-Pkg/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/make -f
22

3-
VERSION=3.7.5
3+
VERSION=3.7.6
44
PACKAGE_VERSION=1
55
AUR_NAME=user
66

scripts/Linux-Pkg/pkginfo/PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ prepare() {
2727
$srcdir/venv/bin/pip install --upgrade setuptools
2828
$srcdir/venv/bin/pip install -r $srcdir/Kathara-$pkgver/src/requirements.txt
2929
$srcdir/venv/bin/pip install -r $srcdir/Kathara-$pkgver/scripts/autocompletion/requirements.txt
30-
$srcdir/venv/bin/pip install nuitka
30+
$srcdir/venv/bin/pip install nuitka==2.3.3
3131
$srcdir/venv/bin/pip install pytest
3232
}
3333

3434
build() {
3535
cd $srcdir/Kathara-$pkgver/docs && make roff-build
3636
cd $srcdir/Kathara-$pkgver/scripts/autocompletion/ && $srcdir/venv/bin/python generate_autocompletion.py $srcdir/Kathara-$pkgver/scripts/autocompletion/kathara.bash-completion
3737
cd $srcdir/Kathara-$pkgver/ && $srcdir/venv/bin/python -m pytest tests
38-
cd $srcdir/Kathara-$pkgver/src/ && $srcdir/venv/bin/python -m nuitka --lto=no --plugin-enable=pylint-warnings --plugin-enable=multiprocessing --follow-imports --standalone --include-plugin-directory=Kathara --output-filename=kathara kathara.py
38+
cd $srcdir/Kathara-$pkgver/src/ && $srcdir/venv/bin/python -m nuitka --lto=yes --plugin-enable=pylint-warnings --plugin-enable=multiprocessing --follow-imports --standalone --include-plugin-directory=Kathara --output-filename=kathara kathara.py
3939
}
4040

4141
package() {

0 commit comments

Comments
 (0)