|
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| | Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the managed object store.
|
| |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > | resolve (const opflex::modb::URI &uri) |
| | Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the managed object store using the default framework instance.
|
| |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > | resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName) |
| | Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the managed object store by constructing its URI from the path elements that lead to it.
|
| |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > | resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule (const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName) |
| | Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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::gbp::SecGroupRuleToRemoteAddressRSrc > > | resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName) |
| | Retrieve an instance of SecGroupRuleToRemoteAddressRSrc from the managed object store by constructing its URI from the path elements that lead to it.
|
| |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > | resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule (const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName) |
| | Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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 SecGroupRuleToRemoteAddressRSrc object with the specified URI using the currently-active mutator.
|
| |
| static void | remove (const opflex::modb::URI &uri) |
| | Remove the SecGroupRuleToRemoteAddressRSrc object with the specified URI using the currently-active mutator and the default framework instance.
|
| |
| static void | removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName) |
| | Remove the SecGroupRuleToRemoteAddressRSrc object with the specified path elements from the managed object store.
|
| |
| static void | removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule (const std::string &policySpaceName, const std::string &gbpContractName, const std::string &gbpSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName) |
| | Remove the SecGroupRuleToRemoteAddressRSrc object with the specified path elements from the managed object store using the default framework instance.
|
| |
| static void | removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName) |
| | Remove the SecGroupRuleToRemoteAddressRSrc object with the specified path elements from the managed object store.
|
| |
| static void | removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule (const std::string &policySpaceName, const std::string &gbpSecGroupName, const std::string &gbpSecGroupSubjectName, const std::string &gbpSecGroupRuleName, uint16_t gbpSecGroupRuleToRemoteAddressRSrcTargetClass, const std::string &gbpSecGroupRuleToRemoteAddressRSrcTargetName) |
| | Remove the SecGroupRuleToRemoteAddressRSrc 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 void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::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
-
| 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, and resolve().
Referenced by registerListener().
| static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule |
( |
const std::string & | policySpaceName, |
|
|
const std::string & | gbpContractName, |
|
|
const std::string & | gbpSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName, |
|
|
uint16_t | gbpSecGroupRuleToRemoteAddressRSrcTargetClass, |
|
|
const std::string & | gbpSecGroupRuleToRemoteAddressRSrcTargetName ) |
|
inlinestatic |
Remove the SecGroupRuleToRemoteAddressRSrc 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]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]
- Parameters
-
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpContractName | the value of gbpContractName, a naming property for Contract |
| gbpSubjectName | the value of gbpSubjectName, a naming property for Subject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
| gbpSecGroupRuleToRemoteAddressRSrcTargetClass | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc |
| gbpSecGroupRuleToRemoteAddressRSrcTargetName | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc |
- Exceptions
-
| std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule(), and resolve().
| static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpContractName, |
|
|
const std::string & | gbpSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName, |
|
|
uint16_t | gbpSecGroupRuleToRemoteAddressRSrcTargetClass, |
|
|
const std::string & | gbpSecGroupRuleToRemoteAddressRSrcTargetName ) |
|
inlinestatic |
Remove the SecGroupRuleToRemoteAddressRSrc 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]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]
- Parameters
-
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpContractName | the value of gbpContractName, a naming property for Contract |
| gbpSubjectName | the value of gbpSubjectName, a naming property for Subject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
| gbpSecGroupRuleToRemoteAddressRSrcTargetClass | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc |
| gbpSecGroupRuleToRemoteAddressRSrcTargetName | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc |
- Exceptions
-
| std::logic_error | if no mutator is active |
References CLASS_ID, and resolve().
Referenced by removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule().
| static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule |
( |
const std::string & | policySpaceName, |
|
|
const std::string & | gbpSecGroupName, |
|
|
const std::string & | gbpSecGroupSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName, |
|
|
uint16_t | gbpSecGroupRuleToRemoteAddressRSrcTargetClass, |
|
|
const std::string & | gbpSecGroupRuleToRemoteAddressRSrcTargetName ) |
|
inlinestatic |
Remove the SecGroupRuleToRemoteAddressRSrc 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]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]
- Parameters
-
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSecGroupName | the value of gbpSecGroupName, a naming property for SecGroup |
| gbpSecGroupSubjectName | the value of gbpSecGroupSubjectName, a naming property for SecGroupSubject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
| gbpSecGroupRuleToRemoteAddressRSrcTargetClass | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc |
| gbpSecGroupRuleToRemoteAddressRSrcTargetName | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc |
- Exceptions
-
| std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule(), and resolve().
| static void modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpSecGroupName, |
|
|
const std::string & | gbpSecGroupSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName, |
|
|
uint16_t | gbpSecGroupRuleToRemoteAddressRSrcTargetClass, |
|
|
const std::string & | gbpSecGroupRuleToRemoteAddressRSrcTargetName ) |
|
inlinestatic |
Remove the SecGroupRuleToRemoteAddressRSrc 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]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]
- Parameters
-
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSecGroupName | the value of gbpSecGroupName, a naming property for SecGroup |
| gbpSecGroupSubjectName | the value of gbpSecGroupSubjectName, a naming property for SecGroupSubject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
| gbpSecGroupRuleToRemoteAddressRSrcTargetClass | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc |
| gbpSecGroupRuleToRemoteAddressRSrcTargetName | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc |
- Exceptions
-
| std::logic_error | if no mutator is active |
References CLASS_ID, and resolve().
Referenced by removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule().
Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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
-
| framework | the framework instance to use |
| uri | the URI of the object to retrieve |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References CLASS_ID, and resolve().
Referenced by getRole(), getRole(), getTargetClass(), getTargetClass(), getTargetURI(), getTargetURI(), getType(), getType(), isRoleSet(), isTargetSet(), isTypeSet(), registerListener(), registerListener(), remove(), remove(), remove(), removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule(), removeUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule(), removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule(), removeUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule(), resolve(), resolve(), modelgbp::gbp::SecGroupRule::resolveGbpSecGroupRuleToRemoteAddressRSrc(), resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule(), resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule(), resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule(), resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule(), setRole(), setTargetSubnets(), setTargetSubnets(), setType(), unregisterListener(), unregisterListener(), unsetRole(), unsetTarget(), and unsetType().
Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]
- Parameters
-
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpContractName | the value of gbpContractName, a naming property for Contract |
| gbpSubjectName | the value of gbpSubjectName, a naming property for Subject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
| gbpSecGroupRuleToRemoteAddressRSrcTargetClass | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc |
| gbpSecGroupRuleToRemoteAddressRSrcTargetName | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve(), and resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule().
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpContractName, |
|
|
const std::string & | gbpSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName, |
|
|
uint16_t | gbpSecGroupRuleToRemoteAddressRSrcTargetClass, |
|
|
const std::string & | gbpSecGroupRuleToRemoteAddressRSrcTargetName ) |
|
inlinestatic |
Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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]/GbpContract/[gbpContractName]/GbpSubject/[gbpSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]
- Parameters
-
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpContractName | the value of gbpContractName, a naming property for Contract |
| gbpSubjectName | the value of gbpSubjectName, a naming property for Subject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
| gbpSecGroupRuleToRemoteAddressRSrcTargetClass | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc |
| gbpSecGroupRuleToRemoteAddressRSrcTargetName | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpContractGbpSubjectGbpSecGroupRule().
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule |
( |
const std::string & | policySpaceName, |
|
|
const std::string & | gbpSecGroupName, |
|
|
const std::string & | gbpSecGroupSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName, |
|
|
uint16_t | gbpSecGroupRuleToRemoteAddressRSrcTargetClass, |
|
|
const std::string & | gbpSecGroupRuleToRemoteAddressRSrcTargetName ) |
|
inlinestatic |
Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]
- Parameters
-
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSecGroupName | the value of gbpSecGroupName, a naming property for SecGroup |
| gbpSecGroupSubjectName | the value of gbpSecGroupSubjectName, a naming property for SecGroupSubject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
| gbpSecGroupRuleToRemoteAddressRSrcTargetClass | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc |
| gbpSecGroupRuleToRemoteAddressRSrcTargetName | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve(), and resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule().
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc > > modelgbp::gbp::SecGroupRuleToRemoteAddressRSrc::resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpSecGroupName, |
|
|
const std::string & | gbpSecGroupSubjectName, |
|
|
const std::string & | gbpSecGroupRuleName, |
|
|
uint16_t | gbpSecGroupRuleToRemoteAddressRSrcTargetClass, |
|
|
const std::string & | gbpSecGroupRuleToRemoteAddressRSrcTargetName ) |
|
inlinestatic |
Retrieve an instance of SecGroupRuleToRemoteAddressRSrc 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]/GbpSecGroup/[gbpSecGroupName]/GbpSecGroupSubject/[gbpSecGroupSubjectName]/GbpSecGroupRule/[gbpSecGroupRuleName]/GbpSecGroupRuleToRemoteAddressRSrc/[gbpSecGroupRuleToRemoteAddressRSrcTargetClass]/[gbpSecGroupRuleToRemoteAddressRSrcTargetName]
- Parameters
-
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSecGroupName | the value of gbpSecGroupName, a naming property for SecGroup |
| gbpSecGroupSubjectName | the value of gbpSecGroupSubjectName, a naming property for SecGroupSubject |
| gbpSecGroupRuleName | the value of gbpSecGroupRuleName, a naming property for SecGroupRule |
| gbpSecGroupRuleToRemoteAddressRSrcTargetClass | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetClass, a naming property for SecGroupRuleToRemoteAddressRSrc |
| gbpSecGroupRuleToRemoteAddressRSrcTargetName | the value of gbpSecGroupRuleToRemoteAddressRSrcTargetName, a naming property for SecGroupRuleToRemoteAddressRSrc |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
Referenced by resolveUnderPolicyUniversePolicySpaceGbpSecGroupGbpSecGroupSubjectGbpSecGroupRule().