/snap/core18/2999/usr/lib/python3/dist-packages/cloudinit/sources/helpers/vmware/imc
NameSizeModeActions
__pycache__/-0755rm
boot_proto.py3310644editdlrm
config.py47270644editdlrm
config_custom_script.py31240644editdlrm
config_file.py32450644editdlrm
config_namespace.py3820644editdlrm
config_nic.py88320644editdlrm
config_passwd.py24270644editdlrm
config_source.py2990644editdlrm
guestcust_error.py4340644editdlrm
guestcust_event.py4840644editdlrm
guestcust_state.py3810644editdlrm
guestcust_util.py200780644editdlrm
ipv4_mode.py11200644editdlrm
nic.py33110644editdlrm
nic_base.py38940644editdlrm
__init__.py00644editdlrm
Edit: /snap/core18/2999/usr/lib/python3/dist-packages/cloudinit/sources/helpers/vmware/imc/ipv4_mode.py (1120B)
# Copyright (C) 2015 Canonical Ltd. # Copyright (C) 2015 VMware Inc. # # Author: Sankar Tanguturi # # This file is part of cloud-init. See LICENSE file for license information. class Ipv4ModeEnum: """ The IPv4 configuration mode which directly represents the user's goal. This mode effectively acts as a contract of the in-guest customization engine. It must be set based on what the user has requested and should not be changed by those layers. It's up to the in-guest engine to interpret and materialize the user's request. """ # The legacy mode which only allows dhcp/static based on whether IPv4 # addresses list is empty or not IPV4_MODE_BACKWARDS_COMPATIBLE = "BACKWARDS_COMPATIBLE" # IPv4 must use static address. Reserved for future use IPV4_MODE_STATIC = "STATIC" # IPv4 must use DHCPv4. Reserved for future use IPV4_MODE_DHCP = "DHCP" # IPv4 must be disabled IPV4_MODE_DISABLED = "DISABLED" # IPv4 settings should be left untouched. Reserved for future use IPV4_MODE_AS_IS = "AS_IS" # vi: ts=4 expandtab