public class NuageVspElementClientImpl extends NuageVspClientImpl implements NuageVspElementClient
nuageVspAclClient, nuageVspApiClient| Constructor and Description |
|---|
NuageVspElementClientImpl(NuageVspApiClient nuageVspApiClient,
NuageVspAclClient nuageVspAclClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyAclRules(VspAclRule.ACLType vspAclRuleType,
VspNetwork vspNetwork,
List<VspAclRule> vspAclRules,
boolean networkReset)
Apply ACL rules to a network
|
void |
applyStaticNats(VspNetwork vspNetwork,
List<VspStaticNat> vspStaticNats)
Apply static NATs to a network
|
boolean |
implement(VspNetwork vspNetwork,
VspDhcpDomainOption vspDhcpOptions,
List<VspAclRule> ingressFirewallRules,
List<VspAclRule> egressFirewallRules,
List<String> floatingIpUuids)
Implement a network
|
void |
setDhcpOptionsNic(VspNetwork vspNetwork,
String nicUuid,
Map<Integer,String> extraDhcpOptions)
Sets the extra DHCP options on the specified nic.
|
boolean |
shutdownNetwork(VspNetwork vspNetwork,
VspDhcpDomainOption vspDhcpOptions)
Shutdown a network
|
void |
shutdownVpc(String domainUuid,
String vpcUuid,
String domainTemplateName,
List<String> domainRouterUuids)
Shutdown a VPC
|
getAttachedNetworkDetails, getAttachedNetworkDetailsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttachedNetworkDetails, getAttachedNetworkDetailspublic NuageVspElementClientImpl(NuageVspApiClient nuageVspApiClient, NuageVspAclClient nuageVspAclClient)
public boolean implement(VspNetwork vspNetwork, VspDhcpDomainOption vspDhcpOptions, List<VspAclRule> ingressFirewallRules, List<VspAclRule> egressFirewallRules, List<String> floatingIpUuids) throws NuageVspException
NuageVspElementClientimplement in interface NuageVspElementClientvspNetwork - The network to be implementedingressFirewallRules - The list of ingress firewall rules to be configuredegressFirewallRules - The list of egress firewall rules to be configuredfloatingIpUuids - The list of associated floating IP UUIDsNuageVspExceptionpublic void applyStaticNats(VspNetwork vspNetwork, List<VspStaticNat> vspStaticNats) throws NuageVspException
NuageVspElementClientapplyStaticNats in interface NuageVspElementClientvspNetwork - The network to apply tovspStaticNats - The static NATs to applyNuageVspExceptionpublic void applyAclRules(VspAclRule.ACLType vspAclRuleType, VspNetwork vspNetwork, List<VspAclRule> vspAclRules, boolean networkReset) throws NuageVspException
NuageVspElementClientapplyAclRules in interface NuageVspElementClientvspAclRuleType - The type of ACL rules to be appliedvspNetwork - The network to apply tovspAclRules - The rules to be appliednetworkReset - True if the network is being resetNuageVspExceptionpublic boolean shutdownNetwork(VspNetwork vspNetwork, VspDhcpDomainOption vspDhcpOptions)
NuageVspElementClientshutdownNetwork in interface NuageVspElementClientvspNetwork - The network in shutdownvspDhcpOptions - The dhcp options of the networkpublic void shutdownVpc(String domainUuid, String vpcUuid, String domainTemplateName, List<String> domainRouterUuids) throws NuageVspException
NuageVspElementClientshutdownVpc in interface NuageVspElementClientdomainUuid - The UUID of the domainvpcUuid - The UUID of the VPCdomainTemplateName - The name of the preconfigured domain templateNuageVspExceptionpublic void setDhcpOptionsNic(VspNetwork vspNetwork, String nicUuid, Map<Integer,String> extraDhcpOptions) throws NuageVspException
NuageVspElementClientsetDhcpOptionsNic in interface NuageVspElementClientvspNetwork - network were the nic is inextraDhcpOptions - maps dhcp code to the dhcp valueNuageVspExceptionCopyright © 2016–2017 Nuage Networks. All rights reserved.