Page MenuHomeVyOS Platform

tunnel: KeyError when using dhcp-interface
Closed, ResolvedPublicBUG

Description

[email protected]# show interfaces tunnel
+tunnel tun100 {
+    address 172.16.253.132/28
+    dhcp-interface pppoe0
+    encapsulation gre
+    multicast enable
+    parameters {
+        ip {
+            key 100
+        }
+    }
+}
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/interfaces-tunnel.py", line 165, in <module>
    verify(c)
  File "/usr/libexec/vyos/conf_mode/interfaces-tunnel.py", line 81, in verify
    tunnel['source_address'] == '0.0.0.0' and \
KeyError: 'source_address'

Details

Difficulty level
Easy (less than an hour)
Version
1.3.0-epa2
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to In progress.Oct 20 2021, 6:45 PM
c-po claimed this task.
c-po triaged this task as High priority.
c-po created this task.
c-po edited projects, added VyOS 1.3 Equuleus (1.3.0-epa3); removed VyOS 1.3 Equuleus.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).
c-po added a project: VyOS 1.4 Sagitta.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.0-epa3) board.