If the network interface is not presented in the system, then too large code Traceback.
To reproduce.
vyos@1.3-netfl# set interfaces ethernet eth3 description test
[edit]
vyos@1.3-netfl# commit
[ interfaces ethernet eth3 ]
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 449, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces-ethernet.py", line 315, in apply
e = EthernetIf(eth['intf'])
File "/usr/lib/python3/dist-packages/vyos/ifconfig.py", line 1051, in __init__
super().__init__(ifname)
File "/usr/lib/python3/dist-packages/vyos/ifconfig.py", line 941, in __init__
super().__init__(ifname, type)
File "/usr/lib/python3/dist-packages/vyos/ifconfig.py", line 88, in __init__
raise Exception('interface "{}" not found'.format(self._ifname))
Exception: interface "eth3" not found
[[interfaces ethernet eth3]] failed
Commit failed
[edit]
vyos@1.3-netfl#It will be enough:
interface "eth3" not found