diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-12-02 20:36:13 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-12-02 20:36:13 -0600 |
commit | a3957e1ec655462fabcfa39399fbe83cb8a44cb4 (patch) | |
tree | 5654b21f776d14970e9ef002e48809507ff465da /ncserver/module/nms_ifupdownng.py | |
parent | e5e56ca6249f82ffcdd9f1b8496bedaccf0461d3 (diff) | |
download | netconfapk-a3957e1ec655462fabcfa39399fbe83cb8a44cb4.tar.gz netconfapk-a3957e1ec655462fabcfa39399fbe83cb8a44cb4.tar.bz2 netconfapk-a3957e1ec655462fabcfa39399fbe83cb8a44cb4.tar.xz netconfapk-a3957e1ec655462fabcfa39399fbe83cb8a44cb4.zip |
modules: Misc style fixes
Diffstat (limited to 'ncserver/module/nms_ifupdownng.py')
-rw-r--r-- | ncserver/module/nms_ifupdownng.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ncserver/module/nms_ifupdownng.py b/ncserver/module/nms_ifupdownng.py index e88a063..8c92717 100644 --- a/ncserver/module/nms_ifupdownng.py +++ b/ncserver/module/nms_ifupdownng.py @@ -10,7 +10,6 @@ with this source distribution for more information. SPDX-License-Identifier: NCSA """ -import ipaddress import logging import pathlib import socket @@ -418,6 +417,7 @@ def set_ipv4_mtu(iface: str, _, value: int): def set_slaac(iface: str, parameter: str, value: bool): + # pylint: disable=R0911 """Set SLAAC parameters for the specified interface.""" curr_global = get_slaac(iface, 'ipv6_slaac_globaladdr') curr_temp = get_slaac(iface, 'ipv6_slaac_tempaddr') @@ -693,15 +693,15 @@ def remove_address(iface: str, addr: str): def running(_): - pass + """Non-YANG functional module only - no nodes.""" def operational(_): - pass + """Non-YANG functional module only - no nodes.""" -def edit(*params): - pass +def edit(*params): # pylint: disable=W0613 + """Non-YANG functional module only - no nodes.""" # Load immediately when we're loaded so we can go straight to a transaction |