Package org.opendaylight.neutron.spi
Class NeutronSubnet
- java.lang.Object
-
- org.opendaylight.neutron.spi.NeutronID
-
- org.opendaylight.neutron.spi.NeutronObject<T>
-
- org.opendaylight.neutron.spi.NeutronBaseAttributes<NeutronSubnet>
-
- org.opendaylight.neutron.spi.NeutronSubnet
-
- All Implemented Interfaces:
Serializable
,INeutronBaseAttributes<NeutronSubnet>
,INeutronObject<NeutronSubnet>
public final class NeutronSubnet extends NeutronBaseAttributes<NeutronSubnet>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NeutronSubnet()
-
Method Summary
-
Methods inherited from class org.opendaylight.neutron.spi.NeutronBaseAttributes
getName, setName
-
Methods inherited from class org.opendaylight.neutron.spi.NeutronObject
extractFields, getProjectID, getRevisionNumber, getTenantID, setProjectID, setRevisionNumber, setTenantID, setTenantID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.neutron.spi.INeutronObject
extractFields, getID, getProjectID, getRevisionNumber, getTenantID, setID, setProjectID, setRevisionNumber, setTenantID, setTenantID
-
-
-
-
Method Detail
-
getNetworkUUID
public String getNetworkUUID()
-
setNetworkUUID
public void setNetworkUUID(String networkUUID)
-
getIpVersion
public Integer getIpVersion()
-
setIpVersion
public void setIpVersion(Integer ipVersion)
-
getCidr
public String getCidr()
-
setCidr
public void setCidr(String cidr)
-
getGatewayIp
public String getGatewayIp()
-
setGatewayIp
public void setGatewayIp(String gatewayIp)
-
getAllocationPools
public List<NeutronSubnetIpAllocationPool> getAllocationPools()
-
setAllocationPools
public void setAllocationPools(List<NeutronSubnetIpAllocationPool> allocationPools)
-
getHostRoutes
public List<NeutronRoute> getHostRoutes()
-
setHostRoutes
public void setHostRoutes(List<NeutronRoute> hostRoutes)
-
isEnableDHCP
public boolean isEnableDHCP()
-
getEnableDHCP
public Boolean getEnableDHCP()
-
setEnableDHCP
public void setEnableDHCP(Boolean newValue)
-
getIpV6AddressMode
public String getIpV6AddressMode()
-
setIpV6AddressMode
public void setIpV6AddressMode(String ipV6AddressMode)
-
getIpV6RaMode
public String getIpV6RaMode()
-
setIpV6RaMode
public void setIpV6RaMode(String ipV6RaMode)
-
extractField
protected boolean extractField(String field, NeutronSubnet ans)
- Overrides:
extractField
in classNeutronBaseAttributes<NeutronSubnet>
-
isValidCIDR
public boolean isValidCIDR()
-
gatewayIp_Pool_overlap
public boolean gatewayIp_Pool_overlap()
-
initDefaults
public void initDefaults()
- Specified by:
initDefaults
in interfaceINeutronObject<NeutronSubnet>
- Overrides:
initDefaults
in classNeutronObject<NeutronSubnet>
-
isValidIp
public boolean isValidIp(String ipAddress)
-
getLowAddr
public String getLowAddr()
-
toString
public String toString()
- Overrides:
toString
in classNeutronObject<NeutronSubnet>
-
-