diff options
| author | Sankar Tanguturi <stanguturi@stanguturi-rhel> | 2015-11-18 16:03:15 -0800 | 
|---|---|---|
| committer | Sankar Tanguturi <stanguturi@stanguturi-rhel> | 2015-11-18 16:03:15 -0800 | 
| commit | 8844ffb5988bcfbb8cfbe57d9139c3dcb8b429cc (patch) | |
| tree | f96479c4a3e21504af9be515970e0279e6deefdc /cloudinit/sources/helpers/vmware/imc/boot_proto.py | |
| parent | 97fbe6e44fc09d7522001deb7e3984272e9c26b7 (diff) | |
| download | vyos-cloud-init-8844ffb5988bcfbb8cfbe57d9139c3dcb8b429cc.tar.gz vyos-cloud-init-8844ffb5988bcfbb8cfbe57d9139c3dcb8b429cc.zip | |
Add Image Customization Parser for VMware vSphere Hypervisor Support.
This is the first changeset submitted as a part of project to
add cloud-init support for VMware vSphere Hypervisor. This changeset
contains _only_ the changes for a simple python parser for a
Image Customization Specification file pushed by VMware vSphere
hypervisor into the guest VMs. In a later changeset, will be submitting
another patch to actually detect the underlying VMware vSphere hypervisor
and do the necessary customization.
Diffstat (limited to 'cloudinit/sources/helpers/vmware/imc/boot_proto.py')
| -rw-r--r-- | cloudinit/sources/helpers/vmware/imc/boot_proto.py | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/cloudinit/sources/helpers/vmware/imc/boot_proto.py b/cloudinit/sources/helpers/vmware/imc/boot_proto.py new file mode 100644 index 00000000..6c3b070a --- /dev/null +++ b/cloudinit/sources/helpers/vmware/imc/boot_proto.py @@ -0,0 +1,11 @@ +# from enum import Enum
 +
 +class BootProto:
 +    DHCP = 'dhcp'
 +    STATIC = 'static'
 +
 +#     def __eq__(self, other):
 +#         return self.name == other.name and self.value == other.value
 +#
 +#     def __ne__(self, other):
 +#         return not self.__eq__(other)
 | 
