package org.opennaas.extensions.router.model;
public class BGPAction extends PolicyAction {
public enum Action {
ORIGIN,
AS_PATH,
NEXT_HOP,
MULTI_EXIT_DISC,
LOCAL_PREF,
ATOMIC_AGGREGATE,
AGGREGATOR,
COMMUNITY,
ORIGINATOR_ID,
CLUSTER_LIST
}
private Action bGPAction;
/**
* This method returns the BGPAction.bGPAction property value. This property is described as follows:
*
* This defines one or more BGP-specific attributes that should be used to modify this routing update.
*
* @return int current bGPAction property value
* @exception Exception
*/
public Action getBGPAction() {
return this.bGPAction;
} // getBGPAction
/**
* This method sets the BGPAction.bGPAction property value. This property is described as follows:
*
* This defines one or more BGP-specific attributes that should be used to modify this routing update.
*
* @param int new bGPAction property value
* @exception Exception
*/
public void setBGPAction(Action bGPAction) {
this.bGPAction = bGPAction;
} // setBGPAction
/**
* The following constants are defined for use with the ValueMap/Values qualified property bGPValue.
*/
private String bGPValue;
/**
* This method returns the BGPAction.bGPValue property value. This property is described as follows:
*
* The value for the corresponding BGPAction.
*
* @return String current bGPValue property value
* @exception Exception
*/
public String getBGPValue() {
return this.bGPValue;
} // getBGPValue
/**
* This method sets the BGPAction.bGPValue property value. This property is described as follows:
*
* The value for the corresponding BGPAction.
*
* @param String
* new bGPValue property value
* @exception Exception
*/
public void setBGPValue(String bGPValue) {
this.bGPValue = bGPValue;
} // setBGPValue
}