Enum GuestIPType

    • Enum Constant Detail

      • VIRTUAL

        public static final GuestIPType VIRTUAL
        guest IP address will be issued by Dhcp server in the guest virtual network. Dhcp role is played by domain router.
      • DIRECT

        public static final GuestIPType DIRECT
        traffic directly to the network and VMs created here are assigned an IP directly from the network as configured
      • SHARED

        public static final GuestIPType SHARED
        TODO: add comments to explain the meaning (cs3 only)
      • UNRECOGNIZED

        public static final GuestIPType UNRECOGNIZED
    • Method Detail

      • values

        public static GuestIPType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GuestIPType c : GuestIPType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GuestIPType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null