public class VplsAppConfig
extends org.onosproject.net.config.Config<org.onosproject.core.ApplicationId>
| Constructor and Description |
|---|
VplsAppConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIface(String vplsName,
String iface)
Adds a network interface to a VPLS.
|
void |
addVpls(VplsConfig vpls)
Adds a VPLS to the configuration.
|
VplsConfig |
getVplsWithName(String name)
Returns the VPLS configuration given a VPLS name.
|
void |
removeIface(VplsConfig name,
String iface)
Removes a network interface from a VPLS.
|
void |
removeVpls(String vplsName)
Removes a VPLS from the configuration.
|
void |
setEncap(String vplsName,
org.onosproject.net.EncapsulationType encap)
Activate, deactivates, sets the encapsulation type for a given VPLS.
|
VplsConfig |
vplsFromIface(String iface)
Finds a VPLS with a given network interface.
|
Set<VplsConfig> |
vplss()
Returns a set of configured VPLSs.
|
apply, clear, get, get, get, get, get, get, getList, getList, hasField, hasField, hasFields, hasFields, hasOnlyFields, hasOnlyFields, init, isBoolean, isBoolean, isConnectPoint, isConnectPoint, isDecimal, isDecimal, isIntegralNumber, isIntegralNumber, isIpAddress, isIpAddress, isIpPrefix, isIpPrefix, isMacAddress, isMacAddress, isNumber, isNumber, isString, isString, isTpPort, isTpPort, isValid, key, node, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subjectpublic Set<VplsConfig> vplss()
public VplsConfig getVplsWithName(String name)
name - the name of the VPLSpublic void addVpls(VplsConfig vpls)
vpls - the name of the VPLSpublic void removeVpls(String vplsName)
vplsName - the vplsName of the VPLS to be removedpublic VplsConfig vplsFromIface(String iface)
iface - the network interfacepublic void addIface(String vplsName, String iface)
vplsName - the vplsName of the VPLSiface - the network interface to be addedpublic void removeIface(VplsConfig name, String iface)
name - the name of the VPLSiface - the network interface to be removedpublic void setEncap(String vplsName, org.onosproject.net.EncapsulationType encap)
vplsName - the vplsName of the VPLSencap - the encapsulation type, if set