From ed465500a210a7bba7c17e073661d0d7d746fa9a Mon Sep 17 00:00:00 2001 From: keshav Date: Wed, 23 Feb 2011 11:44:14 -0800 Subject: [PATCH] Added capability to keep track of what IPs a load balancing rule can be made on. --- api/src/com/cloud/network/Network.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/com/cloud/network/Network.java b/api/src/com/cloud/network/Network.java index 4a1cc9538f1..419be69a243 100644 --- a/api/src/com/cloud/network/Network.java +++ b/api/src/com/cloud/network/Network.java @@ -32,7 +32,7 @@ public interface Network extends ControlledEntity { public static final Service Dns = new Service("Dns"); public static final Service Gateway = new Service("Gateway"); public static final Service Firewall = new Service("Firewall", Capability.PortForwarding, Capability.StaticNat, Capability.SupportedProtocols, Capability.MultipleIps, Capability.SupportedSourceNatTypes, Capability.TrafficStatistics); - public static final Service Lb = new Service("Lb", Capability.SupportedLBAlgorithms, Capability.SupportedProtocols, Capability.TrafficStatistics); + public static final Service Lb = new Service("Lb", Capability.SupportedLBAlgorithms, Capability.SupportedProtocols, Capability.TrafficStatistics, Capability.LoadBalancingSupportedIps); public static final Service UserData = new Service("UserData"); private String name; @@ -95,6 +95,7 @@ public interface Network extends ControlledEntity { public static final Capability SupportedSourceNatTypes = new Capability("SupportedSourceNatTypes"); public static final Capability SupportedVpnTypes = new Capability("SupportedVpnTypes"); public static final Capability TrafficStatistics = new Capability("TrafficStatistics"); + public static final Capability LoadBalancingSupportedIps = new Capability("LoadBalancingSupportedIps"); private String name;