public class UcsAddVlanToSP
extends java.lang.Object
Adds VLAN to Service Profile
This task allows user to add VLAN to Service Profile vNICs.
User can choose the vNIC and add the VLAN.
Modifier | Constructor and Description |
---|---|
protected |
UcsAddVlanToSP() |
|
UcsAddVlanToSP(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
UcsAddVlanToSPResponse |
execute() |
java.lang.String |
getAccountName() |
CuicServer |
getCuicServer() |
java.lang.String |
getDualVLAN() |
java.lang.String |
getServiceProfileIdentity() |
java.lang.String |
getVlanID_A_both() |
java.lang.String |
getVlanID_A() |
java.lang.String |
getVlanID_B_both() |
java.lang.String |
getVlanID_B() |
java.lang.String |
getVlanType() |
java.lang.String |
getVNICList() |
boolean |
isNativeVLAN_A_both() |
boolean |
isNativeVLAN_A() |
boolean |
isNativeVLAN_B_both() |
boolean |
isNativeVLAN_B() |
boolean |
isNativeVLAN_dual() |
void |
setAccountName(java.lang.String accountName) |
void |
setCuicServer(CuicServer api) |
void |
setDualVLAN(java.lang.String dualVLAN)
Select a Common/Global VLAN
Set this value only when vlanType equals to dualAccepts value from list type ucsVlanDualList
|
void |
setNativeVLAN_A_both(boolean nativeVLAN_A_both)
Check this option to set the VLAN as Native VLAN
Set this value only when vlanType equals to AB
|
void |
setNativeVLAN_A(boolean nativeVLAN_A)
Check this option to set the VLAN as Native VLAN
Set this value only when vlanType equals to A
|
void |
setNativeVLAN_B_both(boolean nativeVLAN_B_both)
Check this option to set the VLAN as Native VLAN
Set this value only when vlanType equals to AB
|
void |
setNativeVLAN_B(boolean nativeVLAN_B)
Check this option to set the VLAN as Native VLAN
Set this value only when vlanType equals to B
|
void |
setNativeVLAN_dual(boolean nativeVLAN_dual)
Check this option to set the VLAN as Native VLAN
Set this value only when vlanType equals to dual
|
void |
setServiceProfileIdentity(java.lang.String serviceProfileIdentity)
Select UCSM service profile to modify
Accepts value from list type ucsSpIdentityByAcc
|
void |
setVlanID_A_both(java.lang.String vlanID_A_both)
Select VLAN
Set this value only when vlanType equals to ABAccepts value from list type ucsVlanAList
|
void |
setVlanID_A(java.lang.String vlanID_A)
Select VLAN
Set this value only when vlanType equals to AAccepts value from list type ucsVlanAList
|
void |
setVlanID_B_both(java.lang.String vlanID_B_both)
Select VLAN
Set this value only when vlanType equals to ABAccepts value from list type ucsVlanBList
|
void |
setVlanID_B(java.lang.String vlanID_B)
Select VLAN
Set this value only when vlanType equals to BAccepts value from list type ucsVlanBList
|
void |
setVlanType(java.lang.String vlanType)
Select VLAN Type
Accepts value from list type ucsVlanTypeListByAcc
|
void |
setVNICList(java.lang.String vNICList)
Select the vNICs to add VLAN
Accepts value from list type ucsServiceProfileMultivNICIdentity
|
protected UcsAddVlanToSP()
public UcsAddVlanToSP(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getAccountName()
public java.lang.String getServiceProfileIdentity()
public java.lang.String getVNICList()
public java.lang.String getVlanType()
public java.lang.String getDualVLAN()
public boolean isNativeVLAN_dual()
public java.lang.String getVlanID_A()
public boolean isNativeVLAN_A()
public java.lang.String getVlanID_B()
public boolean isNativeVLAN_B()
public java.lang.String getVlanID_A_both()
public boolean isNativeVLAN_A_both()
public java.lang.String getVlanID_B_both()
public boolean isNativeVLAN_B_both()
public void setAccountName(java.lang.String accountName)
public void setServiceProfileIdentity(java.lang.String serviceProfileIdentity)
public void setVNICList(java.lang.String vNICList)
public void setVlanType(java.lang.String vlanType)
public void setDualVLAN(java.lang.String dualVLAN)
public void setNativeVLAN_dual(boolean nativeVLAN_dual)
public void setVlanID_A(java.lang.String vlanID_A)
public void setNativeVLAN_A(boolean nativeVLAN_A)
public void setVlanID_B(java.lang.String vlanID_B)
public void setNativeVLAN_B(boolean nativeVLAN_B)
public void setVlanID_A_both(java.lang.String vlanID_A_both)
public void setNativeVLAN_A_both(boolean nativeVLAN_A_both)
public void setVlanID_B_both(java.lang.String vlanID_B_both)
public void setNativeVLAN_B_both(boolean nativeVLAN_B_both)
public UcsAddVlanToSPResponse execute() throws java.lang.Exception
java.lang.Exception