summaryrefslogtreecommitdiff
path: root/src/op_mode/powerctrl.py
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-04-04 16:11:07 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-04-04 16:25:46 +0100
commitae72ab6de76dbc86cb881da7eafa64413819a9bc (patch)
tree1d4cc663cd627ed484ccfecb804575e606ecbcd8 /src/op_mode/powerctrl.py
parentf91a8869cb1ab3acc605a93789e9310f33dbd979 (diff)
downloadvyos-1x-ae72ab6de76dbc86cb881da7eafa64413819a9bc.tar.gz
vyos-1x-ae72ab6de76dbc86cb881da7eafa64413819a9bc.zip
ifconfig: T2190: option to prevent Interface creation
a new option was added to the Interface class "create". By default the value is set to True, and when an instance of the class is created and the underlying interface does not exists, the class will create it. If the option "create" is set to False, the interface will not be created and instead the class will raise an error when it is instantiated.
Diffstat (limited to 'src/op_mode/powerctrl.py')
0 files changed, 0 insertions, 0 deletions