diff options
Diffstat (limited to 'quantum-client/src/main/java/com/woorea/openstack/quantum/Quantum.java')
-rw-r--r-- | quantum-client/src/main/java/com/woorea/openstack/quantum/Quantum.java | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/quantum-client/src/main/java/com/woorea/openstack/quantum/Quantum.java b/quantum-client/src/main/java/com/woorea/openstack/quantum/Quantum.java index ab64531..c4f5e9f 100644 --- a/quantum-client/src/main/java/com/woorea/openstack/quantum/Quantum.java +++ b/quantum-client/src/main/java/com/woorea/openstack/quantum/Quantum.java @@ -26,42 +26,42 @@ import com.woorea.openstack.quantum.api.SubnetsResource; public class Quantum extends OpenStackClient { - + private final NetworksResource NETWORKS; - + private final PortsResource PORTS; - + private final SubnetsResource SUBNETS; private final RoutersResource ROUTERS; - + public Quantum(String endpoint, OpenStackClientConnector connector) { super(endpoint, connector); NETWORKS = new NetworksResource(this); PORTS = new PortsResource(this); SUBNETS = new SubnetsResource(this); - ROUTERS=new RoutersResource(this); - + ROUTERS = new RoutersResource(this); + } - + public Quantum(String endpoint) { this(endpoint, null); } - + public NetworksResource networks() { return NETWORKS; } - + public PortsResource ports() { return PORTS; } - + public SubnetsResource subnets() { return SUBNETS; } - public RoutersResource routers() - { + + public RoutersResource routers() { return ROUTERS; } - + } |