If the network interface is not presented in the system, then too large code Traceback.
To reproduce.
[email protected]# set interfaces ethernet eth3 description test [edit] [email protected]# 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] [email protected]#
It will be enough:
interface "eth3" not found