org.jclouds.vcloud.director.v1_5.domain.network
Class NetworkConfiguration

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.network.NetworkConfiguration

public class NetworkConfiguration
extends Object

Returns a network configuration

Author:
danikov

Nested Class Summary
static class NetworkConfiguration.Builder
           
 
Constructor Summary
protected NetworkConfiguration()
           
  NetworkConfiguration(IpScope ipScope, Reference parentNetwork, Network.FenceMode fenceMode, Boolean retainNetInfoAcrossDeployments, NetworkFeatures features, SyslogServerSettings syslogServerSettings, RouterInfo routerInfo)
           
 
Method Summary
static NetworkConfiguration.Builder builder()
           
 boolean equals(Object o)
           
 Network.FenceMode getFenceMode()
           
 IpScope getIpScope()
           
 NetworkFeatures getNetworkFeatures()
           
 Reference getParentNetwork()
           
 RouterInfo getRouterInfo()
           
 SyslogServerSettings getSyslogServerSettings()
           
 int hashCode()
           
 Boolean retainNetInfoAcrossDeployments()
           
 NetworkConfiguration.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkConfiguration

public NetworkConfiguration(IpScope ipScope,
                            Reference parentNetwork,
                            Network.FenceMode fenceMode,
                            Boolean retainNetInfoAcrossDeployments,
                            NetworkFeatures features,
                            SyslogServerSettings syslogServerSettings,
                            RouterInfo routerInfo)

NetworkConfiguration

protected NetworkConfiguration()
Method Detail

builder

public static NetworkConfiguration.Builder builder()

toBuilder

public NetworkConfiguration.Builder toBuilder()

getIpScope

public IpScope getIpScope()
Returns:
IP level configuration items such as gateway, dns, subnet, IP address pool to be used for allocation. Note that the pool of IP addresses needs to fall within the subnet/mask of the IpScope.

getParentNetwork

public Reference getParentNetwork()
Returns:
reference to parent network.

getFenceMode

public Network.FenceMode getFenceMode()
Returns:
Isolation type of the network. If ParentNetwork is specified, this property controls connectivity to the parent. One of: bridged (connected directly to the ParentNetwork), isolated (not connected to any other network), natRouted (connected to the ParentNetwork via a NAT service)

retainNetInfoAcrossDeployments

public Boolean retainNetInfoAcrossDeployments()
Returns:
whether the network resources such as IP/MAC of router will be retained across deployments. Default is false.

getNetworkFeatures

public NetworkFeatures getNetworkFeatures()
Returns:
Network features like DHCP, firewall and NAT rules.

getSyslogServerSettings

public SyslogServerSettings getSyslogServerSettings()
Returns:
Syslog server settings for the network.

getRouterInfo

public RouterInfo getRouterInfo()
Returns:
router information

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.