Created
December 6, 2017 15:27
-
-
Save apahim/242f730057a1cbfc0f0c5572071e3fba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import storage | |
import vm | |
class Job(object): | |
""" | |
Class to represent a Backup Job, | |
with its methods | |
""" | |
def __init__(self, vm_name, storage_name): | |
self.vm = vm.Vm(vm_name) | |
self.storage = storage.Storage(storage_name) | |
def run(self): | |
print(self.vm.name) | |
print(self.storage.name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment