|
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkToProvContractRSrc > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Retrieve an instance of L3ExternalNetworkToProvContractRSrc from the managed object store.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkToProvContractRSrc > > | resolve (const opflex::modb::URI &uri) |
| Retrieve an instance of L3ExternalNetworkToProvContractRSrc from the managed object store using the default framework instance.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkToProvContractRSrc > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &gbpL3ExternalDomainName, const std::string &gbpL3ExternalNetworkName, uint16_t gbpL3ExternalNetworkToProvContractRSrcTargetClass, const std::string &gbpL3ExternalNetworkToProvContractRSrcTargetName) |
| Retrieve an instance of L3ExternalNetworkToProvContractRSrc 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::L3ExternalNetworkToProvContractRSrc > > | resolve (const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &gbpL3ExternalDomainName, const std::string &gbpL3ExternalNetworkName, uint16_t gbpL3ExternalNetworkToProvContractRSrcTargetClass, const std::string &gbpL3ExternalNetworkToProvContractRSrcTargetName) |
| Retrieve an instance of L3ExternalNetworkToProvContractRSrc 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 L3ExternalNetworkToProvContractRSrc object with the specified URI using the currently-active mutator.
|
|
static void | remove (const opflex::modb::URI &uri) |
| Remove the L3ExternalNetworkToProvContractRSrc object with the specified URI using the currently-active mutator and the default framework instance.
|
|
static void | remove (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &gbpL3ExternalDomainName, const std::string &gbpL3ExternalNetworkName, uint16_t gbpL3ExternalNetworkToProvContractRSrcTargetClass, const std::string &gbpL3ExternalNetworkToProvContractRSrcTargetName) |
| Remove the L3ExternalNetworkToProvContractRSrc object with the specified path elements from the managed object store.
|
|
static void | remove (const std::string &policySpaceName, const std::string &gbpRoutingDomainName, const std::string &gbpL3ExternalDomainName, const std::string &gbpL3ExternalNetworkName, uint16_t gbpL3ExternalNetworkToProvContractRSrcTargetClass, const std::string &gbpL3ExternalNetworkToProvContractRSrcTargetName) |
| Remove the L3ExternalNetworkToProvContractRSrc 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.
|
|
void modelgbp::gbp::L3ExternalNetworkToProvContractRSrc::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_error | if no mutator is active |
References CLASS_ID.
Referenced by remove(), and remove().
static void modelgbp::gbp::L3ExternalNetworkToProvContractRSrc::remove |
( |
const std::string & | policySpaceName, |
|
|
const std::string & | gbpRoutingDomainName, |
|
|
const std::string & | gbpL3ExternalDomainName, |
|
|
const std::string & | gbpL3ExternalNetworkName, |
|
|
uint16_t | gbpL3ExternalNetworkToProvContractRSrcTargetClass, |
|
|
const std::string & | gbpL3ExternalNetworkToProvContractRSrcTargetName ) |
|
inlinestatic |
Remove the L3ExternalNetworkToProvContractRSrc 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]/GbpL3ExternalDomain/[gbpL3ExternalDomainName]/GbpL3ExternalNetwork/[gbpL3ExternalNetworkName]/GbpL3ExternalNetworkToProvContractRSrc/[gbpL3ExternalNetworkToProvContractRSrcTargetClass]/[gbpL3ExternalNetworkToProvContractRSrcTargetName]
- Parameters
-
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpRoutingDomainName | the value of gbpRoutingDomainName, a naming property for RoutingDomain |
gbpL3ExternalDomainName | the value of gbpL3ExternalDomainName, a naming property for L3ExternalDomain |
gbpL3ExternalNetworkName | the value of gbpL3ExternalNetworkName, a naming property for L3ExternalNetwork |
gbpL3ExternalNetworkToProvContractRSrcTargetClass | the value of gbpL3ExternalNetworkToProvContractRSrcTargetClass, a naming property for L3ExternalNetworkToProvContractRSrc |
gbpL3ExternalNetworkToProvContractRSrcTargetName | the value of gbpL3ExternalNetworkToProvContractRSrcTargetName, a naming property for L3ExternalNetworkToProvContractRSrc |
- Exceptions
-
std::logic_error | if no mutator is active |
References remove().
static void modelgbp::gbp::L3ExternalNetworkToProvContractRSrc::remove |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpRoutingDomainName, |
|
|
const std::string & | gbpL3ExternalDomainName, |
|
|
const std::string & | gbpL3ExternalNetworkName, |
|
|
uint16_t | gbpL3ExternalNetworkToProvContractRSrcTargetClass, |
|
|
const std::string & | gbpL3ExternalNetworkToProvContractRSrcTargetName ) |
|
inlinestatic |
Remove the L3ExternalNetworkToProvContractRSrc 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]/GbpL3ExternalDomain/[gbpL3ExternalDomainName]/GbpL3ExternalNetwork/[gbpL3ExternalNetworkName]/GbpL3ExternalNetworkToProvContractRSrc/[gbpL3ExternalNetworkToProvContractRSrcTargetClass]/[gbpL3ExternalNetworkToProvContractRSrcTargetName]
- Parameters
-
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 |
gbpL3ExternalDomainName | the value of gbpL3ExternalDomainName, a naming property for L3ExternalDomain |
gbpL3ExternalNetworkName | the value of gbpL3ExternalNetworkName, a naming property for L3ExternalNetwork |
gbpL3ExternalNetworkToProvContractRSrcTargetClass | the value of gbpL3ExternalNetworkToProvContractRSrcTargetClass, a naming property for L3ExternalNetworkToProvContractRSrc |
gbpL3ExternalNetworkToProvContractRSrcTargetName | the value of gbpL3ExternalNetworkToProvContractRSrcTargetName, a naming property for L3ExternalNetworkToProvContractRSrc |
- Exceptions
-
std::logic_error | if no mutator is active |
References CLASS_ID.
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkToProvContractRSrc > > modelgbp::gbp::L3ExternalNetworkToProvContractRSrc::resolve |
( |
const std::string & | policySpaceName, |
|
|
const std::string & | gbpRoutingDomainName, |
|
|
const std::string & | gbpL3ExternalDomainName, |
|
|
const std::string & | gbpL3ExternalNetworkName, |
|
|
uint16_t | gbpL3ExternalNetworkToProvContractRSrcTargetClass, |
|
|
const std::string & | gbpL3ExternalNetworkToProvContractRSrcTargetName ) |
|
inlinestatic |
Retrieve an instance of L3ExternalNetworkToProvContractRSrc 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]/GbpL3ExternalDomain/[gbpL3ExternalDomainName]/GbpL3ExternalNetwork/[gbpL3ExternalNetworkName]/GbpL3ExternalNetworkToProvContractRSrc/[gbpL3ExternalNetworkToProvContractRSrcTargetClass]/[gbpL3ExternalNetworkToProvContractRSrcTargetName]
- Parameters
-
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpRoutingDomainName | the value of gbpRoutingDomainName, a naming property for RoutingDomain |
gbpL3ExternalDomainName | the value of gbpL3ExternalDomainName, a naming property for L3ExternalDomain |
gbpL3ExternalNetworkName | the value of gbpL3ExternalNetworkName, a naming property for L3ExternalNetwork |
gbpL3ExternalNetworkToProvContractRSrcTargetClass | the value of gbpL3ExternalNetworkToProvContractRSrcTargetClass, a naming property for L3ExternalNetworkToProvContractRSrc |
gbpL3ExternalNetworkToProvContractRSrcTargetName | the value of gbpL3ExternalNetworkToProvContractRSrcTargetName, a naming property for L3ExternalNetworkToProvContractRSrc |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkToProvContractRSrc > > modelgbp::gbp::L3ExternalNetworkToProvContractRSrc::resolve |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpRoutingDomainName, |
|
|
const std::string & | gbpL3ExternalDomainName, |
|
|
const std::string & | gbpL3ExternalNetworkName, |
|
|
uint16_t | gbpL3ExternalNetworkToProvContractRSrcTargetClass, |
|
|
const std::string & | gbpL3ExternalNetworkToProvContractRSrcTargetName ) |
|
inlinestatic |
Retrieve an instance of L3ExternalNetworkToProvContractRSrc 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]/GbpL3ExternalDomain/[gbpL3ExternalDomainName]/GbpL3ExternalNetwork/[gbpL3ExternalNetworkName]/GbpL3ExternalNetworkToProvContractRSrc/[gbpL3ExternalNetworkToProvContractRSrcTargetClass]/[gbpL3ExternalNetworkToProvContractRSrcTargetName]
- Parameters
-
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 |
gbpL3ExternalDomainName | the value of gbpL3ExternalDomainName, a naming property for L3ExternalDomain |
gbpL3ExternalNetworkName | the value of gbpL3ExternalNetworkName, a naming property for L3ExternalNetwork |
gbpL3ExternalNetworkToProvContractRSrcTargetClass | the value of gbpL3ExternalNetworkToProvContractRSrcTargetClass, a naming property for L3ExternalNetworkToProvContractRSrc |
gbpL3ExternalNetworkToProvContractRSrcTargetName | the value of gbpL3ExternalNetworkToProvContractRSrcTargetName, a naming property for L3ExternalNetworkToProvContractRSrc |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().