Age | Commit message (Collapse) | Author |
|
|
|
geneve: T2350: fix creation of interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 'ipoe-server' of github.com:c-po/vyos-1x:
pppoe-server: T2314: fix RADIUS migration
vyos.configtree: bugfix exception message used non existent variable
ipoe-server: T2324: migrate RADIUS configuration to common CLI syntax
ipoe-server: T2324: migrate IPv4/IPv6 name-servers to common node
ipoe-server: T2324: remove boilerplate code and adjust to other accel implementations
router-advert: rename XML/Python files for a common pattern
ipoe-server: rename XML/Python files for a common pattern
|
|
|
|
|
|
implementations
|
|
|
|
op_mode: T2223: convert vyatta-show-interfaces.pl to show_interfaces.py
|
|
|
|
After migrating PowerDNS to systemd and also its configuration files to a
volatile directory in commit 77d725f ("dns-forwarding: T2185: move configuration
files to volatile /run directory") the path for the control file has not
been altered and pushed to the client rec_control binary"
|
|
|
|
All operational command are moved within an Operational
class and an inherited on for wireguard.
|
|
Tidied up the code and moved it under VRRP in view to use
with show-interface (which has VRRP filtering)
No change in functionality
|
|
allow to setup the debugging from environment variables.
allow to set the name of the file used for logging
change the name of the debug options to be:
- developer: enable pdb of raise
- log: all logging messages are logged to a file
- ifconfig: show on screen action peformed to change intefaces
- command: print all the result of command to screen
also provide a way to setup the debugging using environment
variables.
|
|
|
|
convert all call to jinja to use template.render
|
|
|
|
ifconfig: T31: add skeleton VTI and input classes
|
|
|
|
also add a function to Section which provides a list of reserved names
|
|
|
|
util: T2226: improvement and fixes
|
|
Use the data in the default dict of the interface to generate
the output of list interface.
|
|
update all code using the API. Interface.interfaces() could be
used but the code was change to use Section.interfaces() which
make more sense when reading it.
|
|
While the class does indeed all the registration, it work is
really to map classes to interface section.
ie: interface ethernet -> EthernetIf
Therefore it can also list which interface are from which
type, therefore the name change. Other function name will
also be renamed as a consequence
|
|
|
|
|
|
Change the code to let stderr passthrough to the screen
as it is the behaviout of os.system and subprocess.call/check_out
The input feature was not working and was fixed
Also always convert '\r\n' to '\n'
|
|
dhcp: T2265: refactor DHCP class
|
|
|
|
Currently the pattern is to import jinja2 and re-generate
the template in every file. Dimitriy reported a reduction
in performance (1s) when commiting.
This code provide an helper function which caches the
Environment and template renderer, and can generate
template from one line (instead of the few currently)
|
|
Break the code between v4 and v6, remove need for getter/setter
as they are just exposing the underlying dict.
Move FixedDict from tunnel code and expose it to other part so
it can be used to prevent accidental change to the dhcp option if
no default exists already.
|
|
|
|
This reverts commit 10717c6a3cdf7da7025b03c1abdbd813b4970b19.
|
|
This is a base requirement for l2vpn evpn. When source-address is configured,
the option "local <source-addr> nolearning" is appended when creating the
interface as mentioned here: https://vincent.bernat.ch/en/blog/2017-vxlan-bgp-evpn
|
|
* 'vxlan' of github.com:c-po/vyos-1x:
vxlan: pseudo-ethernet: T2260: convert link nodes to source-interface
wireguard: T2206: fix comment in migration script
pppoe: enable Jinja2 trim_blocks
|
|
|
|
os.system does print the ouput of the command, run() does not.
A new function called call() does the printing and return the error code.
|
|
|
|
import: T2242: remove all import *
|
|
tunnel: T2028: fix remote and registration
|
|
airbag: T2186: report friendly user message and log to syslog
|
|
All interface classes register themselves so that we can figure
out from an interface name what class is responsible for its
creation. In the case of Tunnel, it is not the case as multiple
different interfaces are sharing the same "tun" prefix.
Still many operations are the same and it should be done.
|