modelgbp Generated OpFlex Model
1.3.0
|
Public Member Functions | |
bool | isRoleSet () |
Check whether role has been set. More... | |
boost::optional< const uint8_t > | getRole () |
Get the value of role if it has been set. More... | |
const uint8_t | getRole (const uint8_t defaultValue) |
Get the value of role if set, otherwise the value of default passed in. More... | |
modelgbp::gbp::EpGroupFromNetworkRTgt & | setRole (const uint8_t newValue) |
Set role to the specified value in the currently-active mutator. More... | |
modelgbp::gbp::EpGroupFromNetworkRTgt & | unsetRole () |
Unset role in the currently-active mutator. More... | |
bool | isSourceSet () |
Check whether source has been set. More... | |
boost::optional< const std::string & > | getSource () |
Get the value of source if it has been set. More... | |
const std::string & | getSource (const std::string &defaultValue) |
Get the value of source if set, otherwise the value of default passed in. More... | |
modelgbp::gbp::EpGroupFromNetworkRTgt & | setSource (const std::string &newValue) |
Set source to the specified value in the currently-active mutator. More... | |
modelgbp::gbp::EpGroupFromNetworkRTgt & | unsetSource () |
Unset source in the currently-active mutator. More... | |
bool | isTypeSet () |
Check whether type has been set. More... | |
boost::optional< const uint8_t > | getType () |
Get the value of type if it has been set. More... | |
const uint8_t | getType (const uint8_t defaultValue) |
Get the value of type if set, otherwise the value of default passed in. More... | |
modelgbp::gbp::EpGroupFromNetworkRTgt & | setType (const uint8_t newValue) |
Set type to the specified value in the currently-active mutator. More... | |
modelgbp::gbp::EpGroupFromNetworkRTgt & | unsetType () |
Unset type in the currently-active mutator. More... | |
void | remove () |
Remove this instance using the currently-active mutator. More... | |
EpGroupFromNetworkRTgt (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const boost::shared_ptr< const opflex::modb::mointernal::ObjectInstance > &oi) | |
Construct an instance of EpGroupFromNetworkRTgt. More... | |
Static Public Member Functions | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Retrieve an instance of EpGroupFromNetworkRTgt from the managed object store. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > > | resolve (const opflex::modb::URI &uri) |
Retrieve an instance of EpGroupFromNetworkRTgt from the managed object store using the default framework instance. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > > | resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpBridgeDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Retrieve an instance of EpGroupFromNetworkRTgt from the managed object store by constructing its URI from the path elements that lead to it. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > > | resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain (const std::string &policySpaceName, const std::string &gbpBridgeDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Retrieve an instance of EpGroupFromNetworkRTgt from the default managed object store by constructing its URI from the path elements that lead to it. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > > | resolveUnderPolicyUniversePolicySpaceGbpFloodDomain (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpFloodDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Retrieve an instance of EpGroupFromNetworkRTgt from the managed object store by constructing its URI from the path elements that lead to it. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > > | resolveUnderPolicyUniversePolicySpaceGbpFloodDomain (const std::string &policySpaceName, const std::string &gbpFloodDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Retrieve an instance of EpGroupFromNetworkRTgt from the default managed object store by constructing its URI from the path elements that lead to it. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > > | resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Retrieve an instance of EpGroupFromNetworkRTgt from the managed object store by constructing its URI from the path elements that lead to it. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > > | resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain (const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Retrieve an instance of EpGroupFromNetworkRTgt 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 EpGroupFromNetworkRTgt object with the specified URI using the currently-active mutator. More... | |
static void | remove (const opflex::modb::URI &uri) |
Remove the EpGroupFromNetworkRTgt object with the specified URI using the currently-active mutator and the default framework instance. More... | |
static void | removeUnderPolicyUniversePolicySpaceGbpBridgeDomain (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpBridgeDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Remove the EpGroupFromNetworkRTgt object with the specified path elements from the managed object store. More... | |
static void | removeUnderPolicyUniversePolicySpaceGbpBridgeDomain (const std::string &policySpaceName, const std::string &gbpBridgeDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Remove the EpGroupFromNetworkRTgt object with the specified path elements from the managed object store using the default framework instance. More... | |
static void | removeUnderPolicyUniversePolicySpaceGbpFloodDomain (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpFloodDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Remove the EpGroupFromNetworkRTgt object with the specified path elements from the managed object store. More... | |
static void | removeUnderPolicyUniversePolicySpaceGbpFloodDomain (const std::string &policySpaceName, const std::string &gbpFloodDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Remove the EpGroupFromNetworkRTgt 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, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Remove the EpGroupFromNetworkRTgt object with the specified path elements from the managed object store. More... | |
static void | removeUnderPolicyUniversePolicySpaceGbpRoutingDomain (const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &gbpEpGroupFromNetworkRTgtSource) |
Remove the EpGroupFromNetworkRTgt 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 = 113 |
The unique class ID for EpGroupFromNetworkRTgt. | |
|
inline |
Construct an instance of EpGroupFromNetworkRTgt.
This should not typically be called from user code.
|
inline |
Get the value of role if it has been set.
References isRoleSet().
Referenced by getRole().
|
inline |
Get the value of role if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getRole().
|
inline |
Get the value of source if it has been set.
References isSourceSet().
Referenced by getSource().
|
inline |
Get the value of source if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getSource().
|
inline |
Get the value of type if it has been set.
References isTypeSet().
Referenced by getType().
|
inline |
Get the value of type if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getType().
|
inline |
|
inline |
|
inline |
|
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().
|
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().
|
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.
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the EpGroupFromNetworkRTgt 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 EpGroupFromNetworkRTgt 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 |
|
inlinestatic |
Remove the EpGroupFromNetworkRTgt 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]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
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 |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
std::logic_error | if no mutator is active |
References CLASS_ID.
Referenced by removeUnderPolicyUniversePolicySpaceGbpBridgeDomain().
|
inlinestatic |
Remove the EpGroupFromNetworkRTgt 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]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpBridgeDomainName | the value of gbpBridgeDomainName, a naming property for BridgeDomain |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpBridgeDomain().
|
inlinestatic |
Remove the EpGroupFromNetworkRTgt 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]/GbpFloodDomain/[gbpFloodDomainName]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpFloodDomainName | the value of gbpFloodDomainName, a naming property for FloodDomain |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
std::logic_error | if no mutator is active |
References CLASS_ID.
Referenced by removeUnderPolicyUniversePolicySpaceGbpFloodDomain().
|
inlinestatic |
Remove the EpGroupFromNetworkRTgt 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]/GbpFloodDomain/[gbpFloodDomainName]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpFloodDomainName | the value of gbpFloodDomainName, a naming property for FloodDomain |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpFloodDomain().
|
inlinestatic |
Remove the EpGroupFromNetworkRTgt 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]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
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 |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
std::logic_error | if no mutator is active |
References CLASS_ID.
Referenced by removeUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
inlinestatic |
Remove the EpGroupFromNetworkRTgt 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]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpRoutingDomainName | the value of gbpRoutingDomainName, a naming property for RoutingDomain |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
inlinestatic |
Retrieve an instance of EpGroupFromNetworkRTgt 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::resolveGbpEpGroupFromNetworkRTgt(), modelgbp::gbp::FloodDomain::resolveGbpEpGroupFromNetworkRTgt(), modelgbp::gbp::RoutingDomain::resolveGbpEpGroupFromNetworkRTgt(), resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain(), resolveUnderPolicyUniversePolicySpaceGbpFloodDomain(), and resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
inlinestatic |
Retrieve an instance of EpGroupFromNetworkRTgt 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 EpGroupFromNetworkRTgt 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]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
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 |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain().
|
inlinestatic |
Retrieve an instance of EpGroupFromNetworkRTgt 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]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpBridgeDomainName | the value of gbpBridgeDomainName, a naming property for BridgeDomain |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
References resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain().
|
inlinestatic |
Retrieve an instance of EpGroupFromNetworkRTgt 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]/GbpFloodDomain/[gbpFloodDomainName]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpFloodDomainName | the value of gbpFloodDomainName, a naming property for FloodDomain |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpFloodDomain().
|
inlinestatic |
Retrieve an instance of EpGroupFromNetworkRTgt 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]/GbpFloodDomain/[gbpFloodDomainName]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpFloodDomainName | the value of gbpFloodDomainName, a naming property for FloodDomain |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
References resolveUnderPolicyUniversePolicySpaceGbpFloodDomain().
|
inlinestatic |
Retrieve an instance of EpGroupFromNetworkRTgt 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]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
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 |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
inlinestatic |
Retrieve an instance of EpGroupFromNetworkRTgt 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]/GbpEpGroupFromNetworkRTgt/[gbpEpGroupFromNetworkRTgtSource]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpRoutingDomainName | the value of gbpRoutingDomainName, a naming property for RoutingDomain |
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
References resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain().
|
inline |
Set role 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 source 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 type 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.
framework | the framework instance |
listener | The listener to unregister. |
References CLASS_ID.
Referenced by unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
listener | The listener to unregister. |
References unregisterListener().
|
inline |
Unset role in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset source in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset type in the currently-active mutator.
std::logic_error | if no mutator is active |