modelgbp Generated OpFlex Model  1.7.0
modelgbp::epr::L2Ep Class Reference
Inheritance diagram for modelgbp::epr::L2Ep:

Public Member Functions

bool isContextSet ()
 Check whether context has been set. More...
 
boost::optional< const std::string & > getContext ()
 Get the value of context if it has been set. More...
 
const std::string & getContext (const std::string &defaultValue)
 Get the value of context if set, otherwise the value of default passed in. More...
 
modelgbp::epr::L2EpsetContext (const std::string &newValue)
 Set context to the specified value in the currently-active mutator. More...
 
modelgbp::epr::L2EpunsetContext ()
 Unset context in the currently-active mutator. More...
 
bool isGroupSet ()
 Check whether group has been set. More...
 
boost::optional< const std::string & > getGroup ()
 Get the value of group if it has been set. More...
 
const std::string & getGroup (const std::string &defaultValue)
 Get the value of group if set, otherwise the value of default passed in. More...
 
modelgbp::epr::L2EpsetGroup (const std::string &newValue)
 Set group to the specified value in the currently-active mutator. More...
 
modelgbp::epr::L2EpunsetGroup ()
 Unset group in the currently-active mutator. More...
 
bool isInterfaceNameSet ()
 Check whether interfaceName has been set. More...
 
boost::optional< const std::string & > getInterfaceName ()
 Get the value of interfaceName if it has been set. More...
 
const std::string & getInterfaceName (const std::string &defaultValue)
 Get the value of interfaceName if set, otherwise the value of default passed in. More...
 
modelgbp::epr::L2EpsetInterfaceName (const std::string &newValue)
 Set interfaceName to the specified value in the currently-active mutator. More...
 
modelgbp::epr::L2EpunsetInterfaceName ()
 Unset interfaceName in the currently-active mutator. More...
 
bool isMacSet ()
 Check whether mac has been set. More...
 
boost::optional< const opflex::modb::MAC & > getMac ()
 Get the value of mac if it has been set. More...
 
const opflex::modb::MAC & getMac (const opflex::modb::MAC &defaultValue)
 Get the value of mac if set, otherwise the value of default passed in. More...
 
modelgbp::epr::L2EpsetMac (const opflex::modb::MAC &newValue)
 Set mac to the specified value in the currently-active mutator. More...
 
modelgbp::epr::L2EpunsetMac ()
 Unset mac in the currently-active mutator. More...
 
bool isUuidSet ()
 Check whether uuid has been set. More...
 
boost::optional< const std::string & > getUuid ()
 Get the value of uuid if it has been set. More...
 
const std::string & getUuid (const std::string &defaultValue)
 Get the value of uuid if set, otherwise the value of default passed in. More...
 
modelgbp::epr::L2EpsetUuid (const std::string &newValue)
 Set uuid to the specified value in the currently-active mutator. More...
 
modelgbp::epr::L2EpunsetUuid ()
 Unset uuid in the currently-active mutator. More...
 
bool isVmNameSet ()
 Check whether vmName has been set. More...
 
boost::optional< const std::string & > getVmName ()
 Get the value of vmName if it has been set. More...
 
const std::string & getVmName (const std::string &defaultValue)
 Get the value of vmName if set, otherwise the value of default passed in. More...
 
modelgbp::epr::L2EpsetVmName (const std::string &newValue)
 Set vmName to the specified value in the currently-active mutator. More...
 
modelgbp::epr::L2EpunsetVmName ()
 Unset vmName in the currently-active mutator. More...
 
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::ReportedEpAttributeSet > > resolveGbpeReportedEpAttributeSet ()
 Retrieve the child object with the specified naming properties. More...
 
OF_SHARED_PTR< modelgbp::gbpe::ReportedEpAttributeSetaddGbpeReportedEpAttributeSet ()
 Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More...
 
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveGbpeAttestation (const std::string &gbpeAttestationName)
 Retrieve the child object with the specified naming properties. More...
 
OF_SHARED_PTR< modelgbp::gbpe::AttestationaddGbpeAttestation (const std::string &gbpeAttestationName)
 Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More...
 
void resolveGbpeAttestation (std::vector< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > &out)
 Resolve and retrieve all of the immediate children of type modelgbp::gbpe::Attestation. More...
 
boost::optional< OF_SHARED_PTR< modelgbp::span::LocalEpFromEpRTgt > > resolveSpanLocalEpFromEpRTgt (const std::string &spanLocalEpFromEpRTgtSource)
 Retrieve the child object with the specified naming properties. More...
 
OF_SHARED_PTR< modelgbp::span::LocalEpFromEpRTgtaddSpanLocalEpFromEpRTgt (const std::string &spanLocalEpFromEpRTgtSource)
 Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More...
 
void resolveSpanLocalEpFromEpRTgt (std::vector< OF_SHARED_PTR< modelgbp::span::LocalEpFromEpRTgt > > &out)
 Resolve and retrieve all of the immediate children of type modelgbp::span::LocalEpFromEpRTgt. More...
 
boost::optional< OF_SHARED_PTR< modelgbp::epr::SecurityGroupContext > > resolveEprSecurityGroupContext (const std::string &eprSecurityGroupContextSecGroup)
 Retrieve the child object with the specified naming properties. More...
 
OF_SHARED_PTR< modelgbp::epr::SecurityGroupContextaddEprSecurityGroupContext (const std::string &eprSecurityGroupContextSecGroup)
 Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More...
 
void resolveEprSecurityGroupContext (std::vector< OF_SHARED_PTR< modelgbp::epr::SecurityGroupContext > > &out)
 Resolve and retrieve all of the immediate children of type modelgbp::epr::SecurityGroupContext. More...
 
boost::optional< OF_SHARED_PTR< modelgbp::epr::L3Net > > resolveEprL3Net (const std::string &eprL3NetIp)
 Retrieve the child object with the specified naming properties. More...
 
OF_SHARED_PTR< modelgbp::epr::L3NetaddEprL3Net (const std::string &eprL3NetIp)
 Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More...
 
void resolveEprL3Net (std::vector< OF_SHARED_PTR< modelgbp::epr::L3Net > > &out)
 Resolve and retrieve all of the immediate children of type modelgbp::epr::L3Net. More...
 
void remove ()
 Remove this instance using the currently-active mutator. More...
 
 L2Ep (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
 Construct an instance of L2Ep. More...
 

Static Public Member Functions

static boost::optional< OF_SHARED_PTR< modelgbp::epr::L2Ep > > resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Retrieve an instance of L2Ep from the managed object store. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L2Ep > > resolve (const opflex::modb::URI &uri)
 Retrieve an instance of L2Ep from the managed object store using the default framework instance. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L2Ep > > resolve (opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac)
 Retrieve an instance of L2Ep from the managed object store by constructing its URI from the path elements that lead to it. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L2Ep > > resolve (const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac)
 Retrieve an instance of L2Ep from the default managed object store by constructing its URI from the path elements that lead to it. More...
 
static void remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Remove the L2Ep object with the specified URI using the currently-active mutator. More...
 
static void remove (const opflex::modb::URI &uri)
 Remove the L2Ep object with the specified URI using the currently-active mutator and the default framework instance. More...
 
static void remove (opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac)
 Remove the L2Ep object with the specified path elements from the managed object store. More...
 
static void remove (const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac)
 Remove the L2Ep object with the specified path elements from the managed object store using the default framework instance. More...
 
static void registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Register a listener that will get called for changes related to this class. More...
 
static void registerListener (opflex::modb::ObjectListener *listener)
 Register a listener that will get called for changes related to this class with the default framework instance. More...
 
static void unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class. More...
 
static void unregisterListener (opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class from the default framework instance. More...
 

Static Public Attributes

static const opflex::modb::class_id_t CLASS_ID = 99
 The unique class ID for L2Ep.
 

Constructor & Destructor Documentation

◆ L2Ep()

modelgbp::epr::L2Ep::L2Ep ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri,
const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &  oi 
)
inline

Construct an instance of L2Ep.

This should not typically be called from user code.

Member Function Documentation

◆ addEprL3Net()

OF_SHARED_PTR<modelgbp::epr::L3Net> modelgbp::epr::L2Ep::addEprL3Net ( const std::string &  eprL3NetIp)
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Parameters
eprL3NetIpthe value of eprL3NetIp, a naming property for L3Net
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

◆ addEprSecurityGroupContext()

OF_SHARED_PTR<modelgbp::epr::SecurityGroupContext> modelgbp::epr::L2Ep::addEprSecurityGroupContext ( const std::string &  eprSecurityGroupContextSecGroup)
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Parameters
eprSecurityGroupContextSecGroupthe value of eprSecurityGroupContextSecGroup, a naming property for SecurityGroupContext
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

◆ addGbpeAttestation()

OF_SHARED_PTR<modelgbp::gbpe::Attestation> modelgbp::epr::L2Ep::addGbpeAttestation ( const std::string &  gbpeAttestationName)
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Parameters
gbpeAttestationNamethe value of gbpeAttestationName, a naming property for Attestation
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

◆ addGbpeReportedEpAttributeSet()

OF_SHARED_PTR<modelgbp::gbpe::ReportedEpAttributeSet> modelgbp::epr::L2Ep::addGbpeReportedEpAttributeSet ( )
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

◆ addSpanLocalEpFromEpRTgt()

OF_SHARED_PTR<modelgbp::span::LocalEpFromEpRTgt> modelgbp::epr::L2Ep::addSpanLocalEpFromEpRTgt ( const std::string &  spanLocalEpFromEpRTgtSource)
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Parameters
spanLocalEpFromEpRTgtSourcethe value of spanLocalEpFromEpRTgtSource, a naming property for LocalEpFromEpRTgt
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

◆ getContext() [1/2]

boost::optional<const std::string&> modelgbp::epr::L2Ep::getContext ( )
inline

Get the value of context if it has been set.

Returns
the value of context or boost::none if not set

References isContextSet().

Referenced by getContext().

◆ getContext() [2/2]

const std::string& modelgbp::epr::L2Ep::getContext ( const std::string &  defaultValue)
inline

Get the value of context if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of context if set, otherwise the value of default passed in

References getContext().

◆ getGroup() [1/2]

boost::optional<const std::string&> modelgbp::epr::L2Ep::getGroup ( )
inline

Get the value of group if it has been set.

Returns
the value of group or boost::none if not set

References isGroupSet().

Referenced by getGroup().

◆ getGroup() [2/2]

const std::string& modelgbp::epr::L2Ep::getGroup ( const std::string &  defaultValue)
inline

Get the value of group if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of group if set, otherwise the value of default passed in

References getGroup().

◆ getInterfaceName() [1/2]

boost::optional<const std::string&> modelgbp::epr::L2Ep::getInterfaceName ( )
inline

Get the value of interfaceName if it has been set.

Returns
the value of interfaceName or boost::none if not set

References isInterfaceNameSet().

Referenced by getInterfaceName().

◆ getInterfaceName() [2/2]

const std::string& modelgbp::epr::L2Ep::getInterfaceName ( const std::string &  defaultValue)
inline

Get the value of interfaceName if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of interfaceName if set, otherwise the value of default passed in

References getInterfaceName().

◆ getMac() [1/2]

boost::optional<const opflex::modb::MAC&> modelgbp::epr::L2Ep::getMac ( )
inline

Get the value of mac if it has been set.

Returns
the value of mac or boost::none if not set

References isMacSet().

Referenced by getMac().

◆ getMac() [2/2]

const opflex::modb::MAC& modelgbp::epr::L2Ep::getMac ( const opflex::modb::MAC &  defaultValue)
inline

Get the value of mac if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of mac if set, otherwise the value of default passed in

References getMac().

◆ getUuid() [1/2]

boost::optional<const std::string&> modelgbp::epr::L2Ep::getUuid ( )
inline

Get the value of uuid if it has been set.

Returns
the value of uuid or boost::none if not set

References isUuidSet().

Referenced by getUuid().

◆ getUuid() [2/2]

const std::string& modelgbp::epr::L2Ep::getUuid ( const std::string &  defaultValue)
inline

Get the value of uuid if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of uuid if set, otherwise the value of default passed in

References getUuid().

◆ getVmName() [1/2]

boost::optional<const std::string&> modelgbp::epr::L2Ep::getVmName ( )
inline

Get the value of vmName if it has been set.

Returns
the value of vmName or boost::none if not set

References isVmNameSet().

Referenced by getVmName().

◆ getVmName() [2/2]

const std::string& modelgbp::epr::L2Ep::getVmName ( const std::string &  defaultValue)
inline

Get the value of vmName if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of vmName if set, otherwise the value of default passed in

References getVmName().

◆ isContextSet()

bool modelgbp::epr::L2Ep::isContextSet ( )
inline

Check whether context has been set.

Returns
true if context has been set

Referenced by getContext().

◆ isGroupSet()

bool modelgbp::epr::L2Ep::isGroupSet ( )
inline

Check whether group has been set.

Returns
true if group has been set

Referenced by getGroup().

◆ isInterfaceNameSet()

bool modelgbp::epr::L2Ep::isInterfaceNameSet ( )
inline

Check whether interfaceName has been set.

Returns
true if interfaceName has been set

Referenced by getInterfaceName().

◆ isMacSet()

bool modelgbp::epr::L2Ep::isMacSet ( )
inline

Check whether mac has been set.

Returns
true if mac has been set

Referenced by getMac().

◆ isUuidSet()

bool modelgbp::epr::L2Ep::isUuidSet ( )
inline

Check whether uuid has been set.

Returns
true if uuid has been set

Referenced by getUuid().

◆ isVmNameSet()

bool modelgbp::epr::L2Ep::isVmNameSet ( )
inline

Check whether vmName has been set.

Returns
true if vmName has been set

Referenced by getVmName().

◆ registerListener() [1/2]

static void modelgbp::epr::L2Ep::registerListener ( opflex::ofcore::OFFramework &  framework,
opflex::modb::ObjectListener *  listener 
)
inlinestatic

Register a listener that will get called for changes related to this class.

This listener will be called for any modifications of this class or any transitive children of this class.

Parameters
frameworkthe framework instance
listenerthe listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered.

References CLASS_ID.

Referenced by registerListener().

◆ registerListener() [2/2]

static void modelgbp::epr::L2Ep::registerListener ( opflex::modb::ObjectListener *  listener)
inlinestatic

Register a listener that will get called for changes related to this class with the default framework instance.

This listener will be called for any modifications of this class or any transitive children of this class.

Parameters
listenerthe listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered.

References registerListener().

◆ remove() [1/5]

void modelgbp::epr::L2Ep::remove ( )
inline

Remove this instance using the currently-active mutator.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ remove() [2/5]

static void modelgbp::epr::L2Ep::remove ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri 
)
inlinestatic

Remove the L2Ep object with the specified URI using the currently-active mutator.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Parameters
frameworkthe framework instance to use
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ remove() [3/5]

static void modelgbp::epr::L2Ep::remove ( const opflex::modb::URI &  uri)
inlinestatic

Remove the L2Ep object with the specified URI using the currently-active mutator and the default framework instance.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Parameters
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

◆ remove() [4/5]

static void modelgbp::epr::L2Ep::remove ( opflex::ofcore::OFFramework &  framework,
const std::string &  eprL2EpContext,
const opflex::modb::MAC &  eprL2EpMac 
)
inlinestatic

Remove the L2Ep object with the specified path elements from the managed object store.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

The object URI generated by this function will take the form: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]

Parameters
frameworkthe framework instance to use
eprL2EpContextthe value of eprL2EpContext, a naming property for L2Ep
eprL2EpMacthe value of eprL2EpMac, a naming property for L2Ep
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ remove() [5/5]

static void modelgbp::epr::L2Ep::remove ( const std::string &  eprL2EpContext,
const opflex::modb::MAC &  eprL2EpMac 
)
inlinestatic

Remove the L2Ep object with the specified path elements from the managed object store using the default framework instance.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

The object URI generated by this function will take the form: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]

Parameters
eprL2EpContextthe value of eprL2EpContext, a naming property for L2Ep
eprL2EpMacthe value of eprL2EpMac, a naming property for L2Ep
Exceptions
std::logic_errorif no mutator is active

◆ resolve() [1/4]

static boost::optional<OF_SHARED_PTR<modelgbp::epr::L2Ep> > modelgbp::epr::L2Ep::resolve ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri 
)
inlinestatic

Retrieve an instance of L2Ep from the managed object store.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
frameworkthe framework instance to use
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

Referenced by resolve(), and modelgbp::epr::L2Universe::resolveEprL2Ep().

◆ resolve() [2/4]

static boost::optional<OF_SHARED_PTR<modelgbp::epr::L2Ep> > modelgbp::epr::L2Ep::resolve ( const opflex::modb::URI &  uri)
inlinestatic

Retrieve an instance of L2Ep from the managed object store using the default framework instance.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

◆ resolve() [3/4]

static boost::optional<OF_SHARED_PTR<modelgbp::epr::L2Ep> > modelgbp::epr::L2Ep::resolve ( opflex::ofcore::OFFramework &  framework,
const std::string &  eprL2EpContext,
const opflex::modb::MAC &  eprL2EpMac 
)
inlinestatic

Retrieve an instance of L2Ep from the managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]

Parameters
frameworkthe framework instance to use
eprL2EpContextthe value of eprL2EpContext, a naming property for L2Ep
eprL2EpMacthe value of eprL2EpMac, a naming property for L2Ep
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

◆ resolve() [4/4]

static boost::optional<OF_SHARED_PTR<modelgbp::epr::L2Ep> > modelgbp::epr::L2Ep::resolve ( const std::string &  eprL2EpContext,
const opflex::modb::MAC &  eprL2EpMac 
)
inlinestatic

Retrieve an instance of L2Ep from the default managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]

Parameters
eprL2EpContextthe value of eprL2EpContext, a naming property for L2Ep
eprL2EpMacthe value of eprL2EpMac, a naming property for L2Ep
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

◆ resolveEprL3Net() [1/2]

boost::optional<OF_SHARED_PTR<modelgbp::epr::L3Net> > modelgbp::epr::L2Ep::resolveEprL3Net ( const std::string &  eprL3NetIp)
inline

Retrieve the child object with the specified naming properties.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
eprL3NetIpthe value of eprL3NetIp, a naming property for L3Net
Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::epr::L3Net::resolve().

◆ resolveEprL3Net() [2/2]

void modelgbp::epr::L2Ep::resolveEprL3Net ( std::vector< OF_SHARED_PTR< modelgbp::epr::L3Net > > &  out)
inline

Resolve and retrieve all of the immediate children of type modelgbp::epr::L3Net.

Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.

The resulting managed objects will be added to the result vector provided.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

◆ resolveEprSecurityGroupContext() [1/2]

boost::optional<OF_SHARED_PTR<modelgbp::epr::SecurityGroupContext> > modelgbp::epr::L2Ep::resolveEprSecurityGroupContext ( const std::string &  eprSecurityGroupContextSecGroup)
inline

Retrieve the child object with the specified naming properties.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
eprSecurityGroupContextSecGroupthe value of eprSecurityGroupContextSecGroup, a naming property for SecurityGroupContext
Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::epr::SecurityGroupContext::resolve().

◆ resolveEprSecurityGroupContext() [2/2]

void modelgbp::epr::L2Ep::resolveEprSecurityGroupContext ( std::vector< OF_SHARED_PTR< modelgbp::epr::SecurityGroupContext > > &  out)
inline

Resolve and retrieve all of the immediate children of type modelgbp::epr::SecurityGroupContext.

Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.

The resulting managed objects will be added to the result vector provided.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

◆ resolveGbpeAttestation() [1/2]

boost::optional<OF_SHARED_PTR<modelgbp::gbpe::Attestation> > modelgbp::epr::L2Ep::resolveGbpeAttestation ( const std::string &  gbpeAttestationName)
inline

Retrieve the child object with the specified naming properties.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
gbpeAttestationNamethe value of gbpeAttestationName, a naming property for Attestation
Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::gbpe::Attestation::resolve().

◆ resolveGbpeAttestation() [2/2]

void modelgbp::epr::L2Ep::resolveGbpeAttestation ( std::vector< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > &  out)
inline

Resolve and retrieve all of the immediate children of type modelgbp::gbpe::Attestation.

Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.

The resulting managed objects will be added to the result vector provided.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

◆ resolveGbpeReportedEpAttributeSet()

boost::optional<OF_SHARED_PTR<modelgbp::gbpe::ReportedEpAttributeSet> > modelgbp::epr::L2Ep::resolveGbpeReportedEpAttributeSet ( )
inline

Retrieve the child object with the specified naming properties.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::gbpe::ReportedEpAttributeSet::resolve().

◆ resolveSpanLocalEpFromEpRTgt() [1/2]

boost::optional<OF_SHARED_PTR<modelgbp::span::LocalEpFromEpRTgt> > modelgbp::epr::L2Ep::resolveSpanLocalEpFromEpRTgt ( const std::string &  spanLocalEpFromEpRTgtSource)
inline

Retrieve the child object with the specified naming properties.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
spanLocalEpFromEpRTgtSourcethe value of spanLocalEpFromEpRTgtSource, a naming property for LocalEpFromEpRTgt
Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::span::LocalEpFromEpRTgt::resolve().

◆ resolveSpanLocalEpFromEpRTgt() [2/2]

void modelgbp::epr::L2Ep::resolveSpanLocalEpFromEpRTgt ( std::vector< OF_SHARED_PTR< modelgbp::span::LocalEpFromEpRTgt > > &  out)
inline

Resolve and retrieve all of the immediate children of type modelgbp::span::LocalEpFromEpRTgt.

Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.

The resulting managed objects will be added to the result vector provided.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

◆ setContext()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::setContext ( const std::string &  newValue)
inline

Set context to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setGroup()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::setGroup ( const std::string &  newValue)
inline

Set group to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setInterfaceName()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::setInterfaceName ( const std::string &  newValue)
inline

Set interfaceName to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setMac()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::setMac ( const opflex::modb::MAC &  newValue)
inline

Set mac to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setUuid()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::setUuid ( const std::string &  newValue)
inline

Set uuid to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setVmName()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::setVmName ( const std::string &  newValue)
inline

Set vmName to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ unregisterListener() [1/2]

static void modelgbp::epr::L2Ep::unregisterListener ( opflex::ofcore::OFFramework &  framework,
opflex::modb::ObjectListener *  listener 
)
inlinestatic

Unregister a listener from updates to this class.

Parameters
frameworkthe framework instance
listenerThe listener to unregister.

References CLASS_ID.

Referenced by unregisterListener().

◆ unregisterListener() [2/2]

static void modelgbp::epr::L2Ep::unregisterListener ( opflex::modb::ObjectListener *  listener)
inlinestatic

Unregister a listener from updates to this class from the default framework instance.

Parameters
listenerThe listener to unregister.

References unregisterListener().

◆ unsetContext()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::unsetContext ( )
inline

Unset context in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetGroup()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::unsetGroup ( )
inline

Unset group in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetInterfaceName()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::unsetInterfaceName ( )
inline

Unset interfaceName in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetMac()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::unsetMac ( )
inline

Unset mac in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetUuid()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::unsetUuid ( )
inline

Unset uuid in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetVmName()

modelgbp::epr::L2Ep& modelgbp::epr::L2Ep::unsetVmName ( )
inline

Unset vmName in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

The documentation for this class was generated from the following file: