Package org.openstack4j.model.network
Interface ExternalGateway
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
NeutronExternalGateway
public interface ExternalGateway extends ModelEntity
Configurable external gateway modes extension model. By default, when a gateway is attached to a router using the Neutron L3 extension, Network Address Translation (NAT) is enabled for traffic generated by subnets attached to the router. With this extension, the user will have the option of choosing whether SNAT should be enabled or not on a router basis.- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNetworkId()booleanisEnableSnat()SNAT can be enabled or disabled at any time on a Neutron router regardless of the current status of floating IPs.
-
-
-
Method Detail
-
getNetworkId
String getNetworkId()
- Returns:
- the network identifier
-
isEnableSnat
boolean isEnableSnat()
SNAT can be enabled or disabled at any time on a Neutron router regardless of the current status of floating IPs. Floating IPs will continue working even when SNAT is disabled.NOTE: The default setting is True to ensure backward compatibility for plugins supporting this extension.
- Returns:
- true if SNAT is enabled
-
-