|
bool | isIpSet () |
| Check whether ip has been set.
|
|
boost::optional< const std::string & > | getIp () |
| Get the value of ip if it has been set.
|
|
const std::string & | getIp (const std::string &defaultValue) |
| Get the value of ip if set, otherwise the value of default passed in.
|
|
modelgbp::epr::L3Net & | setIp (const std::string &newValue) |
| Set ip to the specified value in the currently-active mutator.
|
|
modelgbp::epr::L3Net & | unsetIp () |
| Unset ip in the currently-active mutator.
|
|
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > | resolveGbpeAttestation (const std::string &gbpeAttestationName) |
| Retrieve the child object with the specified naming properties.
|
|
OF_SHARED_PTR< modelgbp::gbpe::Attestation > | addGbpeAttestation (const std::string &gbpeAttestationName) |
| Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
|
|
void | resolveGbpeAttestation (std::vector< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > &out) |
| Resolve and retrieve all of the immediate children of type modelgbp::gbpe::Attestation.
|
|
void | remove () |
| Remove this instance using the currently-active mutator.
|
|
| L3Net (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) |
| Construct an instance of L3Net.
|
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L3Net > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Retrieve an instance of L3Net from the managed object store.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L3Net > > | resolve (const opflex::modb::URI &uri) |
| Retrieve an instance of L3Net from the managed object store using the default framework instance.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L3Net > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &eprL3NetIp) |
| Retrieve an instance of L3Net from the managed object store by constructing its URI from the path elements that lead to it.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L3Net > > | resolve (const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &eprL3NetIp) |
| Retrieve an instance of L3Net 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 L3Net object with the specified URI using the currently-active mutator.
|
|
static void | remove (const opflex::modb::URI &uri) |
| Remove the L3Net 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 &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &eprL3NetIp) |
| Remove the L3Net object with the specified path elements from the managed object store.
|
|
static void | remove (const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &eprL3NetIp) |
| Remove the L3Net 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::epr::L3Net::remove |
( |
const std::string & | eprL2EpContext, |
|
|
const opflex::modb::MAC & | eprL2EpMac, |
|
|
const std::string & | eprL3NetIp ) |
|
inlinestatic |
Remove the L3Net 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: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]/EprL3Net/[eprL3NetIp]
- Parameters
-
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
eprL3NetIp | the value of eprL3NetIp, a naming property for L3Net |
- Exceptions
-
std::logic_error | if no mutator is active |
References remove().
static void modelgbp::epr::L3Net::remove |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | eprL2EpContext, |
|
|
const opflex::modb::MAC & | eprL2EpMac, |
|
|
const std::string & | eprL3NetIp ) |
|
inlinestatic |
Remove the L3Net 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: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]/EprL3Net/[eprL3NetIp]
- Parameters
-
framework | the framework instance to use |
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
eprL3NetIp | the value of eprL3NetIp, a naming property for L3Net |
- Exceptions
-
std::logic_error | if no mutator is active |
References CLASS_ID.
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L3Net > > modelgbp::epr::L3Net::resolve |
( |
const std::string & | eprL2EpContext, |
|
|
const opflex::modb::MAC & | eprL2EpMac, |
|
|
const std::string & | eprL3NetIp ) |
|
inlinestatic |
Retrieve an instance of L3Net 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: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]/EprL3Net/[eprL3NetIp]
- Parameters
-
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
eprL3NetIp | the value of eprL3NetIp, a naming property for L3Net |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L3Net > > modelgbp::epr::L3Net::resolve |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | eprL2EpContext, |
|
|
const opflex::modb::MAC & | eprL2EpMac, |
|
|
const std::string & | eprL3NetIp ) |
|
inlinestatic |
Retrieve an instance of L3Net 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: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]/EprL3Net/[eprL3NetIp]
- Parameters
-
framework | the framework instance to use |
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
eprL3NetIp | the value of eprL3NetIp, a naming property for L3Net |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().