- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Dec 21 2021
@daniil can you edit one file?
sudo nano -c +1308 /usr/lib/python3/dist-packages/vyos/ifconfig/interface.py
And replace string:
if not 'redirect' in self._config:
To string:
if not 'redirect' in self._config and not 'traffic_policy' in self._config:
save and reboot the router or just restart vyos-configd
sudo systemctl restart vyos-configd
@boevering Do you know how to reproduce it?
@Boman I don't see such issue:
vyos@r11-roll# set interfaces bridge br0 enable-vlan [edit] vyos@r11-roll# set interfaces bridge br0 member interface eth2 allowed-vlan 1-4094 [edit] vyos@r11-roll# [edit] vyos@r11-roll# time commit
@daniil Can you share an example of traffic-policy 1G?
There is still another bug:
set nat destination rule 120 destination address '203.0.113.1' set nat destination rule 120 inbound-interface 'eth0' set nat destination rule 120 protocol 'tcp' set nat destination rule 120 translation address '192.0.2.40'
PR https://github.com/vyos/vyos-1x/pull/1114
vyos@r11-roll:~$ show nat destination rules Rule Destination Translation Inbound Interface ---- ----------- ----------- ----------------- 100 port 3389 192.0.2.40 port 80 eth0 vyos@r11-roll:~$
Dec 20 2021
Dec 17 2021
Dec 16 2021
Strace statistics
Duplicate T1877
Dec 15 2021
Dec 14 2021
Dec 11 2021
Not sure if we can migrate all old cluster CLI syntax, but create a new I think we can
Something like:
set cluster corosync name xxx set cluster corosync resource ip|systemd x.x.x.x set cluster corosync two-node enable|disable (default enable) set cluster corosync transport udpu|knet set cluster corosync node node01 address|name x.x.x.x|node01.local set cluster corosync node node01 node-id 1 set cluster corosync node node02 adderss|name x.x.x.x|node02.local set cluster corosync node node02 node-id 2
Still with issues, VyOS 1.4-rolling-202112090318:
vyos@r11-roll# set system config-management commit-archive location sftp://foo:foo@192.168.122.14/
[edit]
vyos@r11-roll# commit
Archiving config...
sftp://192.168.122.14/ Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/vyos/remote.py", line 312, in upload
urlc(urlstring, *args, **kwargs).upload(local_path)
File "/usr/lib/python3/dist-packages/vyos/remote.py", line 202, in upload
with self._establish() as ssh, ssh.open_sftp() as sftp:
File "/usr/lib/python3/dist-packages/vyos/remote.py", line 189, in _establish
sock = socket.create_connection((self.hostname, self.port), socket.getdefaulttimeout(), self.source)
File "/usr/lib/python3.9/socket.py", line 830, in create_connection
sock.bind(source_address)
TypeError: str, bytes or bytearray expected, not NoneType
[edit]
vyos@r11-roll#
[edit]But save is working:
vyos@r11-roll# save sftp://foo:foo@192.168.122.14/ Saving configuration to 'sftp://foo:foo@192.168.122.14/'... Done [edit] vyos@r11-roll#
Dec 10 2021
Duplicate T2922
Dec 9 2021
@hexes Do I understand correctly that when you set this option you get logs "Options error"?
openvpn-option "--server-bridge 10.1.4.1 255.255.255.0 10.1.4.240 10.1.4.250"
Dec 6 2021
To reproduce:
set policy access-list 100 rule 1 source any set policy access-list 100 rule 1 destination any set policy access-list 100 rule 1 action permit set interface ethernet eth1 address 203.0.113.1/24 set protocols mpls ldp discovery transport-ipv4-address 203.0.113.1 set protocols mpls ldp interface eth1 set protocols mpls ldp router-id 203.0.113.1 commit
Access list is present:
vyos@r4-epa2# vtysh -c "show run" | grep access access-list 100 seq 5 permit ip any any [edit]
Add hello interval:
set protocols mpls ldp discovery hello-ipv4-interval 1
There is no access-list anymore
vyos@r4-epa2# commit [edit] vyos@r4-epa2# vtysh -c "show run" | grep access [edit] vyos@r4-epa2#
The correct key for sflow sfprobe_source_ip
PR https://github.com/vyos/vyos-1x/pull/1099
Dec 2 2021
It is working only for TCP right now
set system syslog host 192.168.122.1 facility all protocol 'tcp' set system syslog host 192.168.122.1 format octet-counted set system syslog host 192.168.122.1 port '1514'
Config:
vyos@r4-epa2# cat /etc/rsyslog.d/vyos-rsyslog.conf ## generated by syslog.py ## ## file based logging $outchannel global,/var/log/messages,262144,/usr/sbin/logrotate /etc/logrotate.d/vyos-rsyslog *.info;local7.debug :omfile:$global ## console logging ## remote logging *.err @@(o)192.168.122.1:1514;RSYSLOG_SyslogProtocol23Format [edit] vyos@r4-epa2#
@fetzerms Thanks, Could you test the crux build?
>>> from vyos.ifconfig import Section
>>> Section.interfaces('geneve')
[]
>>>@fetzerms Is xe-guest-utilities is present in iso image?
I'll look at it soon.
It's just a warning message, as ppp+ it is a regex, exactly interface with such name not exist.
But rule applied
Dec 1 2021
I opened an issue https://github.com/FRRouting/frr/issues/10160
@FileGo It does not require such configuration in the server section.
As user interfaces creates dynamically "ppp0 ppp5 ppp23" etc
Your zone should look like:
@anthr76 Try vyos-1.4-rolling-202112010318-amd64.iso