public class EdgeGatewayVNICResponse extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
EdgeGatewayVNICResponse.AddressGroup
VNIC Address Group.
|
static class |
EdgeGatewayVNICResponse.MacAddress
VNIC MacAddress.
|
static class |
EdgeGatewayVNICResponse.ShapingPolicy
VNIC InShapingPolicy/OutShapingPolicy.
|
Constructor and Description |
---|
EdgeGatewayVNICResponse(int index,
String label,
String name,
VnicType type,
List<SubInterfaceResponse> subInterfaces,
String portgroupId,
String portgroupName,
List<EdgeGatewayVNICResponse.AddressGroup> addressGroups,
List<EdgeGatewayVNICResponse.MacAddress> macAddress,
long mtu,
boolean enableProxyArp,
boolean enableSendRedirects,
boolean isConnected,
EdgeGatewayVNICResponse.ShapingPolicy inShapingPolicy,
EdgeGatewayVNICResponse.ShapingPolicy outShapingPolicy) |
Modifier and Type | Method and Description |
---|---|
List<EdgeGatewayVNICResponse.AddressGroup> |
getAddressGroups()
Gets addressGroups
|
int |
getIndex()
Gets index
|
EdgeGatewayVNICResponse.ShapingPolicy |
getInShapingPolicy()
Gets inShapingPolicy
|
String |
getLabel()
Gets label
|
List<EdgeGatewayVNICResponse.MacAddress> |
getMacAddress()
Gets macAddress
|
long |
getMtu()
Gets mtu.
|
String |
getName()
Gets name
|
EdgeGatewayVNICResponse.ShapingPolicy |
getOutShapingPolicy()
Gets outShapingPolicy
|
String |
getPortgroupId()
Gets portgroupId
|
String |
getPortgroupName()
Gets portgroupName
|
List<SubInterfaceResponse> |
getSubInterfaces()
Gets subInterfaces.
|
VnicType |
getType()
Gets type
|
boolean |
isConnected()
Gets isConnected
|
boolean |
isEnableProxyArp()
Gets enableProxyArp
|
boolean |
isEnableSendRedirects()
Gets enableSendRedirects
|
public EdgeGatewayVNICResponse(int index, String label, String name, VnicType type, List<SubInterfaceResponse> subInterfaces, String portgroupId, String portgroupName, List<EdgeGatewayVNICResponse.AddressGroup> addressGroups, List<EdgeGatewayVNICResponse.MacAddress> macAddress, long mtu, boolean enableProxyArp, boolean enableSendRedirects, boolean isConnected, EdgeGatewayVNICResponse.ShapingPolicy inShapingPolicy, EdgeGatewayVNICResponse.ShapingPolicy outShapingPolicy)
public int getIndex()
Value varies from 0-9. 4094 sub-interfaces can be configured in trunk mode
public String getLabel()
System provides default labels: vNic_0...vNic_9
String
the labelpublic String getName()
System provides default names: vnic0...vnic9
String
the namepublic VnicType getType()
Choice of: Uplink, Internal, TRUNK. Default is Internal. TRUNK should be specified when sub-interfaces are configured
VnicType
the typepublic List<SubInterfaceResponse> getSubInterfaces()
List of sub interfaces on vNICs with a type of TRUNK
List
of SubInterfaceResponse
the subInterfacespublic String getPortgroupId()
Choice of: portgroupId or virtualWireId. portgroupId needs to be defined if isConnected=true
String
the portgroupIdpublic String getPortgroupName()
String
the portgroupNamepublic List<EdgeGatewayVNICResponse.AddressGroup> getAddressGroups()
List of Address Group assigned to vNic. More than one addressGroup/subnets can be assigned to the vNic
List
of EdgeGatewayVNICResponse.AddressGroup
the addressGroupspublic List<EdgeGatewayVNICResponse.MacAddress> getMacAddress()
Option to manually specify the MAC address. Managed by vCenter if not provided
EdgeGatewayVNICResponse.MacAddress
the macAddresspublic long getMtu()
public boolean isEnableProxyArp()
Enables proxy ARP. Do not use this flag unless you want NSX Edge to proxy ARP for all configured subnets
public boolean isEnableSendRedirects()
public boolean isConnected()
Sets if the interface is connected to the port group network. Default is false. portgroupId needs to be defined if isConnected=true.
public EdgeGatewayVNICResponse.ShapingPolicy getInShapingPolicy()
Configure Incoming Traffic
EdgeGatewayVNICResponse.ShapingPolicy
the inShapingPolicypublic EdgeGatewayVNICResponse.ShapingPolicy getOutShapingPolicy()
Configure Outgoing Traffic
EdgeGatewayVNICResponse.ShapingPolicy
the outShapingPolicyCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.