Remove "public_ip" and "private_ip" property which has been deprecated in 0.7.0 from the Node object.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/fc99d596 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/fc99d596 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/fc99d596 Branch: refs/heads/trunk Commit: fc99d5965cf3f6c043dfd3c4855d766acfc065e2 Parents: 3e3bcad Author: Tomaz Muraus <[email protected]> Authored: Sun Nov 17 20:39:44 2013 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Sun Nov 17 20:39:44 2013 +0100 ---------------------------------------------------------------------- CHANGES | 4 ++++ libcloud/compute/base.py | 18 ------------------ 2 files changed, 4 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/fc99d596/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index cbb472f..e8efb4e 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,10 @@ Changes with Apache Libcloud in development Affected drivers: Bluebox, Joyent, NephoScale, OpSource, VPSNet [Tomaz Muraus] + - Remove "public_ip" and "private_ip" property which has been deprecated in + 0.7.0 from the Node object. + [Tomaz Muraus] + Changes with Apache Libcloud 0.14.0-beta3 *) General http://git-wip-us.apache.org/repos/asf/libcloud/blob/fc99d596/libcloud/compute/base.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/base.py b/libcloud/compute/base.py index 7b33aca..ecaf87d 100644 --- a/libcloud/compute/base.py +++ b/libcloud/compute/base.py @@ -187,24 +187,6 @@ class Node(UuidMixin): self.extra = extra or {} UuidMixin.__init__(self) - # Note: getters and setters bellow are here only for backward - # compatibility. They will be removed in the next release. - - def _set_public_ips(self, value): - self.public_ips = value - - def _get_public_ips(self): - return self.public_ips - - def _set_private_ips(self, value): - self.private_ips = value - - def _get_private_ips(self): - return self.private_ips - - public_ip = property(fget=_get_public_ips, fset=_set_public_ips) - private_ip = property(fget=_get_private_ips, fset=_set_private_ips) - def reboot(self): """ Reboot this node
