|
bool | isRoleSet () |
| Check whether role has been set.
|
|
boost::optional< const uint8_t > | getRole () |
| Get the value of role if it has been set.
|
|
const uint8_t | getRole (const uint8_t defaultValue) |
| Get the value of role if set, otherwise the value of default passed in.
|
|
modelgbp::epdr::EndPointToGroupRSrc & | setRole (const uint8_t newValue) |
| Set role to the specified value in the currently-active mutator.
|
|
modelgbp::epdr::EndPointToGroupRSrc & | unsetRole () |
| Unset role in the currently-active mutator.
|
|
bool | isTargetSet () |
| Check whether target has been set.
|
|
boost::optional< opflex::modb::class_id_t > | getTargetClass () |
| Get the value of targetClass if it has been set.
|
|
boost::optional< opflex::modb::URI > | getTargetURI () |
| Get the value of targetURI if it has been set.
|
|
opflex::modb::class_id_t | getTargetClass (opflex::modb::class_id_t defaultValue) |
| Get the value of targetClass if set, otherwise the value of default passed in.
|
|
opflex::modb::URI | getTargetURI (opflex::modb::URI defaultValue) |
| Get the value of targetURI if set, otherwise the value of default passed in.
|
|
modelgbp::epdr::EndPointToGroupRSrc & | setTargetEpGroup (const opflex::modb::URI &uri) |
| Set the reference to point to an instance of EpGroup with the specified URI.
|
|
modelgbp::epdr::EndPointToGroupRSrc & | setTargetEpGroup (const std::string &policySpaceName, const std::string &gbpEpGroupName) |
| Set the reference to point to an instance of EpGroup in the currently-active mutator by constructing its URI from the path elements that lead to it.
|
|
modelgbp::epdr::EndPointToGroupRSrc & | unsetTarget () |
| Unset target in the currently-active mutator.
|
|
bool | isTypeSet () |
| Check whether type has been set.
|
|
boost::optional< const uint8_t > | getType () |
| Get the value of type if it has been set.
|
|
const uint8_t | getType (const uint8_t defaultValue) |
| Get the value of type if set, otherwise the value of default passed in.
|
|
modelgbp::epdr::EndPointToGroupRSrc & | setType (const uint8_t newValue) |
| Set type to the specified value in the currently-active mutator.
|
|
modelgbp::epdr::EndPointToGroupRSrc & | unsetType () |
| Unset type in the currently-active mutator.
|
|
void | remove () |
| Remove this instance using the currently-active mutator.
|
|
| EndPointToGroupRSrc (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) |
| Construct an instance of EndPointToGroupRSrc.
|
|
static void modelgbp::epdr::EndPointToGroupRSrc::removeUnderEpdrL2DiscoveredEpdrLocalL2Ep |
( |
const std::string & | epdrLocalL2EpUuid | ) |
|
|
inlinestatic |
Remove the EndPointToGroupRSrc 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: /EpdrL2Discovered/EpdrLocalL2Ep/[epdrLocalL2EpUuid]/EpdrEndPointToGroupRSrc
- Parameters
-
epdrLocalL2EpUuid | the value of epdrLocalL2EpUuid, a naming property for LocalL2Ep |
- Exceptions
-
std::logic_error | if no mutator is active |
References removeUnderEpdrL2DiscoveredEpdrLocalL2Ep().
static void modelgbp::epdr::EndPointToGroupRSrc::removeUnderEpdrL2DiscoveredEpdrLocalL2Ep |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | epdrLocalL2EpUuid ) |
|
inlinestatic |
Remove the EndPointToGroupRSrc 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: /EpdrL2Discovered/EpdrLocalL2Ep/[epdrLocalL2EpUuid]/EpdrEndPointToGroupRSrc
- Parameters
-
framework | the framework instance to use |
epdrLocalL2EpUuid | the value of epdrLocalL2EpUuid, a naming property for LocalL2Ep |
- Exceptions
-
std::logic_error | if no mutator is active |
References CLASS_ID.
Referenced by removeUnderEpdrL2DiscoveredEpdrLocalL2Ep().
static void modelgbp::epdr::EndPointToGroupRSrc::removeUnderEpdrL3DiscoveredEpdrLocalL3Ep |
( |
const std::string & | epdrLocalL3EpUuid | ) |
|
|
inlinestatic |
Remove the EndPointToGroupRSrc 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: /EpdrL3Discovered/EpdrLocalL3Ep/[epdrLocalL3EpUuid]/EpdrEndPointToGroupRSrc
- Parameters
-
epdrLocalL3EpUuid | the value of epdrLocalL3EpUuid, a naming property for LocalL3Ep |
- Exceptions
-
std::logic_error | if no mutator is active |
References removeUnderEpdrL3DiscoveredEpdrLocalL3Ep().
static void modelgbp::epdr::EndPointToGroupRSrc::removeUnderEpdrL3DiscoveredEpdrLocalL3Ep |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | epdrLocalL3EpUuid ) |
|
inlinestatic |
Remove the EndPointToGroupRSrc 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: /EpdrL3Discovered/EpdrLocalL3Ep/[epdrLocalL3EpUuid]/EpdrEndPointToGroupRSrc
- Parameters
-
framework | the framework instance to use |
epdrLocalL3EpUuid | the value of epdrLocalL3EpUuid, a naming property for LocalL3Ep |
- Exceptions
-
std::logic_error | if no mutator is active |
References CLASS_ID.
Referenced by removeUnderEpdrL3DiscoveredEpdrLocalL3Ep().
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::EndPointToGroupRSrc > > modelgbp::epdr::EndPointToGroupRSrc::resolveUnderEpdrL2DiscoveredEpdrLocalL2Ep |
( |
const std::string & | epdrLocalL2EpUuid | ) |
|
|
inlinestatic |
Retrieve an instance of EndPointToGroupRSrc 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: /EpdrL2Discovered/EpdrLocalL2Ep/[epdrLocalL2EpUuid]/EpdrEndPointToGroupRSrc
- Parameters
-
epdrLocalL2EpUuid | the value of epdrLocalL2EpUuid, a naming property for LocalL2Ep |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolveUnderEpdrL2DiscoveredEpdrLocalL2Ep().
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::EndPointToGroupRSrc > > modelgbp::epdr::EndPointToGroupRSrc::resolveUnderEpdrL2DiscoveredEpdrLocalL2Ep |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | epdrLocalL2EpUuid ) |
|
inlinestatic |
Retrieve an instance of EndPointToGroupRSrc 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: /EpdrL2Discovered/EpdrLocalL2Ep/[epdrLocalL2EpUuid]/EpdrEndPointToGroupRSrc
- Parameters
-
framework | the framework instance to use |
epdrLocalL2EpUuid | the value of epdrLocalL2EpUuid, a naming property for LocalL2Ep |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
Referenced by resolveUnderEpdrL2DiscoveredEpdrLocalL2Ep().
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::EndPointToGroupRSrc > > modelgbp::epdr::EndPointToGroupRSrc::resolveUnderEpdrL3DiscoveredEpdrLocalL3Ep |
( |
const std::string & | epdrLocalL3EpUuid | ) |
|
|
inlinestatic |
Retrieve an instance of EndPointToGroupRSrc 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: /EpdrL3Discovered/EpdrLocalL3Ep/[epdrLocalL3EpUuid]/EpdrEndPointToGroupRSrc
- Parameters
-
epdrLocalL3EpUuid | the value of epdrLocalL3EpUuid, a naming property for LocalL3Ep |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolveUnderEpdrL3DiscoveredEpdrLocalL3Ep().
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::EndPointToGroupRSrc > > modelgbp::epdr::EndPointToGroupRSrc::resolveUnderEpdrL3DiscoveredEpdrLocalL3Ep |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | epdrLocalL3EpUuid ) |
|
inlinestatic |
Retrieve an instance of EndPointToGroupRSrc 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: /EpdrL3Discovered/EpdrLocalL3Ep/[epdrLocalL3EpUuid]/EpdrEndPointToGroupRSrc
- Parameters
-
framework | the framework instance to use |
epdrLocalL3EpUuid | the value of epdrLocalL3EpUuid, a naming property for LocalL3Ep |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
Referenced by resolveUnderEpdrL3DiscoveredEpdrLocalL3Ep().