SDN , ifreload --exclude -X examples

Szymons

Member
Feb 11, 2021
69
8
13
Poland
Hello,

In man ifreload there is exclude parameter :
-X EXCLUDEPATS, --exclude EXCLUDEPATS
Exclude interfaces from the list of interfaces to operate on. Can be specified
multiple times

Anyone could show any examples of using this one ?
Is there any limitation for multiple exclude ?
File insert option with all interfaces to exclude ?
 
Thanks for reply !
Yes I have some manual addons over there that I want to keep and add some list with all excluded interfacess to use ifreload -X .
Could You please show any examples ?
 
something like:

ifreload -a -X interface1 -X interface2

you can add -d to display debug,

you should see first line with
info: reload: scheduling up on interfaces: ['lo', 'vmbr0', otherinterfaceX', ...]

without the excluded interfaces
 
  • Like
Reactions: Szymons