Revision 8b312c1d daemons/ganeti-noded
b/daemons/ganeti-noded | ||
---|---|---|
1 | 1 |
#!/usr/bin/python |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2010 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
598 | 598 |
"""Checks if a node has the given ip address. |
599 | 599 |
|
600 | 600 |
""" |
601 |
return netutils.OwnIpAddress(params[0])
|
|
601 |
return netutils.IPAddress.Own(params[0])
|
|
602 | 602 |
|
603 | 603 |
@staticmethod |
604 | 604 |
def perspective_node_info(params): |
Also available in: Unified diff