org.xmlnetwork.BGPConf Maven / Gradle / Ivy
Show all versions of fractal-bf-hdl-model Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.06.03 at 04:27:27 PM CEST
//
package org.xmlnetwork;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="view" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="RouterId" type="{http://www.xmlnetwork.org}ipPrefix" minOccurs="0"/>
* <element name="Authentication" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Local-Preference" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="Default-Originate" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Timers" type="{http://www.xmlnetwork.org}bgpTimers" minOccurs="0"/>
* <element name="Dampening" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="halflife" type="{http://www.xmlnetwork.org}half-life-timer" minOccurs="0"/>
* <element name="reuse" type="{http://www.xmlnetwork.org}dampTimer" minOccurs="0"/>
* <element name="suppress" type="{http://www.xmlnetwork.org}dampTimer" minOccurs="0"/>
* <element name="maxSuppressTime" type="{http://www.xmlnetwork.org}dampTimer" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="LogUpDown" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* <element name="BestPathAlwaysCompareMed" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* <element name="StaticRoutes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="s" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="address" type="{http://www.xmlnetwork.org}ipPrefix" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="AggregateRoutes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="route" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="advertise" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="attribute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* <attribute name="address" type="{http://www.xmlnetwork.org}ipPrefix" />
* <attribute name="as-set" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="active"/>
* <enumeration value="passive"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Policy" type="{http://www.xmlnetwork.org}policyCall" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Route-Reflector" type="{http://www.xmlnetwork.org}rteReflect" minOccurs="0"/>
* <element name="PeerGroup" type="{http://www.xmlnetwork.org}group" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="as" type="{http://www.xmlnetwork.org}asNumInt" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"view",
"description",
"routerId",
"authentication",
"localPreference",
"defaultOriginate",
"timers",
"dampening",
"logUpDown",
"bestPathAlwaysCompareMed",
"staticRoutes",
"aggregateRoutes",
"policy",
"routeReflector",
"peerGroup"
})
@XmlRootElement(name = "BGPConf")
public class BGPConf {
protected String view;
@XmlElement(name = "Description")
protected String description;
@XmlElement(name = "RouterId")
protected String routerId;
@XmlElement(name = "Authentication")
protected BGPConf.Authentication authentication;
@XmlElement(name = "Local-Preference", defaultValue = "100")
protected BigInteger localPreference;
@XmlElement(name = "Default-Originate")
protected BGPConf.DefaultOriginate defaultOriginate;
@XmlElement(name = "Timers")
protected BgpTimers timers;
@XmlElement(name = "Dampening")
protected BGPConf.Dampening dampening;
@XmlElement(name = "LogUpDown")
protected Object logUpDown;
@XmlElement(name = "BestPathAlwaysCompareMed")
protected Object bestPathAlwaysCompareMed;
@XmlElement(name = "StaticRoutes")
protected BGPConf.StaticRoutes staticRoutes;
@XmlElement(name = "AggregateRoutes")
protected BGPConf.AggregateRoutes aggregateRoutes;
@XmlElement(name = "Policy")
protected List policy;
@XmlElement(name = "Route-Reflector")
protected RteReflect routeReflector;
@XmlElement(name = "PeerGroup", required = true)
protected List peerGroup;
@XmlAttribute
protected Integer as;
/**
* Gets the value of the view property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getView() {
return view;
}
/**
* Sets the value of the view property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setView(String value) {
this.view = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the routerId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRouterId() {
return routerId;
}
/**
* Sets the value of the routerId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRouterId(String value) {
this.routerId = value;
}
/**
* Gets the value of the authentication property.
*
* @return
* possible object is
* {@link BGPConf.Authentication }
*
*/
public BGPConf.Authentication getAuthentication() {
return authentication;
}
/**
* Sets the value of the authentication property.
*
* @param value
* allowed object is
* {@link BGPConf.Authentication }
*
*/
public void setAuthentication(BGPConf.Authentication value) {
this.authentication = value;
}
/**
* Gets the value of the localPreference property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getLocalPreference() {
return localPreference;
}
/**
* Sets the value of the localPreference property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setLocalPreference(BigInteger value) {
this.localPreference = value;
}
/**
* Gets the value of the defaultOriginate property.
*
* @return
* possible object is
* {@link BGPConf.DefaultOriginate }
*
*/
public BGPConf.DefaultOriginate getDefaultOriginate() {
return defaultOriginate;
}
/**
* Sets the value of the defaultOriginate property.
*
* @param value
* allowed object is
* {@link BGPConf.DefaultOriginate }
*
*/
public void setDefaultOriginate(BGPConf.DefaultOriginate value) {
this.defaultOriginate = value;
}
/**
* Gets the value of the timers property.
*
* @return
* possible object is
* {@link BgpTimers }
*
*/
public BgpTimers getTimers() {
return timers;
}
/**
* Sets the value of the timers property.
*
* @param value
* allowed object is
* {@link BgpTimers }
*
*/
public void setTimers(BgpTimers value) {
this.timers = value;
}
/**
* Gets the value of the dampening property.
*
* @return
* possible object is
* {@link BGPConf.Dampening }
*
*/
public BGPConf.Dampening getDampening() {
return dampening;
}
/**
* Sets the value of the dampening property.
*
* @param value
* allowed object is
* {@link BGPConf.Dampening }
*
*/
public void setDampening(BGPConf.Dampening value) {
this.dampening = value;
}
/**
* Gets the value of the logUpDown property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getLogUpDown() {
return logUpDown;
}
/**
* Sets the value of the logUpDown property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setLogUpDown(Object value) {
this.logUpDown = value;
}
/**
* Gets the value of the bestPathAlwaysCompareMed property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getBestPathAlwaysCompareMed() {
return bestPathAlwaysCompareMed;
}
/**
* Sets the value of the bestPathAlwaysCompareMed property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setBestPathAlwaysCompareMed(Object value) {
this.bestPathAlwaysCompareMed = value;
}
/**
* Gets the value of the staticRoutes property.
*
* @return
* possible object is
* {@link BGPConf.StaticRoutes }
*
*/
public BGPConf.StaticRoutes getStaticRoutes() {
return staticRoutes;
}
/**
* Sets the value of the staticRoutes property.
*
* @param value
* allowed object is
* {@link BGPConf.StaticRoutes }
*
*/
public void setStaticRoutes(BGPConf.StaticRoutes value) {
this.staticRoutes = value;
}
/**
* Gets the value of the aggregateRoutes property.
*
* @return
* possible object is
* {@link BGPConf.AggregateRoutes }
*
*/
public BGPConf.AggregateRoutes getAggregateRoutes() {
return aggregateRoutes;
}
/**
* Sets the value of the aggregateRoutes property.
*
* @param value
* allowed object is
* {@link BGPConf.AggregateRoutes }
*
*/
public void setAggregateRoutes(BGPConf.AggregateRoutes value) {
this.aggregateRoutes = value;
}
/**
* Gets the value of the policy property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the policy property.
*
*
* For example, to add a new item, do as follows:
*
* getPolicy().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PolicyCall }
*
*
*/
public List getPolicy() {
if (policy == null) {
policy = new ArrayList();
}
return this.policy;
}
/**
* Gets the value of the routeReflector property.
*
* @return
* possible object is
* {@link RteReflect }
*
*/
public RteReflect getRouteReflector() {
return routeReflector;
}
/**
* Sets the value of the routeReflector property.
*
* @param value
* allowed object is
* {@link RteReflect }
*
*/
public void setRouteReflector(RteReflect value) {
this.routeReflector = value;
}
/**
* Gets the value of the peerGroup property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the peerGroup property.
*
*
* For example, to add a new item, do as follows:
*
* getPeerGroup().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Group }
*
*
*/
public List getPeerGroup() {
if (peerGroup == null) {
peerGroup = new ArrayList();
}
return this.peerGroup;
}
/**
* Gets the value of the as property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getAs() {
return as;
}
/**
* Sets the value of the as property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setAs(Integer value) {
this.as = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="route" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="advertise" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="attribute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* <attribute name="address" type="{http://www.xmlnetwork.org}ipPrefix" />
* <attribute name="as-set" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="active"/>
* <enumeration value="passive"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"route"
})
public static class AggregateRoutes {
@XmlElement(required = true)
protected List route;
/**
* Gets the value of the route property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the route property.
*
*
* For example, to add a new item, do as follows:
*
* getRoute().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BGPConf.AggregateRoutes.Route }
*
*
*/
public List getRoute() {
if (route == null) {
route = new ArrayList();
}
return this.route;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="advertise" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="attribute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* <attribute name="address" type="{http://www.xmlnetwork.org}ipPrefix" />
* <attribute name="as-set" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="active"/>
* <enumeration value="passive"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"advertise",
"attribute"
})
public static class Route {
protected String advertise;
protected String attribute;
@XmlAttribute
protected String address;
@XmlAttribute(name = "as-set")
protected Boolean asSet;
@XmlAttribute
protected String type;
/**
* Gets the value of the advertise property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAdvertise() {
return advertise;
}
/**
* Sets the value of the advertise property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAdvertise(String value) {
this.advertise = value;
}
/**
* Gets the value of the attribute property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAttribute() {
return attribute;
}
/**
* Sets the value of the attribute property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAttribute(String value) {
this.attribute = value;
}
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAddress(String value) {
this.address = value;
}
/**
* Gets the value of the asSet property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAsSet() {
return asSet;
}
/**
* Sets the value of the asSet property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAsSet(Boolean value) {
this.asSet = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Authentication {
@XmlAttribute
protected String password;
/**
* Gets the value of the password property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPassword() {
return password;
}
/**
* Sets the value of the password property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPassword(String value) {
this.password = value;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="halflife" type="{http://www.xmlnetwork.org}half-life-timer" minOccurs="0"/>
* <element name="reuse" type="{http://www.xmlnetwork.org}dampTimer" minOccurs="0"/>
* <element name="suppress" type="{http://www.xmlnetwork.org}dampTimer" minOccurs="0"/>
* <element name="maxSuppressTime" type="{http://www.xmlnetwork.org}dampTimer" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"halflife",
"reuse",
"suppress",
"maxSuppressTime"
})
public static class Dampening {
@XmlElement(defaultValue = "15")
protected Integer halflife;
@XmlElement(defaultValue = "750")
protected Integer reuse;
@XmlElement(defaultValue = "2000")
protected Integer suppress;
@XmlElement(defaultValue = "60")
protected Integer maxSuppressTime;
/**
* Gets the value of the halflife property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getHalflife() {
return halflife;
}
/**
* Sets the value of the halflife property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setHalflife(Integer value) {
this.halflife = value;
}
/**
* Gets the value of the reuse property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getReuse() {
return reuse;
}
/**
* Sets the value of the reuse property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setReuse(Integer value) {
this.reuse = value;
}
/**
* Gets the value of the suppress property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getSuppress() {
return suppress;
}
/**
* Sets the value of the suppress property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setSuppress(Integer value) {
this.suppress = value;
}
/**
* Gets the value of the maxSuppressTime property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMaxSuppressTime() {
return maxSuppressTime;
}
/**
* Sets the value of the maxSuppressTime property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMaxSuppressTime(Integer value) {
this.maxSuppressTime = value;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class DefaultOriginate {
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="s" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="address" type="{http://www.xmlnetwork.org}ipPrefix" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"s"
})
public static class StaticRoutes {
@XmlElement(required = true)
protected List s;
/**
* Gets the value of the s property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the s property.
*
*
* For example, to add a new item, do as follows:
*
* getS().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BGPConf.StaticRoutes.S }
*
*
*/
public List getS() {
if (s == null) {
s = new ArrayList();
}
return this.s;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="address" type="{http://www.xmlnetwork.org}ipPrefix" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class S {
@XmlAttribute
protected String address;
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAddress(String value) {
this.address = value;
}
}
}
}