<spanid="com-vmware-appliance-networking-package"></span><h1>com.vmware.appliance.networking package<aclass="headerlink"href="#module-com.vmware.appliance.networking"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="submodules">
<h2>Submodules<aclass="headerlink"href="#submodules"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-appliance-networking-dns-client-module"></span><h2>com.vmware.appliance.networking.dns_client module<aclass="headerlink"href="#module-com.vmware.appliance.networking.dns_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.appliance.networking.dns_client.</code><codeclass="sig-name descname">Domains</code><spanclass="sig-paren">(</span><emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Domains"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<codeclass="sig-name descname">add</code><spanclass="sig-paren">(</span><emclass="sig-param">domain</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Domains.add"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">list</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Domains.list"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">set</code><spanclass="sig-paren">(</span><emclass="sig-param">domains</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Domains.set"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.appliance.networking.dns_client.</code><codeclass="sig-name descname">Hostname</code><spanclass="sig-paren">(</span><emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<emclass="property">class </em><codeclass="sig-name descname">Message</code><spanclass="sig-paren">(</span><emclass="sig-param">message=None</em>, <emclass="sig-param">result=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.Message"title="Permalink to this definition">¶</a></dt>
<li><p><strong>result</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking.dns_client.Hostname.MessageStatus"title="com.vmware.appliance.networking.dns_client.Hostname.MessageStatus"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Hostname.MessageStatus</span></code></a>) – result of the test</p></li>
<emclass="property">class </em><codeclass="sig-name descname">MessageStatus</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.MessageStatus"title="Permalink to this definition">¶</a></dt>
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname">failure</code><emclass="property"> = MessageStatus(string='failure')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.MessageStatus.failure"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">success</code><emclass="property"> = MessageStatus(string='success')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.MessageStatus.success"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-name descname">TestStatus</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.TestStatus"title="Permalink to this definition">¶</a></dt>
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname">green</code><emclass="property"> = TestStatus(string='green')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.TestStatus.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">orange</code><emclass="property"> = TestStatus(string='orange')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.TestStatus.orange"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">red</code><emclass="property"> = TestStatus(string='red')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.TestStatus.red"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-name descname">TestStatusInfo</code><spanclass="sig-paren">(</span><emclass="sig-param">status=None</em>, <emclass="sig-param">messages=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.TestStatusInfo"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.get"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">set</code><spanclass="sig-paren">(</span><emclass="sig-param">name</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.set"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">test</code><spanclass="sig-paren">(</span><emclass="sig-param">name</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Hostname.test"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.appliance.networking.dns_client.</code><codeclass="sig-name descname">Servers</code><spanclass="sig-paren">(</span><emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<emclass="property">class </em><codeclass="sig-name descname">DNSServerConfig</code><spanclass="sig-paren">(</span><emclass="sig-param">mode=None</em>, <emclass="sig-param">servers=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.DNSServerConfig"title="Permalink to this definition">¶</a></dt>
<li><p><strong>mode</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking.dns_client.Servers.DNSServerMode"title="com.vmware.appliance.networking.dns_client.Servers.DNSServerMode"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Servers.DNSServerMode</span></code></a>) – Define how to determine the DNS servers. Leave the servers argument
“static”. The DNS server are assigned from the specified list.</p></li>
<li><p><strong>servers</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – List of the currently used DNS servers.</p></li>
<emclass="property">class </em><codeclass="sig-name descname">DNSServerMode</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.DNSServerMode"title="Permalink to this definition">¶</a></dt>
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname">dhcp</code><emclass="property"> = DNSServerMode(string='dhcp')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.DNSServerMode.dhcp"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">is_static</code><emclass="property"> = DNSServerMode(string='is_static')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.DNSServerMode.is_static"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-name descname">Message</code><spanclass="sig-paren">(</span><emclass="sig-param">message=None</em>, <emclass="sig-param">result=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.Message"title="Permalink to this definition">¶</a></dt>
<li><p><strong>result</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking.dns_client.Servers.MessageStatus"title="com.vmware.appliance.networking.dns_client.Servers.MessageStatus"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Servers.MessageStatus</span></code></a>) – result of the test</p></li>
<emclass="property">class </em><codeclass="sig-name descname">MessageStatus</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.MessageStatus"title="Permalink to this definition">¶</a></dt>
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname">failure</code><emclass="property"> = MessageStatus(string='failure')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.MessageStatus.failure"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">success</code><emclass="property"> = MessageStatus(string='success')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.MessageStatus.success"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-name descname">TestStatus</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.TestStatus"title="Permalink to this definition">¶</a></dt>
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname">green</code><emclass="property"> = TestStatus(string='green')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.TestStatus.green"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">orange</code><emclass="property"> = TestStatus(string='orange')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.TestStatus.orange"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">red</code><emclass="property"> = TestStatus(string='red')</em><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.TestStatus.red"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-name descname">TestStatusInfo</code><spanclass="sig-paren">(</span><emclass="sig-param">status=None</em>, <emclass="sig-param">messages=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.TestStatusInfo"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">add</code><spanclass="sig-paren">(</span><emclass="sig-param">server</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.add"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.get"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">set</code><spanclass="sig-paren">(</span><emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.set"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">test</code><spanclass="sig-paren">(</span><emclass="sig-param">servers</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.Servers.test"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.appliance.networking.dns_client.</code><codeclass="sig-name descname">StubFactory</code><spanclass="sig-paren">(</span><emclass="sig-param">stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.dns_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-networking-firewall-client-module"></span><h2>com.vmware.appliance.networking.firewall_client module<aclass="headerlink"href="#module-com.vmware.appliance.networking.firewall_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.appliance.networking.firewall_client.</code><codeclass="sig-name descname">Inbound</code><spanclass="sig-paren">(</span><emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.Inbound"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Inbound</span></code> class provides methods to manage inbound firewall rules.
This class was added in vSphere API 6.7.1.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<emclass="property">class </em><codeclass="sig-name descname">Policy</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.Inbound.Policy"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Inbound.Policy</span></code> class Defines firewall rule policies. This enumeration
was added in vSphere API 6.7.1.</p>
<divclass="admonition note">
<pclass="admonition-title">Note</p>
<p>This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
type description page</span></a>.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>string</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – String value for the <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Policy</span></code> instance.</p>
<codeclass="sig-name descname">ACCEPT</code><emclass="property"> = Policy(string='ACCEPT')</em><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.Inbound.Policy.ACCEPT"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">IGNORE</code><emclass="property"> = Policy(string='IGNORE')</em><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.Inbound.Policy.IGNORE"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">REJECT</code><emclass="property"> = Policy(string='REJECT')</em><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.Inbound.Policy.REJECT"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">RETURN</code><emclass="property"> = Policy(string='RETURN')</em><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.Inbound.Policy.RETURN"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-name descname">Rule</code><spanclass="sig-paren">(</span><emclass="sig-param">address=None</em>, <emclass="sig-param">prefix=None</em>, <emclass="sig-param">policy=None</em>, <emclass="sig-param">interface_name=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.Inbound.Rule"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Inbound.Rule</span></code> class Structure that defines a single address-based
firewall rule. This class was added in vSphere API 6.7.1.</p>
<divclass="admonition tip">
<pclass="admonition-title">Tip</p>
<p>The arguments are used to initialize data attributes with the same
names.</p>
</div>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – IPv4 or IPv6 address. This attribute was added in vSphere API
6.7.1.</p></li>
<li><p><strong>prefix</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – CIDR prefix used to mask address. For example, an IPv4 prefix of 24
ignores the low-order 8 bits of address. This attribute was added
in vSphere API 6.7.1.</p></li>
<li><p><strong>policy</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking.firewall_client.Inbound.Policy"title="com.vmware.appliance.networking.firewall_client.Inbound.Policy"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Inbound.Policy</span></code></a>) – The allow or deny policy of this rule. This attribute was added in
vSphere API 6.7.1.</p></li>
<li><p><strong>interface_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The interface to which this rule applies. An empty string indicates
that the rule applies to all interfaces. This attribute was added
<codeclass="sig-name descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.Inbound.get"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">set</code><spanclass="sig-paren">(</span><emclass="sig-param">rules</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.Inbound.set"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.appliance.networking.firewall_client.</code><codeclass="sig-name descname">StubFactory</code><spanclass="sig-paren">(</span><emclass="sig-param">stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.firewall_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-networking-interfaces-client-module"></span><h2>com.vmware.appliance.networking.interfaces_client module<aclass="headerlink"href="#module-com.vmware.appliance.networking.interfaces_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.appliance.networking.interfaces_client.</code><codeclass="sig-name descname">Ipv4</code><spanclass="sig-paren">(</span><emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv4"title="Permalink to this definition">¶</a></dt>
for interfaces. This class was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<emclass="property">class </em><codeclass="sig-name descname">Config</code><spanclass="sig-paren">(</span><emclass="sig-param">mode=None</em>, <emclass="sig-param">address=None</em>, <emclass="sig-param">prefix=None</em>, <emclass="sig-param">default_gateway=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Config"title="Permalink to this definition">¶</a></dt>
<li><p><strong>mode</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode"title="com.vmware.appliance.networking.interfaces_client.Ipv4.Mode"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Ipv4.Mode</span></code></a>) – The Address assignment mode. This attribute was added in vSphere
API 6.7.</p></li>
<li><p><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IPv4 address, for example, “10.20.80.191”. This attribute was
of <codeclass="docutils literal notranslate"><spanclass="pre">mode</span></code> is <aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"title="com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Ipv4.Mode.STATIC</span></code></a>.</p></li>
<li><p><strong>prefix</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The IPv4 CIDR prefix, for example, 24. See
of <codeclass="docutils literal notranslate"><spanclass="pre">mode</span></code> is <aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"title="com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Ipv4.Mode.STATIC</span></code></a>.</p></li>
<li><p><strong>default_gateway</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The IPv4 address of the default gateway. This configures the global
<emclass="property">class </em><codeclass="sig-name descname">Info</code><spanclass="sig-paren">(</span><emclass="sig-param">configurable=None</em>, <emclass="sig-param">mode=None</em>, <emclass="sig-param">address=None</em>, <emclass="sig-param">prefix=None</em>, <emclass="sig-param">default_gateway=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Info"title="Permalink to this definition">¶</a></dt>
<li><p><strong>configurable</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – The specified network interface is configurable or not. This
attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>mode</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode"title="com.vmware.appliance.networking.interfaces_client.Ipv4.Mode"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Ipv4.Mode</span></code></a>) – The Address assignment mode. This attribute was added in vSphere
API 6.7.</p></li>
<li><p><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IPv4 address, for example, “10.20.80.191”. This attribute was
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">mode</span></code> is one of <aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"title="com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Ipv4.Mode.STATIC</span></code></a> or
<li><p><strong>prefix</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The IPv4 CIDR prefix, for example, 24. See
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">mode</span></code> is one of <aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"title="com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Ipv4.Mode.STATIC</span></code></a> or
<li><p><strong>default_gateway</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IPv4 address of the default gateway. This configures the global
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">mode</span></code> is one of <aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"title="com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Ipv4.Mode.STATIC</span></code></a> or
<emclass="property">class </em><codeclass="sig-name descname">Mode</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode"title="Permalink to this definition">¶</a></dt>
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname">DHCP</code><emclass="property"> = Mode(string='DHCP')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.DHCP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">STATIC</code><emclass="property"> = Mode(string='STATIC')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.STATIC"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">UNCONFIGURED</code><emclass="property"> = Mode(string='UNCONFIGURED')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.Mode.UNCONFIGURED"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get</code><spanclass="sig-paren">(</span><emclass="sig-param">interface_name</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.get"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>interface_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The Network interface to query, for example, “nic0”.
<codeclass="sig-name descname">set</code><spanclass="sig-paren">(</span><emclass="sig-param">interface_name</em>, <emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv4.set"title="Permalink to this definition">¶</a></dt>
<li><p><strong>interface_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Network interface to update, for example, “nic0”.
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.appliance.networking.interfaces_client.</code><codeclass="sig-name descname">Ipv6</code><spanclass="sig-paren">(</span><emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6"title="Permalink to this definition">¶</a></dt>
for interfaces. This class was added in vSphere API 6.7.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</p>
<emclass="property">class </em><codeclass="sig-name descname">Address</code><spanclass="sig-paren">(</span><emclass="sig-param">address=None</em>, <emclass="sig-param">prefix=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Address"title="Permalink to this definition">¶</a></dt>
<li><p><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IPv6 address, for example, fc00:10:20:83:20c:29ff:fe94:bb5a.
This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>prefix</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The IPv6 CIDR prefix, for example, 64. This attribute was added in
<emclass="property">class </em><codeclass="sig-name descname">AddressInfo</code><spanclass="sig-paren">(</span><emclass="sig-param">origin=None</em>, <emclass="sig-param">status=None</em>, <emclass="sig-param">address=None</em>, <emclass="sig-param">prefix=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.AddressInfo"title="Permalink to this definition">¶</a></dt>
<li><p><strong>origin</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Origin"title="com.vmware.appliance.networking.interfaces_client.Ipv6.Origin"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Ipv6.Origin</span></code></a>) – The Origin of the IPv6 address. For more information, see RFC 4293.
This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>status</strong> (<aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status"title="com.vmware.appliance.networking.interfaces_client.Ipv6.Status"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Ipv6.Status</span></code></a>) – The Status of the IPv6 address. For more information, see RFC 4293.
This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>address</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The IPv6 address, for example, fc00:10:20:83:20c:29ff:fe94:bb5a.
This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>prefix</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The IPv6 CIDR prefix, for example, 64. This attribute was added in
<emclass="property">class </em><codeclass="sig-name descname">Config</code><spanclass="sig-paren">(</span><emclass="sig-param">dhcp=None</em>, <emclass="sig-param">autoconf=None</em>, <emclass="sig-param">addresses=None</em>, <emclass="sig-param">default_gateway=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Config"title="Permalink to this definition">¶</a></dt>
<li><p><strong>dhcp</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – An address will be assigned by a DHCP server. This attribute was
added in vSphere API 6.7.</p></li>
<li><p><strong>autoconf</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – An address will be assigned by Stateless Address Autoconfiguration
(SLAAC). This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>addresses</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Address"title="com.vmware.appliance.networking.interfaces_client.Ipv6.Address"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Ipv6.Address</span></code></a>) – The list of addresses to be statically assigned. This attribute was
added in vSphere API 6.7.</p></li>
<li><p><strong>default_gateway</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The default gateway for static IP address assignment. This
<emclass="property">class </em><codeclass="sig-name descname">Info</code><spanclass="sig-paren">(</span><emclass="sig-param">dhcp=None</em>, <emclass="sig-param">autoconf=None</em>, <emclass="sig-param">addresses=None</em>, <emclass="sig-param">default_gateway=None</em>, <emclass="sig-param">configurable=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Info"title="Permalink to this definition">¶</a></dt>
<li><p><strong>dhcp</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – DHCP is on. This attribute was added in vSphere API 6.7.</p></li>
<li><p><strong>autoconf</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Stateless Address Autoconfiguration (SLAAC) is on. This attribute
was added in vSphere API 6.7.</p></li>
<li><p><strong>addresses</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.AddressInfo"title="com.vmware.appliance.networking.interfaces_client.Ipv6.AddressInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Ipv6.AddressInfo</span></code></a>) – List of addresses with their origins and statuses. This attribute
was added in vSphere API 6.7.</p></li>
<li><p><strong>default_gateway</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – The default gateway for static IP address assignment. This
<li><p><strong>configurable</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is NIC configurable or not. This attribute was added in vSphere API
<emclass="property">class </em><codeclass="sig-name descname">Origin</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Origin"title="Permalink to this definition">¶</a></dt>
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname">DHCP</code><emclass="property"> = Origin(string='DHCP')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Origin.DHCP"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">LINKLAYER</code><emclass="property"> = Origin(string='LINKLAYER')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Origin.LINKLAYER"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">MANUAL</code><emclass="property"> = Origin(string='MANUAL')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Origin.MANUAL"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">OTHER</code><emclass="property"> = Origin(string='OTHER')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Origin.OTHER"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">RANDOM</code><emclass="property"> = Origin(string='RANDOM')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Origin.RANDOM"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-name descname">Status</code><spanclass="sig-paren">(</span><emclass="sig-param">string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status"title="Permalink to this definition">¶</a></dt>
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="sig-name descname">DEPRECATED</code><emclass="property"> = Status(string='DEPRECATED')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status.DEPRECATED"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">DUPLICATE</code><emclass="property"> = Status(string='DUPLICATE')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status.DUPLICATE"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">INACCESSIBLE</code><emclass="property"> = Status(string='INACCESSIBLE')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status.INACCESSIBLE"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">INVALID</code><emclass="property"> = Status(string='INVALID')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status.INVALID"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">OPTIMISTIC</code><emclass="property"> = Status(string='OPTIMISTIC')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status.OPTIMISTIC"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">PREFERRED</code><emclass="property"> = Status(string='PREFERRED')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status.PREFERRED"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">TENTATIVE</code><emclass="property"> = Status(string='TENTATIVE')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status.TENTATIVE"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">UNKNOWN</code><emclass="property"> = Status(string='UNKNOWN')</em><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.Status.UNKNOWN"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get</code><spanclass="sig-paren">(</span><emclass="sig-param">interface_name</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.get"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>interface_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Network interface to query, for example, “nic0”.
<codeclass="sig-name descname">set</code><spanclass="sig-paren">(</span><emclass="sig-param">interface_name</em>, <emclass="sig-param">config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.Ipv6.set"title="Permalink to this definition">¶</a></dt>
<li><p><strong>interface_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Network interface to update, for example, “nic0”.
<emclass="property">class </em><codeclass="sig-prename descclassname">com.vmware.appliance.networking.interfaces_client.</code><codeclass="sig-name descname">StubFactory</code><spanclass="sig-paren">(</span><emclass="sig-param">stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.networking.interfaces_client.StubFactory"title="Permalink to this definition">¶</a></dt>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.