diff options
m--------- | docs/_include/vyos-1x | 0 | ||||
-rw-r--r-- | docs/automation/command-scripting.rst | 40 | ||||
-rw-r--r-- | docs/changelog/1.3.rst | 36 | ||||
-rw-r--r-- | docs/changelog/1.4.rst | 40 |
4 files changed, 108 insertions, 8 deletions
diff --git a/docs/_include/vyos-1x b/docs/_include/vyos-1x -Subproject 812d9770619b968b04961aebf3944fde13df491 +Subproject 529af7898d062b42ac33e15bfdc62c14184e098 diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst index 14f2edfa..4486b0c9 100644 --- a/docs/automation/command-scripting.rst +++ b/docs/automation/command-scripting.rst @@ -46,6 +46,32 @@ prepended with ``run``, even if you haven't created a session with configure. run show interfaces exit +Run commands remotely +--------------------- + +Sometimes you simply wan't to execute a bunch of op-mode commands via SSH on +a remote VyOS system. + +.. code-block:: none + + ssh 192.0.2.1 'vbash -s' <<EOF + source /opt/vyatta/etc/functions/script-template + run show interfaces + exit + EOF + +Will return: + +``` +Welcome to VyOS +Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down +Interface IP Address S/L Description +--------- ---------- --- ----------- +eth0 192.0.2.1/24 u/u +lo 127.0.0.1/8 u/u + ::1/128 +``` + Other script languages ---------------------- @@ -116,20 +142,20 @@ The default directories where your custom Scripts should be located are: .. code-block:: none - /config/scripts/commit/pre-hooks.d - Directory with scripts that run before + /config/scripts/commit/pre-hooks.d - Directory with scripts that run before each commit. /config/scripts/commit/post-hooks.d - Directory with scripts that run after each commit. -Scripts are run in alphabetical order. Their names must consist entirely of -ASCII upper- and lower-case letters,ASCII digits, ASCII underscores, and +Scripts are run in alphabetical order. Their names must consist entirely of +ASCII upper- and lower-case letters,ASCII digits, ASCII underscores, and ASCII minus-hyphens.No other characters are allowed. .. note:: Custom scripts are not executed with root privileges (Use sudo inside if this is necessary). -A simple example is shown below, where the ops command executed in +A simple example is shown below, where the ops command executed in the post-hook script is "show interfaces". .. code-block:: none @@ -144,7 +170,7 @@ the post-hook script is "show interfaces". eth2 - u/u eth3 - u/u lo 203.0.113.5/24 u/u - + Preconfig on boot ----------------- @@ -159,9 +185,9 @@ The default file looks like this: .. code-block:: none #!/bin/sh - # This script is executed at boot time before VyOS configuration is applied. + # This script is executed at boot time before VyOS configuration is applied. # Any modifications required to work around unfixed bugs or use - # services not available through the VyOS CLI system can be placed here. + # services not available through the VyOS CLI system can be placed here. Postconfig on boot diff --git a/docs/changelog/1.3.rst b/docs/changelog/1.3.rst index ab805dac..a7291590 100644 --- a/docs/changelog/1.3.rst +++ b/docs/changelog/1.3.rst @@ -8,6 +8,42 @@ _ext/releasenotes.py +2022-02-20 +========== + +* :vytask:`T4261` (feature): MACsec: add DHCP client support +* :vytask:`T4203` (bug): Reconfigure DHCP client interface causes brief outages + + +2022-02-19 +========== + +* :vytask:`T4258` (bug): [DHCP-SERVER] error parameter on Failover + + +2022-02-17 +========== + +* :vytask:`T4241` (bug): ocserv openconnect looks broken in recent bulds of 1.3 Equuleus +* :vytask:`T4255` (bug): Unexpected print of dict bridge on delete +* :vytask:`T4240` (bug): Cannot add wlan0 to bridge via configure +* :vytask:`T4154` (bug): Error add second gre tunnel with the same source interface + + +2022-02-16 +========== + +* :vytask:`T4237` (bug): Conntrack-sync error - error adding listen-address command + + +2022-02-15 +========== + +* :vytask:`T4201` (bug): Firewall - ICMPv6 matches not working as expected on 1.3.0 +* :vytask:`T3006` (bug): Accel-PPP & vlan-mon config get invalid VLAN +* :vytask:`T3494` (bug): DHCPv6 leases traceback when PD using + + 2022-02-13 ========== diff --git a/docs/changelog/1.4.rst b/docs/changelog/1.4.rst index 1f67151b..a562ddb0 100644 --- a/docs/changelog/1.4.rst +++ b/docs/changelog/1.4.rst @@ -8,6 +8,45 @@ _ext/releasenotes.py +2022-02-20 +========== + +* :vytask:`T4254` (feature): VPN IPSec charon add options cisco_flexvpn and install_virtual_ip_on +* :vytask:`T4249` (feature): Add support for device mapping in containers +* :vytask:`T3617` (bug): IPSec 1.4 generate invalid configuration +* :vytask:`T4261` (feature): MACsec: add DHCP client support +* :vytask:`T4203` (bug): Reconfigure DHCP client interface causes brief outages + + +2022-02-19 +========== + +* :vytask:`T4258` (bug): [DHCP-SERVER] error parameter on Failover + + +2022-02-17 +========== + +* :vytask:`T4255` (bug): Unexpected print of dict bridge on delete +* :vytask:`T4240` (bug): Cannot add wlan0 to bridge via configure +* :vytask:`T4154` (bug): Error add second gre tunnel with the same source interface + + +2022-02-16 +========== + +* :vytask:`T4237` (bug): Conntrack-sync error - error adding listen-address command + + +2022-02-15 +========== + +* :vytask:`T4160` (bug): Firewall - Error in rules that matches everything except something +* :vytask:`T3006` (bug): Accel-PPP & vlan-mon config get invalid VLAN +* :vytask:`T3494` (bug): DHCPv6 leases traceback when PD using +* :vytask:`T1292` (bug): Issues while deleting all rules from a firewall + + 2022-02-13 ========== @@ -180,7 +219,6 @@ * :vytask:`T4182` (bug): Show vrrp if vrrp not configured bug * :vytask:`T4179` (feature): Add op-mode CLI for show high-availability virtual-server * :vytask:`T4177` (bug): Strip-private doesn't work for service monitoring -* :vytask:`T1972` (feature): Allow setting interface name for virtual_ipaddress in VRRP VRID 2022-01-13 |