public class Port extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Port.CreateBuilder
Create and Update builders (inheriting from Builder)
|
static class |
Port.CreatePort
Create and Update options - extend the domain class, passed to API update and create calls.
|
static class |
Port.UpdateBuilder
Create and Update builders (inheriting from Builder)
|
static class |
Port.UpdatePort
Create and Update options - extend the domain class, passed to API update and create calls.
|
Modifier | Constructor and Description |
---|---|
protected |
Port(String id,
NetworkStatus status,
VIFType vifType,
com.google.common.collect.ImmutableMap<String,Object> vifDetails,
String qosQueueId,
String name,
String networkId,
Boolean adminStateUp,
String macAddress,
com.google.common.collect.ImmutableSet<IP> fixedIps,
String deviceId,
String deviceOwner,
String tenantId,
com.google.common.collect.ImmutableSet<String> securityGroups,
com.google.common.collect.ImmutableSet<AddressPair> allowedAddressPairs,
com.google.common.collect.ImmutableSet<ExtraDhcpOption> extraDhcpOptions,
VNICType vnicType,
String hostId,
com.google.common.collect.ImmutableMap<String,Object> profile,
Boolean portSecurity,
String profileId,
Boolean macLearning,
Integer qosRxtxFactor) |
@ConstructorProperties(value={"id","status","binding:vif_type","binding:vif_details","queue_id","name","network_id","admin_state_up","mac_address","fixed_ips","device_id","device_owner","tenant_id","security_groups","allowed_address_pairs","extra_dhcp_opts","binding:vnic_type","binding:host_id","binding:profile","port_security_enabled","n1kv:profile_id","mac_learning_enabled","rxtx_factor"}) protected Port(String id, NetworkStatus status, VIFType vifType, com.google.common.collect.ImmutableMap<String,Object> vifDetails, String qosQueueId, String name, String networkId, Boolean adminStateUp, String macAddress, com.google.common.collect.ImmutableSet<IP> fixedIps, String deviceId, String deviceOwner, String tenantId, com.google.common.collect.ImmutableSet<String> securityGroups, com.google.common.collect.ImmutableSet<AddressPair> allowedAddressPairs, com.google.common.collect.ImmutableSet<ExtraDhcpOption> extraDhcpOptions, VNICType vnicType, String hostId, com.google.common.collect.ImmutableMap<String,Object> profile, Boolean portSecurity, String profileId, Boolean macLearning, Integer qosRxtxFactor)
@Nullable public NetworkStatus getStatus()
@Nullable public VIFType getVifType()
@Nullable public com.google.common.collect.ImmutableMap<String,Object> getVifDetails()
@Nullable public String getNetworkId()
@Nullable public Boolean getAdminStateUp()
@Nullable public com.google.common.collect.ImmutableSet<IP> getFixedIps()
@Nullable public String getDeviceId()
@Nullable public String getDeviceOwner()
@Nullable public com.google.common.collect.ImmutableSet<String> getSecurityGroups()
@Nullable public com.google.common.collect.ImmutableSet<AddressPair> getAllowedAddressPairs()
@Nullable public com.google.common.collect.ImmutableSet<ExtraDhcpOption> getExtraDhcpOptions()
@Nullable public VNICType getVnicType()
@Nullable public String getHostId()
@Nullable public com.google.common.collect.ImmutableMap<String,Object> getProfile()
public static Port.CreateBuilder createBuilder(String networkId)
public static Port.UpdateBuilder updateBuilder()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.