diff --git a/lib/config.py b/lib/config.py index c84c1f112c5d89fd49ddd7b2ef74b95ea1338de2..9d87c2b6f16f82c3a418a861311470e9a590a355 100644 --- a/lib/config.py +++ b/lib/config.py @@ -2391,7 +2391,7 @@ class ConfigWriter: @locking.ssynchronized(_config_lock, shared=1) def GetAllNetworksInfo(self): - """Get the configuration of all networks + """Get configuration info of all the networks. """ return dict(self._config_data.networks) @@ -2559,7 +2559,11 @@ class ConfigWriter: @locking.ssynchronized(_config_lock, shared=1) def CheckIPInNodeGroup(self, ip, node): - """Check for conflictig IP. + """Check IP uniqueness in nodegroup. + + Check networks that are connected in the node's node group + if ip is contained in any of them. Used when creating/adding + a NIC to ensure uniqueness among nodegroups. @type ip: string @param ip: ip address