modelgbp Generated OpFlex Model  1.7.0
modelgbp::gbpe::InstContext Class Reference
Inheritance diagram for modelgbp::gbpe::InstContext:

Public Member Functions

bool isClassidSet ()
 Check whether classid has been set. More...
 
boost::optional< uint32_t > getClassid ()
 Get the value of classid if it has been set. More...
 
uint32_t getClassid (uint32_t defaultValue)
 Get the value of classid if set, otherwise the value of default passed in. More...
 
modelgbp::gbpe::InstContextsetClassid (uint32_t newValue)
 Set classid to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::InstContextunsetClassid ()
 Unset classid in the currently-active mutator. More...
 
bool isEncapIdSet ()
 Check whether encapId has been set. More...
 
boost::optional< uint32_t > getEncapId ()
 Get the value of encapId if it has been set. More...
 
uint32_t getEncapId (uint32_t defaultValue)
 Get the value of encapId if set, otherwise the value of default passed in. More...
 
modelgbp::gbpe::InstContextsetEncapId (uint32_t newValue)
 Set encapId to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::InstContextunsetEncapId ()
 Unset encapId in the currently-active mutator. More...
 
bool isMulticastGroupIPSet ()
 Check whether multicastGroupIP has been set. More...
 
boost::optional< const
std::string & > 
getMulticastGroupIP ()
 Get the value of multicastGroupIP if it has been set. More...
 
const std::string & getMulticastGroupIP (const std::string &defaultValue)
 Get the value of multicastGroupIP if set, otherwise the value of default passed in. More...
 
modelgbp::gbpe::InstContextsetMulticastGroupIP (const std::string &newValue)
 Set multicastGroupIP to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::InstContextunsetMulticastGroupIP ()
 Unset multicastGroupIP in the currently-active mutator. More...
 
void remove ()
 Remove this instance using the currently-active mutator. More...
 
 InstContext (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
 Construct an instance of InstContext. More...
 

Static Public Member Functions

static boost::optional
< OF_SHARED_PTR
< modelgbp::gbpe::InstContext > > 
resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Retrieve an instance of InstContext from the managed object store. More...
 
static boost::optional
< OF_SHARED_PTR
< modelgbp::gbpe::InstContext > > 
resolve (const opflex::modb::URI &uri)
 Retrieve an instance of InstContext from the managed object store using the default framework instance. More...
 
static boost::optional
< OF_SHARED_PTR
< modelgbp::gbpe::InstContext > > 
resolveUnderPolicyUniversePolicySpaceGbpEpGroup (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpEpGroupName)
 Retrieve an instance of InstContext 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::gbpe::InstContext > > 
resolveUnderPolicyUniversePolicySpaceGbpEpGroup (const std::string &policySpaceName, const std::string &gbpEpGroupName)
 Retrieve an instance of InstContext from the default managed object store by constructing its URI from the path elements that lead to it. More...
 
static boost::optional
< OF_SHARED_PTR
< modelgbp::gbpe::InstContext > > 
resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpBridgeDomainName)
 Retrieve an instance of InstContext 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::gbpe::InstContext > > 
resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain (const std::string &policySpaceName, const std::string &gbpBridgeDomainName)
 Retrieve an instance of InstContext from the default managed object store by constructing its URI from the path elements that lead to it. More...
 
static boost::optional
< OF_SHARED_PTR
< modelgbp::gbpe::InstContext > > 
resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpRoutingDomainName)
 Retrieve an instance of InstContext 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::gbpe::InstContext > > 
resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain (const std::string &policySpaceName, const std::string &gbpRoutingDomainName)
 Retrieve an instance of InstContext 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 InstContext object with the specified URI using the currently-active mutator. More...
 
static void remove (const opflex::modb::URI &uri)
 Remove the InstContext object with the specified URI using the currently-active mutator and the default framework instance. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpEpGroup (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpEpGroupName)
 Remove the InstContext object with the specified path elements from the managed object store. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpEpGroup (const std::string &policySpaceName, const std::string &gbpEpGroupName)
 Remove the InstContext object with the specified path elements from the managed object store using the default framework instance. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpBridgeDomain (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpBridgeDomainName)
 Remove the InstContext object with the specified path elements from the managed object store. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpBridgeDomain (const std::string &policySpaceName, const std::string &gbpBridgeDomainName)
 Remove the InstContext object with the specified path elements from the managed object store using the default framework instance. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpRoutingDomain (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpRoutingDomainName)
 Remove the InstContext object with the specified path elements from the managed object store. More...
 
static void removeUnderPolicyUniversePolicySpaceGbpRoutingDomain (const std::string &policySpaceName, const std::string &gbpRoutingDomainName)
 Remove the InstContext 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 = 40
 The unique class ID for InstContext.
 

Constructor & Destructor Documentation

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

Construct an instance of InstContext.

This should not typically be called from user code.

Member Function Documentation

boost::optional<uint32_t> modelgbp::gbpe::InstContext::getClassid ( )
inline

Get the value of classid if it has been set.

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

References isClassidSet().

Referenced by getClassid().

uint32_t modelgbp::gbpe::InstContext::getClassid ( uint32_t  defaultValue)
inline

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

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

References getClassid().

boost::optional<uint32_t> modelgbp::gbpe::InstContext::getEncapId ( )
inline

Get the value of encapId if it has been set.

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

References isEncapIdSet().

Referenced by getEncapId().

uint32_t modelgbp::gbpe::InstContext::getEncapId ( uint32_t  defaultValue)
inline

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

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

References getEncapId().

boost::optional<const std::string&> modelgbp::gbpe::InstContext::getMulticastGroupIP ( )
inline

Get the value of multicastGroupIP if it has been set.

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

References isMulticastGroupIPSet().

Referenced by getMulticastGroupIP().

const std::string& modelgbp::gbpe::InstContext::getMulticastGroupIP ( const std::string &  defaultValue)
inline

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

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

References getMulticastGroupIP().

bool modelgbp::gbpe::InstContext::isClassidSet ( )
inline

Check whether classid has been set.

Returns
true if classid has been set

Referenced by getClassid().

bool modelgbp::gbpe::InstContext::isEncapIdSet ( )
inline

Check whether encapId has been set.

Returns
true if encapId has been set

Referenced by getEncapId().

bool modelgbp::gbpe::InstContext::isMulticastGroupIPSet ( )
inline

Check whether multicastGroupIP has been set.

Returns
true if multicastGroupIP has been set

Referenced by getMulticastGroupIP().

static void modelgbp::gbpe::InstContext::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().

static void modelgbp::gbpe::InstContext::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().

void modelgbp::gbpe::InstContext::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.

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

Remove the InstContext 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.

static void modelgbp::gbpe::InstContext::remove ( const opflex::modb::URI &  uri)
inlinestatic

Remove the InstContext 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
static void modelgbp::gbpe::InstContext::removeUnderPolicyUniversePolicySpaceGbpBridgeDomain ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpBridgeDomainName 
)
inlinestatic

Remove the InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpBridgeDomain/[gbpBridgeDomainName]/GbpeInstContext

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpBridgeDomainNamethe value of gbpBridgeDomainName, a naming property for BridgeDomain
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by removeUnderPolicyUniversePolicySpaceGbpBridgeDomain().

static void modelgbp::gbpe::InstContext::removeUnderPolicyUniversePolicySpaceGbpBridgeDomain ( const std::string &  policySpaceName,
const std::string &  gbpBridgeDomainName 
)
inlinestatic

Remove the InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpBridgeDomain/[gbpBridgeDomainName]/GbpeInstContext

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpBridgeDomainNamethe value of gbpBridgeDomainName, a naming property for BridgeDomain
Exceptions
std::logic_errorif no mutator is active

References removeUnderPolicyUniversePolicySpaceGbpBridgeDomain().

static void modelgbp::gbpe::InstContext::removeUnderPolicyUniversePolicySpaceGbpEpGroup ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpEpGroupName 
)
inlinestatic

Remove the InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpEpGroup/[gbpEpGroupName]/GbpeInstContext

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpEpGroupNamethe value of gbpEpGroupName, a naming property for EpGroup
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by removeUnderPolicyUniversePolicySpaceGbpEpGroup().

static void modelgbp::gbpe::InstContext::removeUnderPolicyUniversePolicySpaceGbpEpGroup ( const std::string &  policySpaceName,
const std::string &  gbpEpGroupName 
)
inlinestatic

Remove the InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpEpGroup/[gbpEpGroupName]/GbpeInstContext

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpEpGroupNamethe value of gbpEpGroupName, a naming property for EpGroup
Exceptions
std::logic_errorif no mutator is active

References removeUnderPolicyUniversePolicySpaceGbpEpGroup().

static void modelgbp::gbpe::InstContext::removeUnderPolicyUniversePolicySpaceGbpRoutingDomain ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpRoutingDomainName 
)
inlinestatic

Remove the InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpRoutingDomain/[gbpRoutingDomainName]/GbpeInstContext

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpRoutingDomainNamethe value of gbpRoutingDomainName, a naming property for RoutingDomain
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by removeUnderPolicyUniversePolicySpaceGbpRoutingDomain().

static void modelgbp::gbpe::InstContext::removeUnderPolicyUniversePolicySpaceGbpRoutingDomain ( const std::string &  policySpaceName,
const std::string &  gbpRoutingDomainName 
)
inlinestatic

Remove the InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpRoutingDomain/[gbpRoutingDomainName]/GbpeInstContext

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpRoutingDomainNamethe value of gbpRoutingDomainName, a naming property for RoutingDomain
Exceptions
std::logic_errorif no mutator is active

References removeUnderPolicyUniversePolicySpaceGbpRoutingDomain().

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

Retrieve an instance of InstContext 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 modelgbp::gbp::BridgeDomain::resolveGbpeInstContext(), modelgbp::gbp::RoutingDomain::resolveGbpeInstContext(), modelgbp::gbp::EpGroup::resolveGbpeInstContext(), resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain(), resolveUnderPolicyUniversePolicySpaceGbpEpGroup(), and resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain().

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

Retrieve an instance of InstContext 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.

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::InstContext> > modelgbp::gbpe::InstContext::resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpBridgeDomainName 
)
inlinestatic

Retrieve an instance of InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpBridgeDomain/[gbpBridgeDomainName]/GbpeInstContext

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpBridgeDomainNamethe value of gbpBridgeDomainName, a naming property for BridgeDomain
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

Referenced by resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain().

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::InstContext> > modelgbp::gbpe::InstContext::resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain ( const std::string &  policySpaceName,
const std::string &  gbpBridgeDomainName 
)
inlinestatic

Retrieve an instance of InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpBridgeDomain/[gbpBridgeDomainName]/GbpeInstContext

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpBridgeDomainNamethe value of gbpBridgeDomainName, a naming property for BridgeDomain
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain().

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::InstContext> > modelgbp::gbpe::InstContext::resolveUnderPolicyUniversePolicySpaceGbpEpGroup ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpEpGroupName 
)
inlinestatic

Retrieve an instance of InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpEpGroup/[gbpEpGroupName]/GbpeInstContext

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpEpGroupNamethe value of gbpEpGroupName, a naming property for EpGroup
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

Referenced by resolveUnderPolicyUniversePolicySpaceGbpEpGroup().

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::InstContext> > modelgbp::gbpe::InstContext::resolveUnderPolicyUniversePolicySpaceGbpEpGroup ( const std::string &  policySpaceName,
const std::string &  gbpEpGroupName 
)
inlinestatic

Retrieve an instance of InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpEpGroup/[gbpEpGroupName]/GbpeInstContext

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpEpGroupNamethe value of gbpEpGroupName, a naming property for EpGroup
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolveUnderPolicyUniversePolicySpaceGbpEpGroup().

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::InstContext> > modelgbp::gbpe::InstContext::resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpRoutingDomainName 
)
inlinestatic

Retrieve an instance of InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpRoutingDomain/[gbpRoutingDomainName]/GbpeInstContext

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpRoutingDomainNamethe value of gbpRoutingDomainName, a naming property for RoutingDomain
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

Referenced by resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain().

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::InstContext> > modelgbp::gbpe::InstContext::resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain ( const std::string &  policySpaceName,
const std::string &  gbpRoutingDomainName 
)
inlinestatic

Retrieve an instance of InstContext 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: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpRoutingDomain/[gbpRoutingDomainName]/GbpeInstContext

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpRoutingDomainNamethe value of gbpRoutingDomainName, a naming property for RoutingDomain
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain().

modelgbp::gbpe::InstContext& modelgbp::gbpe::InstContext::setClassid ( uint32_t  newValue)
inline

Set classid 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
modelgbp::gbpe::InstContext& modelgbp::gbpe::InstContext::setEncapId ( uint32_t  newValue)
inline

Set encapId 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
modelgbp::gbpe::InstContext& modelgbp::gbpe::InstContext::setMulticastGroupIP ( const std::string &  newValue)
inline

Set multicastGroupIP 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
static void modelgbp::gbpe::InstContext::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().

static void modelgbp::gbpe::InstContext::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().

modelgbp::gbpe::InstContext& modelgbp::gbpe::InstContext::unsetClassid ( )
inline

Unset classid 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
modelgbp::gbpe::InstContext& modelgbp::gbpe::InstContext::unsetEncapId ( )
inline

Unset encapId 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
modelgbp::gbpe::InstContext& modelgbp::gbpe::InstContext::unsetMulticastGroupIP ( )
inline

Unset multicastGroupIP 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: