Formatting the get_gateway() method in the CsDatabag.py file
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/595fa50b Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/595fa50b Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/595fa50b Branch: refs/heads/master Commit: 595fa50b3baaa8fbf6627e2748c336e1f6a1432c Parents: 3cfc4cf Author: Wilder Rodrigues <[email protected]> Authored: Fri Sep 25 16:11:32 2015 +0200 Committer: Wilder Rodrigues <[email protected]> Committed: Fri Sep 25 16:11:32 2015 +0200 ---------------------------------------------------------------------- systemvm/patches/debian/config/opt/cloud/bin/cs/CsDatabag.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/595fa50b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDatabag.py ---------------------------------------------------------------------- diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDatabag.py b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDatabag.py index 84e31a7..e29aa36 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDatabag.py +++ b/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDatabag.py @@ -143,6 +143,7 @@ class CsCmdLine(CsDataBag): md5 = hashlib.md5() md5.update(passwd) return md5.hexdigest() + def get_gateway(self): if "gateway" in self.idata(): return self.idata()['gateway']
