| Age | Commit message (Collapse) | Author |
|
Configuration files for config tests gathered from lab installations, customers
or our own networks were placed in multiple directories - all related to
the same thing.
We have had config-tests, configs and config.no-load. This commit re-arranges
all the files and places a proper README for the users.
|
|
For integration with CLI completion and shell internal functions, use
vyconf_cli_compat for replacing needed calls of cli-shell-api.
|
|
anywhere
Fix this build warning by placing the vyos_net_name script in it's own udev
folder to not accidently be copied to a wrong location.
|
|
Commit content of 562c21cb8 was lost in translation while integrating
the libvyosconfig code as mono repo. This restores the behavior.
|
|
* https://github.com/vyos/libvyosconfig: (107 commits)
T7728: T7734: update commit hash for dynamically generate proposed config
T7728: add package build target for convenience
T7718: update commit hashes for validate_tree_filter
T7718: add binding for validate_tree_filter
T7688: update commit hash for correct management of delete paths
T7644: mirror workflow refactoring rollout
T7637: T7605: update commit hashes for typo and escape backslash
T7579: fix of the run trigger for CLA
T7499: update hashes for add destructive merge
T7499: set permissions on session directory
T7499: bindings for (non-)destructive configtree merge
T7579: added workflow for CLA
T7374: bump vyconf commit id for build.sh
T7374: install vyconf_cli and add links for associated vy_* commands
T7445: added open prs conflict check caller workflow
T7450: fix dependency for use of PCRE2 instead of PCRE
T7363: update hash for vyconf aware initialization of Config
T7450: update commit hashes for Use PCRE2 instead of PCRE
T7334: pr mirror trigger workflow added with label creation permission for default github token
T7321: update commit hashes for replace configsession legacy operations
...
|
|
This extends commit 53d8ed6cc01e ("Debian: T7762: adjust vyos-1x package version
to not mention 1.5 in any way") with a counter that counts the number of commits
since the beginning to become HEAD. It kind of mimics "git describe --tags"
where commits after the last Git tag are counted.
Why do we need it? It's better for sorting multiple revisions of the vyos-1x
package, as we are unable to sort using a commit ID which was the commit before
one or another.
Packages are now named e.g.:
vyos-1x_999.0-12876-gb1b4545cb_amd64.deb
vyos-1x-aws_999.0-12876-gb1b4545cb_all.deb
vyos-1x-dbgsym_999.0-12876-gb1b4545cb_amd64.deb
vyos-1x-smoketest_999.0-12876-gb1b4545cb_all.deb
vyos-1x-vmware_999.0-12876-gb1b4545cb_all.deb
Meaning it is the 12876th commit since repo start and the commit ID used
for the build is b1b4545cb.
|
|
We've always used 999 as a kind of special super development version. Right now
when a vyos-1x package is build from the current branch it's named like:
vyos-1x_1.5dev0-3578-g2f1d1d343_all.deb
marking the 3578th commit after tag 1.5dev0 was created ad some random point in
time. The current Git repo commit id is 2f1d1d343.
To clearly unbind this from the 1.4, 1.5 and rolling development branch the
naming scheme of the package should be changed to:
vyos-1x_999.0-g5c03a86c0_amd64.deb
marking it a development package build from Git (g) from commit 5c03a86c0
-rw-r--r-- 1 vyos vyos 11922 Aug 28 17:06 vyos-1x_999.0_amd64.buildinfo
-rw-r--r-- 1 vyos vyos 2820 Aug 28 17:06 vyos-1x_999.0_amd64.changes
-rw-r--r-- 1 vyos vyos 2129880 Aug 28 17:06 vyos-1x_999.0-g5c03a86c0_amd64.deb
-rw-r--r-- 1 vyos vyos 5020 Aug 28 17:06 vyos-1x-aws_999.0-g5c03a86c0_all.deb
-rw-r--r-- 1 vyos vyos 2680 Aug 28 17:06 vyos-1x-dbgsym_999.0-g5c03a86c0_amd64.deb
-rw-r--r-- 1 vyos vyos 236228 Aug 28 17:06 vyos-1x-smoketest_999.0-g5c03a86c0_all.deb
-rw-r--r-- 1 vyos vyos 3216 Aug 28 17:06 vyos-1x-vmware_999.0-g5c03a86c0_all.deb
|
|
Since AWS Gateway Load Balancer is specific to the AWS platform, its CLI and
binary dependencies don’t need to be included in generic images.
This commit removes the AWS GLB CLI definitions from all images and introduces
a new vyos-1x-aws package to provide the necessary CLI configuration and binary
dependencies.
|
|
|
|
|
|
|
|
To simplify updating in case of supplemental interface-definitions from
addons, the reftree cache(s) are moved to an independent directory.
|
|
Drop newlines added by macro statement and Jinja2 comments. Jinja2 comments
will be removed during package build on the shipped files.
|
|
As we are generating the reference tree from the XML definitions during
build, save an internal representation for vyconfd to load on startup.
|
|
|
|
|
|
|
|
|
|
This extends commit 2c3e4696b3e22 ("T2267: Versioning: Update version tag from
GIT repo") to also include release tags.
|
|
results
|
|
|
|
|
|
|
|
|
|
... this is a step towards a new and better implementation that will utilize
VPP.
|
|
|
|
|
|
Skip dh_strip_nondeterminism - this is very time consuming and we have no non
deterministic output (yet).
|
|
FRR also expects the MIBs in /usr/share/snmp/mibs
|
|
|
|
|
|
|
|
|
|
The CLI command 'set interfaces ethernet <interface> offload-options xdp" enables
the XDP generic mode on the given interface.
vyos@vyos:~$ show interfaces ethernet eth1
eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 xdpgeneric/id:151 qdisc mq state DOWN group default qlen 1000
link/ether 00:50:56:bf:ef:aa brd ff:ff:ff:ff:ff:ff
inet6 fe80::250:56ff:febf:efaa/64 scope link tentative
valid_lft forever preferred_lft forever
Description: fooa
XDP code is thankfully copied from [1], thank you for this nice tutorial.
NOTE: this is an experimental feature which might break your
forwarding/filtering.
[1]: https://medium.com/swlh/building-a-xdp-express-data-path-based-peering-router-20db4995da66
|
|
|
|
|
|
vyos-smoketest-integration (T2832)
* 'master' of github.com:vyos/vyos-smoketest: (153 commits)
pppoe-server: test some more values
lcd: adjust to cli changes
lcd: adapt test to new CLI design
pppoe-server: initial smoketest with local and radius auth
pppoe: validate dhcpv6 client will be started
wireless: validate hostapd/wpa_supplicant is running
pppoe: sync to new dhcpv6-pd cli
anyconnect: T2812: add basic testing
ethernet: check interface disable state
router-advert: check 'infinity' option in script logic
ssh: config file is now volatile (moved to /run)
ipv6: link-local: test address assignment on interfaces
router-advert: add initial test
mdns-repeater: add basic test
pseudo-ethernet: extend smoketests with VIFs
l2tpv3: add initial interface test
wireless: use library function for loading kernel modules
ethernet: test "ip" subtree of interface for e.g. ARP settings
pppoe: use assertEqual()
service: bcast-relay: add initial tests
...
|
|
|
|
This commit will update the version field of the generated deb package from the git repo version tag.
the tag needs to be in the format "vyos/<version>" eg. "vyos/1.2.5" 1.2.5 is then used as the version
The version field will be one of the following syntaxes:
on a commit:
- <version>-<commits from tag>-g<commit id>
eg. 1.2.5-4-g23232343
on a commit with unstaged changes:
- <version>-<commits from tag>-g<commit id>+dirty
eg. 1.2.5-4-g23232343+dirty
This will make it clear what state the repo was in when the package was generated.
It is possible to remove the number and commit id on the tagged commit, but i've decided to use the same
format for all commits tagged or not. as for now the tagged commit will be sufixed with -0-g<commit id>
if no valid tag is recieved from `git describe`, the script uses a 0.0 version number.
The changelog is also updated to reflext that we dont use it and refers to the Git Changelog and vyos release-notes
|
|
|
|
Commit 7e00ffa ("Debian: add vyos-1x-vmware package") added a new subpackage,
but by adding this package it was forgotton to create the appropriate
vyos-1x.install file.
|
|
|
|
This change allows for later additional package creation, e.g. vyos-1x-vmware.
|
|
|
|
|
|
|
|
|
|
|
|
tftp-hpa which is the TFTP daemon used by VyOS does not support
listening on multiple IP adresses. With this limitation we will start
one TFTP daemon instance per configured listen-address via systemd.
|
|
Examples:
=========
CFG commands:
vyos@vyos# set protocols igmp-proxy disable-quickleave
vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.16.35.0/24'
vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.31.0.0/24'
vyos@vyos# set protocols igmp-proxy interface eth0 role 'upstream'
vyos@vyos# set protocols igmp-proxy interface eth1 role 'downstream'
vyos@vyos# show protocols
igmp-proxy {
disable-quickleave
interface eth0 {
alt-subnet 172.16.35.0/24
alt-subnet 172.31.0.0/24
role upstream
}
interface eth1 {
role downstream
}
}
OP mode commands:
-----------------
vyos@vyos:~$ show ip multicast interface
Interface BytesIn PktsIn BytesOut PktsOut Local
eth0 0.0b 0 0.0b 0 xxx.xxx.xxx.65
eth1 0.0b 0 0.0b 0 xxx.xxx.xx.201
vyos@vyos:~$ show ip multicast mfc
Group Origin Pkts Bytes Wrong In Out
xxx.x.xx.1 xxx.xx.0.1 10 9.81KB 0 eth0 eth1
xxx.x.xx.2 xxx.xx.0.1 --
|