Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
This change addressed to fix bug with empty configuration after FRR restarting in some cases and protect from some other potential problems.
* added warning and request for confirmation before doing any actions
* added a couple of safety checks (already running restart, active watchfrr.sh or vtysh session)
* now Python script running via sudo to give us the ability to get processes information and work with all directories and vtysh
* moved configuration restoring functionality from frrcommon.sh to Python script, as frrcommon.sh implementation in some cases not load configuration in time, which leads to empty config after
* the `/etc/frr/frr.conf` is not used anymore. Instead, we are saving active configuration to the temporary directory
|
|
It can be restarted the whole FRRouting (all running) daemons or only selected ones.
The configuration is saving during the restart process, so after it, the active config should be the same as before.
There are no checks for safety, so responsibility for the results of running command is fully on the operator.
|
|
|
|
|
|
This patch keep compatibility with old configuration and software, but now it is much easier to add a lot of other useful things
Completely replaces vyatta-netflow package (except some outdated and not available via CLI parts)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
naming.
|
|
|
|
This reverts commit e85c90bf3188c24c6a88c6a96a0d7fc30c221905.
|
|
in favor for 'show wireguard keypairs...'
|
|
|
|
- param key location added in op-mode script
- param delkey and listkey implemented in op-mode script
- param delkey implemented in op-mode script
- generate and store named keys
- interface implementation tu use cli option
'private-key'
|
|
|
|
|
|
vyos@vyos:~$ show openvpn site-to-site
OpenVPN status on vtun1
Client CN Remote Host Local Host TX bytes RX bytes Connected Since
--------- ----------- ---------- -------- -------- ---------------
None (PSK) N/A 172.18.201.10:1195 3.3 KiB 3.3 KiB N/A
vyos@vyos:~$ show openvpn server
OpenVPN status on vtun10
Client CN Remote Host Local Host TX bytes RX bytes Connected Since
--------- ----------- ---------- -------- -------- ---------------
client1 172.18.202.10:58644 172.18.201.10:1194 63.6 KiB 63.4 KiB Mon Aug 26 11:47:56 2019
client3 172.18.204.10:52641 172.18.201.10:1194 63.1 KiB 62.7 KiB Mon Aug 26 11:47:58 2019
OpenVPN status on vtun11
Client CN Remote Host Local Host TX bytes RX bytes Connected Since
--------- ----------- ---------- -------- -------- ---------------
client2 172.18.203.10:39472 172.18.201.10:1200 61.2 KiB 61.5 KiB Mon Aug 26 11:50:30 2019
|
|
|
|
python/xml syntax
|
|
|
|
[op-mode] T1590 xml-style rewrite of 'show system' operations
|
|
|
|
T1548 openvpn
|
|
vyos@vyos:~$ reset openvpn interface vtun10
|
|
vyos@vyos:~$ run reset openvpn client client1
|
|
|
|
|
|
* added validations for "source address IP" and "bfd peer IP"
* added check for configuring multihop together with an interface name
* fixed "show protocols bfd peer X" for peers with custom options
|
|
|
|
|
|
- node.def deletion for show remote-access
- IPSec interface checking for L2TP
- IPSec x509 for l2tp
- verification of outside-address to warning since it was optional in the previous config
|
|
|
|
Replace PPPoE to PPTP
|
|
|
|
T1470: improve output of "show dhcpv6 server leases"
|
|
* chap-secrets file generation
* noauth in accel config as option
* local auth with csid implemented
* radius implementation
* shaper per user implemented
* op comands for stats
|
|
- change DUID to IAID_DUID
- format IAID_DUID as colon-separated hex list
- implement functions: pool, sort, state
- add op-mode definitions for pool, sort, state
- add columns: State, Type, Last communication, Pool
- implement json output
- implement completionHelp function
|
|
vyos@vyos:~$ show protocols bfd peer
BFD Peers:
peer 172.18.1.2 interface eth0.701
ID: 3762227714
Remote ID: 3787683864
Status: up
Uptime: 24 minute(s), 54 second(s)
Diagnostics: ok
Remote diagnostics: ok
Local timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
Remote timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
peer 172.18.0.2 interface eth0.700
ID: 3132309989
Remote ID: 859733951
Status: up
Uptime: 25 minute(s), 24 second(s)
Diagnostics: ok
Remote diagnostics: ok
Local timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
Remote timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
vyos@vyos:~$ show protocols bfd peer
Possible completions:
<Enter> Execute the current command
172.18.0.2 Show Bidirectional Forwarding Detection (BFD) peer status
172.18.1.2
vyos@vyos:~$ show protocols bfd peer 1
172.18.0.2 172.18.1.2
vyos@vyos:~$ show protocols bfd peer 172.18.0.2
BFD Peer:
peer 172.18.0.2 interface eth0.700
ID: 3132309989
Remote ID: 859733951
Status: up
Uptime: 25 minute(s), 29 second(s)
Diagnostics: ok
Remote diagnostics: ok
Local timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
Remote timers:
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
|
|
|
|
Accessing Kernel DMI data (under /sys/class/dmi) requires elevated permission
and thus retrieving a Board Serial/UUID was not possible.
version.py is now called via sudo to gether all facts.
|