blob: e3b6e45e147e765bca8a51f632e37e98f0c61037 [file] [log] [blame]
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
//
package com.cloud.agent.resource.virtualnetwork.model;
public class LoadBalancerRule {
private String[] configuration;
private String tmpCfgFilePath;
private String tmpCfgFileName;
private String[] addRules;
private String[] removeRules;
private String[] statRules;
private String routerIp;
public LoadBalancerRule() {
// Empty constructor for (de)serialization
}
public LoadBalancerRule(final String[] configuration, final String tmpCfgFilePath, final String tmpCfgFileName, final String[] addRules, final String[] removeRules, final String[] statRules, final String routerIp) {
this.configuration = configuration;
this.tmpCfgFilePath = tmpCfgFilePath;
this.tmpCfgFileName = tmpCfgFileName;
this.addRules = addRules;
this.removeRules = removeRules;
this.statRules = statRules;
this.routerIp = routerIp;
}
public String[] getConfiguration() {
return configuration;
}
public void setConfiguration(final String[] configuration) {
this.configuration = configuration;
}
public String getTmpCfgFilePath() {
return tmpCfgFilePath;
}
public void setTmpCfgFilePath(final String tmpCfgFilePath) {
this.tmpCfgFilePath = tmpCfgFilePath;
}
public String getTmpCfgFileName() {
return tmpCfgFileName;
}
public void setTmpCfgFileName(final String tmpCfgFileName) {
this.tmpCfgFileName = tmpCfgFileName;
}
public String[] getAddRules() {
return addRules;
}
public void setAddRules(final String[] addRules) {
this.addRules = addRules;
}
public String[] getRemoveRules() {
return removeRules;
}
public void setRemoveRules(final String[] removeRules) {
this.removeRules = removeRules;
}
public String[] getStatRules() {
return statRules;
}
public void setStatRules(final String[] statRules) {
this.statRules = statRules;
}
public String getRouterIp() {
return routerIp;
}
public void setRouterIp(final String routerIp) {
this.routerIp = routerIp;
}
}