Page MenuHomeVyOS Platform
Feed Search

Aug 3 2022

Viacheslav added a comment to T4586: Add to NAT66: SNAT destination address and DNAT source address..

PR https://github.com/vyos/vyos-1x/pull/1457

set nat66 destination rule 10 destination address '2001:db8:1111::/64'
set nat66 destination rule 10 inbound-interface 'eth1'
set nat66 destination rule 10 source address '!2001:db8::6/127'
set nat66 destination rule 10 translation address '2001:db8::444'
set nat66 source rule 10 destination prefix '2001:db8::2/128'
set nat66 source rule 10 outbound-interface 'eth1'
set nat66 source rule 10 source prefix '2001:db8:1111::/64'
set nat66 source rule 10 translation address 'masquerade'
set nat66 source rule 20 destination prefix '!2001:db8::6/127'
set nat66 source rule 20 outbound-interface 'eth1'
set nat66 source rule 20 source prefix '2001:db8:1111::/64'
set nat66 source rule 20 translation address 'masquerade'
Aug 3 2022, 1:07 PM · VyOS 1.4 Sagitta
Viacheslav added a subtask for T4470: Rewrite load-balancing wan to XML/Python: T4443: Wan Load Balancing Multiple Regressions.
Aug 3 2022, 10:48 AM · VyOS 1.5 Circinus (1.5-stream-2025-Q2), VyOS Rolling
Viacheslav added a parent task for T4443: Wan Load Balancing Multiple Regressions: T4470: Rewrite load-balancing wan to XML/Python.
Aug 3 2022, 10:48 AM · VyOS Rolling, Bugs
Viacheslav added a subtask for T4470: Rewrite load-balancing wan to XML/Python: T4587: wan load balance issues with 3 or more WANs.
Aug 3 2022, 10:47 AM · VyOS 1.5 Circinus (1.5-stream-2025-Q2), VyOS Rolling
Viacheslav added a parent task for T4587: wan load balance issues with 3 or more WANs: T4470: Rewrite load-balancing wan to XML/Python.
Aug 3 2022, 10:47 AM · Bugs, VyOS Rolling
Viacheslav added a project to T4587: wan load balance issues with 3 or more WANs: VyOS 1.4 Sagitta.
Aug 3 2022, 10:47 AM · Bugs, VyOS Rolling

Aug 2 2022

Viacheslav closed T4585: Rewrite op-mode containers to vyos.opmode , a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, as Resolved.
Aug 2 2022, 3:38 PM · VyOS Rolling
Viacheslav closed T4585: Rewrite op-mode containers to vyos.opmode as Resolved.
Aug 2 2022, 3:38 PM · VyOS 1.4 Sagitta
Viacheslav committed rVYOSONEX08cb76234720: containers: T4585: Add option restart to containers.py.
Aug 2 2022, 3:05 PM
Viacheslav added a comment to T4585: Rewrite op-mode containers to vyos.opmode .

PR https://github.com/vyos/vyos-1x/pull/1456

vyos@r14:~$ /usr/libexec/vyos/op_mode/container.py restart --name alp01
Container name "alp01" restarted!
vyos@r14:~$ 
vyos@r14:~$ /usr/libexec/vyos/op_mode/container.py restart --name alp02
Error: no container with name or ID alp02 found: no such container
vyos@r14:~$
Aug 2 2022, 2:36 PM · VyOS 1.4 Sagitta
Viacheslav claimed T4585: Rewrite op-mode containers to vyos.opmode .
Aug 2 2022, 2:15 PM · VyOS 1.4 Sagitta
Viacheslav committed rVYOSONEX7199af206cf8: graphql: T4544: Add overwritten scripts op-mode-standardized.json.
Aug 2 2022, 1:05 PM
Viacheslav changed the status of T4585: Rewrite op-mode containers to vyos.opmode , a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, from Open to In progress.
Aug 2 2022, 12:25 PM · VyOS Rolling
Viacheslav changed the status of T4585: Rewrite op-mode containers to vyos.opmode from Open to In progress.
Aug 2 2022, 12:25 PM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4544: Generate schema definitions from standardized op-mode scripts.

PR https://github.com/vyos/vyos-1x/pull/1455

curl -k --raw 'https://localhost/graphql' \
  -H 'Content-Type: application/json' \
  -d '{"query":" {\n ShowVrf (data: {key: \"foo\"}) {\n  success\n  errors\n  data {\n    result\n  }\n}\n}\n"}'

Getting data:

{"data":{"ShowVrf":{"success":true,"errors":null,"data":{"result":[{"ifname":"foo","operstate":"UP","address":"26:f6:35:05:7e:0a","flags":["NOARP","MASTER","UP","LOWER_UP"]}]}}}}
Aug 2 2022, 12:19 PM · VyOS 1.4 Sagitta
Viacheslav committed rVYOSONEX2958c9067f13: container: T4585: Rewrite show container.
Aug 2 2022, 11:02 AM
Viacheslav added a comment to T4585: Rewrite op-mode containers to vyos.opmode .

PR https://github.com/vyos/vyos-1x/pull/1454

Aug 2 2022, 11:00 AM · VyOS 1.4 Sagitta
Viacheslav created T4585: Rewrite op-mode containers to vyos.opmode .
Aug 2 2022, 10:28 AM · VyOS 1.4 Sagitta

Aug 1 2022

Viacheslav added a comment to T4572: Add an option to force interface MTU to the value received from DHCP.

PR for 1.3 https://github.com/vyos/vyos-1x/pull/1453

Aug 1 2022, 4:27 PM · VyOS 1.3 Equuleus (1.3.2), VyOS 1.4 Sagitta
Viacheslav edited projects for T4572: Add an option to force interface MTU to the value received from DHCP, added: VyOS 1.3 Equuleus (1.3.2); removed VyOS 1.3 Equuleus.
Aug 1 2022, 3:07 PM · VyOS 1.3 Equuleus (1.3.2), VyOS 1.4 Sagitta
Viacheslav committed rVYOSONEX29b0ee30bf26: mtu: T4572: Add DHCP-option MTU to get values from DHCP-server.
Aug 1 2022, 3:06 PM
Viacheslav added a comment to T4572: Add an option to force interface MTU to the value received from DHCP.

PR https://github.com/vyos/vyos-1x/pull/1452

Aug 1 2022, 1:30 PM · VyOS 1.3 Equuleus (1.3.2), VyOS 1.4 Sagitta
Viacheslav added a comment to T4572: Add an option to force interface MTU to the value received from DHCP.

To solve the issue with MTU over DHCP we can use some new options like mtu for example:

set interfaces ethernet eth0 dhcp-options mtu
Aug 1 2022, 12:24 PM · VyOS 1.3 Equuleus (1.3.2), VyOS 1.4 Sagitta
Viacheslav created T4583: Rewrite VRRP op-mode to vyos.opmode format.
Aug 1 2022, 10:04 AM · Bugs, VyOS Rolling
Viacheslav committed rVYOSONEXab84f1f3757b: vrf: T4562: Check VRF if it has not been configured.
Aug 1 2022, 8:56 AM
Viacheslav closed T4581: 'show system cpu' not working, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, as Resolved.
Aug 1 2022, 8:52 AM · VyOS Rolling
Viacheslav closed T4581: 'show system cpu' not working as Resolved.
Aug 1 2022, 8:52 AM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4562: Rewrite show vrf to new format.

Fix https://github.com/vyos/vyos-1x/pull/1451

Aug 1 2022, 8:47 AM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4562: Rewrite show vrf to new format.

If vrf not configured:

vyos@r14:~$ /usr/libexec/vyos/op_mode/vrf.py show
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/vrf.py", line 89, in <module>
    res = vyos.opmode.run(sys.modules[__name__])
  File "/usr/lib/python3/dist-packages/vyos/opmode.py", line 118, in run
    res = func(**args)
  File "/usr/libexec/vyos/op_mode/vrf.py", line 84, in show
    return _get_formatted_output(vrf_data)
  File "/usr/libexec/vyos/op_mode/vrf.py", line 68, in _get_formatted_output
    state = vrf.get('operstate').lower()
AttributeError: 'NoneType' object has no attribute 'lower'
vyos@r14:~$
Aug 1 2022, 8:32 AM · VyOS 1.4 Sagitta
Viacheslav changed the status of T4582: Router-advert: Preferred lifetime cannot equal valid lifetime in PIOs from Open to Needs testing.
Aug 1 2022, 7:54 AM · VyOS 1.3 Equuleus (1.3.3), VyOS 1.4 Sagitta
Viacheslav closed T4578: Rewrite show dns forwarding statistics to new format, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, as Resolved.
Aug 1 2022, 6:50 AM · VyOS Rolling
Viacheslav closed T4578: Rewrite show dns forwarding statistics to new format as Resolved.
Aug 1 2022, 6:50 AM · VyOS 1.4 Sagitta
Viacheslav committed rVYOSONEX66288ccfee99: dns-forwarding: T4578: Rewrite show dns forwarding.
Aug 1 2022, 5:28 AM
Viacheslav added a subtask for T4564: Root task for rewriting [op-mode] to vyos.opmode format: T4581: 'show system cpu' not working.
Aug 1 2022, 2:12 AM · VyOS Rolling
Viacheslav added a parent task for T4581: 'show system cpu' not working: T4564: Root task for rewriting [op-mode] to vyos.opmode format.
Aug 1 2022, 2:12 AM · VyOS 1.4 Sagitta

Jul 30 2022

Viacheslav added a comment to T4423: `reset dns forwarding all` can't clear all dns cache.

@dongjunbo What do you mean?
Could you send a real example? I don't see any issues (VyOS 1.3-stable-202207280515).

Jul 30 2022, 1:53 PM · VyOS 1.3 Equuleus (1.3.5)
Viacheslav changed the subtype of T4375: hairpin nat (nat reflector) "hijacks" all outgoing traffic on specified port to any destination from "Bug" to "Feature Request".
Jul 30 2022, 1:48 PM · VyOS Rolling
Viacheslav changed the status of T4578: Rewrite show dns forwarding statistics to new format, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, from Open to In progress.
Jul 30 2022, 1:45 PM · VyOS Rolling
Viacheslav changed the status of T4578: Rewrite show dns forwarding statistics to new format from Open to In progress.
Jul 30 2022, 1:45 PM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4578: Rewrite show dns forwarding statistics to new format.

PR https://github.com/vyos/vyos-1x/pull/1446

vyos@r14:~$ show dns forwarding statistics 
Cache entries    Max cache entries    Cache size
---------------  -------------------  ------------
71               10000                20.22 kbytes
vyos@r14:~$

Raw:

vyos@r14:~$ /usr/libexec/vyos/op_mode/dns.py show_forwarding_statistics --raw
{
    "aggressive-nsec-cache-entries": "0",
    "aggressive-nsec-cache-nsec-hits": "0",
    "aggressive-nsec-cache-nsec-wc-hits": "0",
    "aggressive-nsec-cache-nsec3-hits": "0",
    "aggressive-nsec-cache-nsec3-wc-hits": "0",
    "all-outqueries": "48",
    "answers-slow": "0",
    "answers0-1": "0",
    "answers1-10": "0",
    "answers10-100": "0",
    "answers100-1000": "0",
    "auth-zone-queries": "0",
    "auth4-answers-slow": "0",
    "auth4-answers0-1": "0",
    "auth4-answers1-10": "0",
    "auth4-answers10-100": "20",
    "auth4-answers100-1000": "9",
    "auth6-answers-slow": "0",
    "auth6-answers0-1": "19",
    "auth6-answers1-10": "0",
    "auth6-answers10-100": "0",
    "auth6-answers100-1000": "0",
    "cache-entries": "71",
    "cache-hits": "0",
    "cache-misses": "0",
    "case-mismatches": "0",
    "chain-resends": "0",
    "client-parse-errors": "0",
    "concurrent-queries": "0",
    "cpu-iowait": "10857",
    "cpu-msec-thread-0": "1242",
    "cpu-steal": "672",
    "dlg-only-drops": "0",
    "dnssec-authentic-data-queries": "0",
    "dnssec-check-disabled-queries": "0",
    "dnssec-queries": "0",
    "dnssec-result-bogus": "0",
    "dnssec-result-bogus-invalid-denial": "0",
    "dnssec-result-bogus-invalid-dnskey-protocol": "0",
    "dnssec-result-bogus-missing-negative-indication": "0",
    "dnssec-result-bogus-no-rrsig": "0",
    "dnssec-result-bogus-no-valid-dnskey": "0",
    "dnssec-result-bogus-no-valid-rrsig": "0",
    "dnssec-result-bogus-no-zone-key-bit-set": "0",
    "dnssec-result-bogus-revoked-dnskey": "0",
    "dnssec-result-bogus-self-signed-ds": "0",
    "dnssec-result-bogus-signature-expired": "0",
    "dnssec-result-bogus-signature-not-yet-valid": "0",
    "dnssec-result-bogus-unable-to-get-dnskeys": "0",
    "dnssec-result-bogus-unable-to-get-dss": "0",
    "dnssec-result-bogus-unsupported-dnskey-algo": "0",
    "dnssec-result-bogus-unsupported-ds-digest-type": "0",
    "dnssec-result-indeterminate": "0",
    "dnssec-result-insecure": "0",
    "dnssec-result-nta": "0",
    "dnssec-result-secure": "5",
    "dnssec-validations": "5",
    "dont-outqueries": "0",
    "ecs-queries": "0",
    "ecs-responses": "0",
    "edns-ping-matches": "0",
    "edns-ping-mismatches": "0",
    "empty-queries": "0",
    "failed-host-entries": "0",
    "fd-usage": "18",
    "ignored-packets": "0",
    "ipv6-outqueries": "19",
    "ipv6-questions": "0",
    "malloc-bytes": "0",
    "max-cache-entries": "10000",
    "max-mthread-stack": "0",
    "max-packetcache-entries": "500000",
    "negcache-entries": "4",
    "no-packet-error": "0",
    "nod-lookups-dropped-oversize": "0",
    "noedns-outqueries": "0",
    "noerror-answers": "0",
    "noping-outqueries": "0",
    "nsset-invalidations": "0",
    "nsspeeds-entries": "0",
    "nxdomain-answers": "0",
    "outgoing-timeouts": "0",
    "outgoing4-timeouts": "0",
    "outgoing6-timeouts": "0",
    "over-capacity-drops": "0",
    "packetcache-entries": "0",
    "packetcache-hits": "0",
    "packetcache-misses": "0",
    "policy-drops": "0",
    "policy-result-custom": "0",
    "policy-result-drop": "0",
    "policy-result-noaction": "0",
    "policy-result-nodata": "0",
    "policy-result-nxdomain": "0",
    "policy-result-truncate": "0",
    "proxy-protocol-invalid": "0",
    "qa-latency": "0",
    "qname-min-fallback-success": "0",
    "query-pipe-full-drops": "0",
    "questions": "0",
    "real-memory-usage": "21766144",
    "rebalanced-queries": "0",
    "record-cache-acquired": "1086473",
    "record-cache-contended": "0",
    "resource-limits": "19",
    "security-status": "1",
    "server-parse-errors": "0",
    "servfail-answers": "0",
    "spoof-prevents": "0",
    "sys-msec": "1853",
    "taskqueue-expired": "0",
    "taskqueue-pushed": "0",
    "taskqueue-size": "0",
    "tcp-client-overflow": "0",
    "tcp-clients": "0",
    "tcp-outqueries": "0",
    "tcp-questions": "0",
    "throttle-entries": "0",
    "throttled-out": "0",
    "throttled-outqueries": "0",
    "too-old-drops": "0",
    "truncated-drops": "0",
    "udp-in-errors": "0",
    "udp-noport-errors": "0",
    "udp-recvbuf-errors": "0",
    "udp-sndbuf-errors": "0",
    "unauthorized-tcp": "0",
    "unauthorized-udp": "0",
    "unexpected-packets": "0",
    "unreachables": "0",
    "uptime": "8820",
    "user-msec": "621",
    "variable-responses": "0",
    "x-our-latency": "0",
    "x-ourtime-slow": "0",
    "x-ourtime0-1": "0",
    "x-ourtime1-2": "0",
    "x-ourtime16-32": "0",
    "x-ourtime2-4": "0",
    "x-ourtime4-8": "0",
    "x-ourtime8-16": "0",
    "cache-size": "20.22"
}
Jul 30 2022, 1:42 PM · VyOS 1.4 Sagitta
Viacheslav claimed T4578: Rewrite show dns forwarding statistics to new format.
Jul 30 2022, 11:17 AM · VyOS 1.4 Sagitta
Viacheslav created T4578: Rewrite show dns forwarding statistics to new format.
Jul 30 2022, 11:17 AM · VyOS 1.4 Sagitta
Viacheslav added a comment to T3496: show conntrack-sync statistics shows a warning.

I can't reproduce it (VyOS 1.4-rolling-202207280217):

Jul 30 2022, 11:08 AM · VyOS 1.4 Sagitta
Viacheslav added a subtask for T4564: Root task for rewriting [op-mode] to vyos.opmode format: T4446: Unified CLI for displaying neithbors (ARP, IP, and NDP).
Jul 30 2022, 10:37 AM · VyOS Rolling
Viacheslav added a parent task for T4446: Unified CLI for displaying neithbors (ARP, IP, and NDP): T4564: Root task for rewriting [op-mode] to vyos.opmode format.
Jul 30 2022, 10:37 AM · VyOS 1.4 Sagitta
Viacheslav changed the status of T4089: Show nat destination rules shows ip address instead of interface 'any', a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, from In progress to Needs testing.
Jul 30 2022, 10:25 AM · VyOS Rolling
Viacheslav changed the status of T4089: Show nat destination rules shows ip address instead of interface 'any' from In progress to Needs testing.
Jul 30 2022, 10:25 AM · VyOS 1.4 Sagitta
Viacheslav committed rVYOSONEXfa8a09089af3: nat: T4089: Rewrite show nat destination rules.
Jul 30 2022, 10:19 AM
Viacheslav closed T4575: vyos.utill add new wrapper "rc_cmd" to get the return code and output as Resolved.
Jul 30 2022, 9:38 AM · VyOS 1.3 Equuleus (1.3.3), VyOS 1.4 Sagitta
Viacheslav changed the status of T4570: Exception when trying to set up VXLAN over Wireguard from In progress to Needs testing.
Jul 30 2022, 9:37 AM · VyOS 1.4 Sagitta
Viacheslav closed T4545: Rewrite show nat source rules, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, as Resolved.
Jul 30 2022, 9:35 AM · VyOS Rolling
Viacheslav closed T4545: Rewrite show nat source rules as Resolved.
Jul 30 2022, 9:35 AM · VyOS 1.4 Sagitta
Viacheslav changed the status of T4569: Rewrite show bridge to new format, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, from In progress to Needs testing.
Jul 30 2022, 9:33 AM · VyOS Rolling
Viacheslav changed the status of T4569: Rewrite show bridge to new format from In progress to Needs testing.
Jul 30 2022, 9:33 AM · VyOS 1.4 Sagitta
Viacheslav closed T4562: Rewrite show vrf to new format, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, as Resolved.
Jul 30 2022, 9:31 AM · VyOS Rolling
Viacheslav closed T4562: Rewrite show vrf to new format as Resolved.
Jul 30 2022, 9:31 AM · VyOS 1.4 Sagitta
Viacheslav closed T4543: Show source nat statistics shows incorrect interface, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, as Resolved.
Jul 30 2022, 9:29 AM · VyOS Rolling
Viacheslav closed T4543: Show source nat statistics shows incorrect interface as Resolved.
Jul 30 2022, 9:29 AM · VyOS 1.4 Sagitta
Viacheslav closed T4532: Flow-accounting IPv6 server/receiver bug as Resolved.
Jul 30 2022, 9:28 AM · VyOS 1.3 Equuleus (1.3.2)
Viacheslav closed T4503: Prevent op mode scripts from restarting services if there's a commit in progress as Resolved.
Jul 30 2022, 9:23 AM · VyOS 1.4 Sagitta
Viacheslav closed T4411: Add migration for service monitoring telegraf influxdb as Resolved.
Jul 30 2022, 9:20 AM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4089: Show nat destination rules shows ip address instead of interface 'any'.

PR https://github.com/vyos/vyos-1x/pull/1445

vyos@r14:~$ show nat destination rules 
Rule    Source     Destination    Proto    In-Int    Translation
------  ---------  -------------  -------  --------  -------------
100     0.0.0.0/0  0.0.0.0/0      TCP      eth0      192.0.2.40
        sport any  dport 3389                        port 80
380     0.0.0.0/0  203.0.113.5    TCP      any       192.0.2.5
        sport any  dport 443                         port 8443
vyos@r14:~$
Jul 30 2022, 9:11 AM · VyOS 1.4 Sagitta
Viacheslav changed the status of T4089: Show nat destination rules shows ip address instead of interface 'any', a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, from Open to In progress.
Jul 30 2022, 8:52 AM · VyOS Rolling
Viacheslav changed the status of T4089: Show nat destination rules shows ip address instead of interface 'any' from Open to In progress.
Jul 30 2022, 8:52 AM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4519: DHCPv6: "set show dhcpv6 server leases" should show DUID instead of IAID_DUID.

Change DUID to IAID_DUAID was in T1470
Not sure which format we should to use

Jul 30 2022, 8:08 AM · VyOS 1.4 Sagitta (1.4.0-GA)
Viacheslav added a comment to T4565: vlan aware bridge not working .

@c-po Bug exists after reboot (tested in 1.4)

Jul 30 2022, 7:05 AM · VyOS 1.4 Sagitta (1.4.0-GA), VyOS 1.3 Equuleus (1.3.2)
Viacheslav added a comment to T4549: Email notification functionality.

We have ssmtp, I think we can use it for notifications
There is an example of configuration
Need to test it and come up with a CLI
I don't know if should it be a part of set service event-handler xxx or some new CLI service like set service monitoring notification mail xxx

Jul 30 2022, 6:46 AM · VyOS Rolling
Viacheslav renamed T4549: Email notification functionality from Email functionality to Email notification functionality.
Jul 30 2022, 6:37 AM · VyOS Rolling
Viacheslav changed the status of T4577: WWAN commit failed which simple config from Open to Needs testing.
Jul 30 2022, 3:55 AM · VyOS 1.4 Sagitta

Jul 29 2022

Viacheslav closed T4518: Add XML for CLI conf mode load-balancing wan , a subtask of T4470: Rewrite load-balancing wan to XML/Python, as Resolved.
Jul 29 2022, 6:26 PM · VyOS 1.5 Circinus (1.5-stream-2025-Q2), VyOS Rolling
Viacheslav closed T4518: Add XML for CLI conf mode load-balancing wan as Resolved.
Jul 29 2022, 6:26 PM · VyOS 1.4 Sagitta
Viacheslav committed rVYOSONEXb3eca8c14e77: lb-wan: T4518: Add XML for conf mode load-balancing wan.
Jul 29 2022, 5:58 PM
Viacheslav committed rVYOSONEX14418b6d80ef: vyos.util: T4575: Add new wrapper "rc_cmd".
Jul 29 2022, 5:47 PM
Viacheslav committed rVYOSONEX97e0e0eb3ddc: bridge: T4569: Extend bridge.py for op-mode.
Jul 29 2022, 4:39 PM
Viacheslav committed rVYOSONEX319102b7f9ea: vxlan: T4570: Verify MTU for remote address if source not defined.
Jul 29 2022, 4:15 PM
Viacheslav committed rVYOSONEXf38729bd8d44: nat: T4543: Fix and rewrite show nat source statistics.
Jul 29 2022, 4:14 PM
Viacheslav committed rVYOSONEX5e7120a00278: vrf: T4562: Rewrite show vrf name xxx delete old script.
Jul 29 2022, 4:14 PM
Viacheslav renamed T4089: Show nat destination rules shows ip address instead of interface 'any' from Show nat rules shows ip address instead of interface 'any' to Show nat destination rules shows ip address instead of interface 'any'.
Jul 29 2022, 3:00 PM · VyOS 1.4 Sagitta
Viacheslav added a subtask for T4564: Root task for rewriting [op-mode] to vyos.opmode format: T4089: Show nat destination rules shows ip address instead of interface 'any'.
Jul 29 2022, 2:40 PM · VyOS Rolling
Viacheslav added a parent task for T4089: Show nat destination rules shows ip address instead of interface 'any': T4564: Root task for rewriting [op-mode] to vyos.opmode format.
Jul 29 2022, 2:40 PM · VyOS 1.4 Sagitta
Viacheslav claimed T4562: Rewrite show vrf to new format.
Jul 29 2022, 2:07 PM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4562: Rewrite show vrf to new format.

PR https://github.com/vyos/vyos-1x/pull/1443

vyos@r14:~$ show vrf foo
Name    State    MAC address        Flags                     Interfaces
------  -------  -----------------  ------------------------  ------------
foo     up       aa:de:40:58:2e:dd  noarp,master,up,lower_up  eth1.2
vyos@r14:~$ 
vyos@r14:~$ 
vyos@r14:~$ 
vyos@r14:~$ /usr/libexec/vyos/op_mode/vrf.py show --name bar --raw
[
    {
        "ifname": "bar",
        "operstate": "UP",
        "address": "ce:c1:4f:e8:dc:9a",
        "flags": [
            "NOARP",
            "MASTER",
            "UP",
            "LOWER_UP"
        ]
    }
]
vyos@r14:~$
Jul 29 2022, 2:06 PM · VyOS 1.4 Sagitta

Jul 28 2022

Viacheslav changed the status of T4575: vyos.utill add new wrapper "rc_cmd" to get the return code and output from Open to In progress.
Jul 28 2022, 11:54 PM · VyOS 1.3 Equuleus (1.3.3), VyOS 1.4 Sagitta
Viacheslav renamed T4575: vyos.utill add new wrapper "rc_cmd" to get the return code and output from vyos.utill add new wrapper "rc_cmd" to get te return code and output to vyos.utill add new wrapper "rc_cmd" to get the return code and output.
Jul 28 2022, 11:21 PM · VyOS 1.3 Equuleus (1.3.3), VyOS 1.4 Sagitta
Viacheslav added a comment to T4575: vyos.utill add new wrapper "rc_cmd" to get the return code and output.

PR https://github.com/vyos/vyos-1x/pull/1442

>>> from vyos.util import rc_cmd
>>>
>>> rc_cmd('uname')
(0, 'Linux')
>>> 
>>> rc_cmd('ip link show dev fake')
(1, 'Device "fake" does not exist.')
>>>

Ex2

>>> rc, command = rc_cmd('ip link show dev eth999')
>>> 
>>> 
>>> print(rc)
1
>>> print(command)
Device "eth999" does not exist.
>>>
Jul 28 2022, 11:13 PM · VyOS 1.3 Equuleus (1.3.3), VyOS 1.4 Sagitta
Viacheslav changed the subtype of T4575: vyos.utill add new wrapper "rc_cmd" to get the return code and output from "Bug" to "Feature Request".
Jul 28 2022, 10:57 PM · VyOS 1.3 Equuleus (1.3.3), VyOS 1.4 Sagitta
Viacheslav created T4575: vyos.utill add new wrapper "rc_cmd" to get the return code and output.
Jul 28 2022, 10:50 PM · VyOS 1.3 Equuleus (1.3.3), VyOS 1.4 Sagitta
Viacheslav added a comment to T4551: IPsec rekeying collisions bug.

VyOS 1.3-stable-202207280515 is not affected and works as expected

vyos@r14:~$ show vpn ipsec sa
Connection                 State    Uptime    Bytes In/Out    Packets In/Out    Remote address    Remote ID    Proposal
-------------------------  -------  --------  --------------  ----------------  ----------------  -----------  --------------
peer-192.0.2.2-tunnel-0    up       9s        0B/0B           0/0               192.0.2.2         N/A          AES_GCM_16_256
peer-2001:db8::2-tunnel-0  up       9s        0B/0B           0/0               2001:db8::2       N/A          AES_GCM_16_256
vyos@r14:~$

SAs

vyos@r14:~$ sudo swanctl -l
peer-2001:db8::2-tunnel-0: #4, ESTABLISHED, IKEv2, bae267e189f183be_i 008bf75c872ced6a_r*
  local  '2001:db8::1' @ 2001:db8::1[500]
  remote '2001:db8::2' @ 2001:db8::2[500]
  AES_GCM_16-256/PRF_HMAC_SHA2_256/MODP_2048
  established 25s ago, rekeying in 85328s
  peer-2001:db8::2-tunnel-0: #3, reqid 1, INSTALLED, TUNNEL, ESP:AES_GCM_16-256
    installed 25s ago, rekeying in 28178s, expires in 28775s
    in  c762627a,      0 bytes,     0 packets
    out c2278f63,      0 bytes,     0 packets
    local  2001:db8:1111::/64
    remote 2001:db8:2222::/64
peer-192.0.2.2-tunnel-0: #3, ESTABLISHED, IKEv2, c923210fb14e11d5_i 2450ab183218d566_r*
  local  '192.0.2.1' @ 192.0.2.1[500]
  remote '192.0.2.2' @ 192.0.2.2[500]
  AES_GCM_16-256/PRF_HMAC_SHA2_256/MODP_2048
  established 25s ago, rekeying in 85526s
  peer-192.0.2.2-tunnel-0: #4, reqid 2, INSTALLED, TUNNEL, ESP:AES_GCM_16-256
    installed 25s ago, rekeying in 27722s, expires in 28775s
    in  c1892b7b,      0 bytes,     0 packets
    out c8fbbb2f,      0 bytes,     0 packets
    local  100.64.0.0/24
    remote 100.64.55.0/24
vyos@r14:~$
Jul 28 2022, 5:45 PM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4565: vlan aware bridge not working .

I have it working between VyOS 1.4-rolling-202207280217 (kernel 5.10.133) and VyOS 1.3-stable-202207280515 (kernel 5.4.205)

Jul 28 2022, 5:36 PM · VyOS 1.4 Sagitta (1.4.0-GA), VyOS 1.3 Equuleus (1.3.2)
Viacheslav added a comment to T4572: Add an option to force interface MTU to the value received from DHCP.

Will it work if you replace this https://github.com/vyos/vyos-1x/blob/4168e03721b2a9595de4090fddf1280d39ccce4c/python/vyos/ifconfig/interface.py#L1378-L1379

sudo nano -c +1385 /usr/lib/python3/dist-packages/vyos/ifconfig/interface.py

with:

Jul 28 2022, 4:46 PM · VyOS 1.3 Equuleus (1.3.2), VyOS 1.4 Sagitta
Viacheslav changed the status of T4562: Rewrite show vrf to new format, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, from Open to Needs testing.
Jul 28 2022, 3:59 PM · VyOS Rolling
Viacheslav changed the status of T4562: Rewrite show vrf to new format from Open to Needs testing.
Jul 28 2022, 3:59 PM · VyOS 1.4 Sagitta
Viacheslav renamed T4551: IPsec rekeying collisions bug from IPsec rekeying collisions with IPv6 peers to IPsec rekeying collisions bug.
Jul 28 2022, 1:55 PM · VyOS 1.4 Sagitta
Viacheslav changed the status of T4543: Show source nat statistics shows incorrect interface, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, from Open to In progress.
Jul 28 2022, 12:46 PM · VyOS Rolling
Viacheslav changed the status of T4543: Show source nat statistics shows incorrect interface from Open to In progress.
Jul 28 2022, 12:46 PM · VyOS 1.4 Sagitta
Viacheslav added a comment to T4543: Show source nat statistics shows incorrect interface.

PR https://github.com/vyos/vyos-1x/pull/1441

vyos@r14:~$ show nat source statistics 
Rule    Packets    Bytes    Interface
------  ---------  -------  -----------
10      5          380      eth0
20      0          0        any
30      0          0        any
40      0          0        eth0
40      0          0        eth0
vyos@r14:~$
Jul 28 2022, 12:46 PM · VyOS 1.4 Sagitta
Viacheslav closed T3435: NAT rules show corruption as Resolved.
Jul 28 2022, 10:22 AM · VyOS 1.4 Sagitta
Viacheslav closed T4531: NAT op-mode errors with exclude rules, a subtask of T4564: Root task for rewriting [op-mode] to vyos.opmode format, as Resolved.
Jul 28 2022, 10:21 AM · VyOS Rolling
Viacheslav closed T4531: NAT op-mode errors with exclude rules as Resolved.
Jul 28 2022, 10:21 AM · VyOS 1.4 Sagitta
Viacheslav moved T4571: Sflow with vrf configured does not use vrf to validate agent-address IP from vrf-configured interfaces from Open to Backport Candidates on the VyOS 1.4 Sagitta board.
Jul 28 2022, 9:11 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.4 Sagitta