public enum GuestIPType extends Enum<GuestIPType>
Enum Constant and Description |
---|
DIRECT
traffic directly to the network and VMs created here are assigned an IP
directly from the network as configured
|
ISOLATED |
SHARED
TODO: add comments to explain the meaning (cs3 only)
|
UNRECOGNIZED |
VIRTUAL
guest IP address will be issued by Dhcp server in the guest virtual
network.
|
Modifier and Type | Method and Description |
---|---|
static GuestIPType |
fromValue(String type) |
String |
toString() |
static GuestIPType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GuestIPType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuestIPType VIRTUAL
public static final GuestIPType DIRECT
public static final GuestIPType SHARED
public static final GuestIPType ISOLATED
public static final GuestIPType UNRECOGNIZED
public static GuestIPType[] values()
for (GuestIPType c : GuestIPType.values()) System.out.println(c);
public static GuestIPType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<GuestIPType>
public static GuestIPType fromValue(String type)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.