modelgbp Generated OpFlex Model 1.7.0
|
Public Member Functions | |
bool | isClassidSet () |
Check whether classid has been set. | |
boost::optional< uint32_t > | getClassid () |
Get the value of classid if it has been set. | |
uint32_t | getClassid (uint32_t defaultValue) |
Get the value of classid if set, otherwise the value of default passed in. | |
modelgbp::gbpe::InstContext & | setClassid (uint32_t newValue) |
Set classid to the specified value in the currently-active mutator. | |
modelgbp::gbpe::InstContext & | unsetClassid () |
Unset classid in the currently-active mutator. | |
bool | isEncapIdSet () |
Check whether encapId has been set. | |
boost::optional< uint32_t > | getEncapId () |
Get the value of encapId if it has been set. | |
uint32_t | getEncapId (uint32_t defaultValue) |
Get the value of encapId if set, otherwise the value of default passed in. | |
modelgbp::gbpe::InstContext & | setEncapId (uint32_t newValue) |
Set encapId to the specified value in the currently-active mutator. | |
modelgbp::gbpe::InstContext & | unsetEncapId () |
Unset encapId in the currently-active mutator. | |
bool | isMulticastGroupIPSet () |
Check whether multicastGroupIP has been set. | |
boost::optional< const std::string & > | getMulticastGroupIP () |
Get the value of multicastGroupIP if it has been set. | |
const std::string & | getMulticastGroupIP (const std::string &defaultValue) |
Get the value of multicastGroupIP if set, otherwise the value of default passed in. | |
modelgbp::gbpe::InstContext & | setMulticastGroupIP (const std::string &newValue) |
Set multicastGroupIP to the specified value in the currently-active mutator. | |
modelgbp::gbpe::InstContext & | unsetMulticastGroupIP () |
Unset multicastGroupIP in the currently-active mutator. | |
void | remove () |
Remove this instance using the currently-active mutator. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
static void | registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
Register a listener that will get called for changes related to this class. | |
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. | |
static void | unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
Unregister a listener from updates to this class. | |
static void | unregisterListener (opflex::modb::ObjectListener *listener) |
Unregister a listener from updates to this class from the default framework instance. | |
Static Public Attributes | |
static const opflex::modb::class_id_t | CLASS_ID = 40 |
The unique class ID for InstContext. | |
|
inline |
Construct an instance of InstContext.
This should not typically be called from user code.
References CLASS_ID.
|
inline |
Get the value of classid if it has been set.
References isClassidSet().
Referenced by getClassid().
|
inline |
Get the value of classid if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getClassid().
|
inline |
Get the value of encapId if it has been set.
References isEncapIdSet().
Referenced by getEncapId().
|
inline |
Get the value of encapId if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getEncapId().
|
inline |
Get the value of multicastGroupIP if it has been set.
References isMulticastGroupIPSet().
Referenced by getMulticastGroupIP().
|
inline |
Get the value of multicastGroupIP if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getMulticastGroupIP().
|
inline |
|
inline |
|
inline |
Check whether multicastGroupIP has been set.
Referenced by getMulticastGroupIP().
|
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.
listener | the 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().
|
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.
framework | the framework instance |
listener | the 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().
|
inline |
|
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.
uri | the URI of the object to remove |
std::logic_error | if no mutator is active |
References remove().
|
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.
framework | the framework instance to use |
uri | the URI of the object to remove |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
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
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpBridgeDomainName | the value of gbpBridgeDomainName, a naming property for BridgeDomain |
std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpBridgeDomain().
|
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
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpBridgeDomainName | the value of gbpBridgeDomainName, a naming property for BridgeDomain |
std::logic_error | if no mutator is active |
References CLASS_ID.
Referenced by removeUnderPolicyUniversePolicySpaceGbpBridgeDomain().
|
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
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpEpGroupName | the value of gbpEpGroupName, a naming property for EpGroup |
std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpEpGroup().
|
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
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpEpGroupName | the value of gbpEpGroupName, a naming property for EpGroup |
std::logic_error | if no mutator is active |
References CLASS_ID.
Referenced by removeUnderPolicyUniversePolicySpaceGbpEpGroup().
|
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
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpRoutingDomainName | the value of gbpRoutingDomainName, a naming property for RoutingDomain |
std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
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
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpRoutingDomainName | the value of gbpRoutingDomainName, a naming property for RoutingDomain |
std::logic_error | if no mutator is active |
References CLASS_ID.
Referenced by removeUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
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.
uri | the URI of the object to retrieve |
References CLASS_ID.
|
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.
framework | the framework instance to use |
uri | the URI of the object to retrieve |
References CLASS_ID.
Referenced by modelgbp::gbp::BridgeDomain::resolveGbpeInstContext(), modelgbp::gbp::EpGroup::resolveGbpeInstContext(), modelgbp::gbp::RoutingDomain::resolveGbpeInstContext(), resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain(), resolveUnderPolicyUniversePolicySpaceGbpEpGroup(), and resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
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
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpBridgeDomainName | the value of gbpBridgeDomainName, a naming property for BridgeDomain |
References resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain().
|
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
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpBridgeDomainName | the value of gbpBridgeDomainName, a naming property for BridgeDomain |
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain().
|
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
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpEpGroupName | the value of gbpEpGroupName, a naming property for EpGroup |
References resolveUnderPolicyUniversePolicySpaceGbpEpGroup().
|
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
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpEpGroupName | the value of gbpEpGroupName, a naming property for EpGroup |
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpEpGroup().
|
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
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpRoutingDomainName | the value of gbpRoutingDomainName, a naming property for RoutingDomain |
References resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
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
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpRoutingDomainName | the value of gbpRoutingDomainName, a naming property for RoutingDomain |
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
inline |
Set classid to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set encapId to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set multicastGroupIP to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
listener | The listener to unregister. |
References unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class.
framework | the framework instance |
listener | The listener to unregister. |
References CLASS_ID.
Referenced by unregisterListener().
|
inline |
Unset classid in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset encapId in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset multicastGroupIP in the currently-active mutator.
std::logic_error | if no mutator is active |