modelgbp Generated OpFlex Model
1.7.0
|
Public Member Functions | |
bool | isContextSet () |
Check whether context has been set. More... | |
boost::optional< const std::string & > | getContext () |
Get the value of context if it has been set. More... | |
const std::string & | getContext (const std::string &defaultValue) |
Get the value of context if set, otherwise the value of default passed in. More... | |
modelgbp::epr::L2Ep & | setContext (const std::string &newValue) |
Set context to the specified value in the currently-active mutator. More... | |
modelgbp::epr::L2Ep & | unsetContext () |
Unset context in the currently-active mutator. More... | |
bool | isGroupSet () |
Check whether group has been set. More... | |
boost::optional< const std::string & > | getGroup () |
Get the value of group if it has been set. More... | |
const std::string & | getGroup (const std::string &defaultValue) |
Get the value of group if set, otherwise the value of default passed in. More... | |
modelgbp::epr::L2Ep & | setGroup (const std::string &newValue) |
Set group to the specified value in the currently-active mutator. More... | |
modelgbp::epr::L2Ep & | unsetGroup () |
Unset group in the currently-active mutator. More... | |
bool | isInterfaceNameSet () |
Check whether interfaceName has been set. More... | |
boost::optional< const std::string & > | getInterfaceName () |
Get the value of interfaceName if it has been set. More... | |
const std::string & | getInterfaceName (const std::string &defaultValue) |
Get the value of interfaceName if set, otherwise the value of default passed in. More... | |
modelgbp::epr::L2Ep & | setInterfaceName (const std::string &newValue) |
Set interfaceName to the specified value in the currently-active mutator. More... | |
modelgbp::epr::L2Ep & | unsetInterfaceName () |
Unset interfaceName in the currently-active mutator. More... | |
bool | isMacSet () |
Check whether mac has been set. More... | |
boost::optional< const opflex::modb::MAC & > | getMac () |
Get the value of mac if it has been set. More... | |
const opflex::modb::MAC & | getMac (const opflex::modb::MAC &defaultValue) |
Get the value of mac if set, otherwise the value of default passed in. More... | |
modelgbp::epr::L2Ep & | setMac (const opflex::modb::MAC &newValue) |
Set mac to the specified value in the currently-active mutator. More... | |
modelgbp::epr::L2Ep & | unsetMac () |
Unset mac in the currently-active mutator. More... | |
bool | isUuidSet () |
Check whether uuid has been set. More... | |
boost::optional< const std::string & > | getUuid () |
Get the value of uuid if it has been set. More... | |
const std::string & | getUuid (const std::string &defaultValue) |
Get the value of uuid if set, otherwise the value of default passed in. More... | |
modelgbp::epr::L2Ep & | setUuid (const std::string &newValue) |
Set uuid to the specified value in the currently-active mutator. More... | |
modelgbp::epr::L2Ep & | unsetUuid () |
Unset uuid in the currently-active mutator. More... | |
bool | isVmNameSet () |
Check whether vmName has been set. More... | |
boost::optional< const std::string & > | getVmName () |
Get the value of vmName if it has been set. More... | |
const std::string & | getVmName (const std::string &defaultValue) |
Get the value of vmName if set, otherwise the value of default passed in. More... | |
modelgbp::epr::L2Ep & | setVmName (const std::string &newValue) |
Set vmName to the specified value in the currently-active mutator. More... | |
modelgbp::epr::L2Ep & | unsetVmName () |
Unset vmName in the currently-active mutator. More... | |
boost::optional< OF_SHARED_PTR < modelgbp::gbpe::ReportedEpAttributeSet > > | resolveGbpeReportedEpAttributeSet () |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR < modelgbp::gbpe::ReportedEpAttributeSet > | addGbpeReportedEpAttributeSet () |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More... | |
boost::optional< OF_SHARED_PTR < modelgbp::gbpe::Attestation > > | resolveGbpeAttestation (const std::string &gbpeAttestationName) |
Retrieve the child object with the specified naming properties. More... | |
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. More... | |
void | resolveGbpeAttestation (std::vector< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::Attestation. More... | |
boost::optional< OF_SHARED_PTR < modelgbp::span::LocalEpFromEpRTgt > > | resolveSpanLocalEpFromEpRTgt (const std::string &spanLocalEpFromEpRTgtSource) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR < modelgbp::span::LocalEpFromEpRTgt > | addSpanLocalEpFromEpRTgt (const std::string &spanLocalEpFromEpRTgtSource) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More... | |
void | resolveSpanLocalEpFromEpRTgt (std::vector< OF_SHARED_PTR< modelgbp::span::LocalEpFromEpRTgt > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::span::LocalEpFromEpRTgt. More... | |
boost::optional< OF_SHARED_PTR < modelgbp::epr::SecurityGroupContext > > | resolveEprSecurityGroupContext (const std::string &eprSecurityGroupContextSecGroup) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR < modelgbp::epr::SecurityGroupContext > | addEprSecurityGroupContext (const std::string &eprSecurityGroupContextSecGroup) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More... | |
void | resolveEprSecurityGroupContext (std::vector< OF_SHARED_PTR< modelgbp::epr::SecurityGroupContext > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::epr::SecurityGroupContext. More... | |
boost::optional< OF_SHARED_PTR < modelgbp::epr::L3Net > > | resolveEprL3Net (const std::string &eprL3NetIp) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR < modelgbp::epr::L3Net > | addEprL3Net (const std::string &eprL3NetIp) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More... | |
void | resolveEprL3Net (std::vector< OF_SHARED_PTR< modelgbp::epr::L3Net > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::epr::L3Net. More... | |
void | remove () |
Remove this instance using the currently-active mutator. More... | |
L2Ep (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
Construct an instance of L2Ep. More... | |
Static Public Member Functions | |
static boost::optional < OF_SHARED_PTR < modelgbp::epr::L2Ep > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Retrieve an instance of L2Ep from the managed object store. More... | |
static boost::optional < OF_SHARED_PTR < modelgbp::epr::L2Ep > > | resolve (const opflex::modb::URI &uri) |
Retrieve an instance of L2Ep from the managed object store using the default framework instance. More... | |
static boost::optional < OF_SHARED_PTR < modelgbp::epr::L2Ep > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac) |
Retrieve an instance of L2Ep from the managed object store by constructing its URI from the path elements that lead to it. More... | |
static boost::optional < OF_SHARED_PTR < modelgbp::epr::L2Ep > > | resolve (const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac) |
Retrieve an instance of L2Ep 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 L2Ep object with the specified URI using the currently-active mutator. More... | |
static void | remove (const opflex::modb::URI &uri) |
Remove the L2Ep object with the specified URI using the currently-active mutator and the default framework instance. More... | |
static void | remove (opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac) |
Remove the L2Ep object with the specified path elements from the managed object store. More... | |
static void | remove (const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac) |
Remove the L2Ep 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 = 99 |
The unique class ID for L2Ep. | |
|
inline |
Construct an instance of L2Ep.
This should not typically be called from user code.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
eprL3NetIp | the value of eprL3NetIp, a naming property for L3Net |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
eprSecurityGroupContextSecGroup | the value of eprSecurityGroupContextSecGroup, a naming property for SecurityGroupContext |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
gbpeAttestationName | the value of gbpeAttestationName, a naming property for Attestation |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
spanLocalEpFromEpRTgtSource | the value of spanLocalEpFromEpRTgtSource, a naming property for LocalEpFromEpRTgt |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Get the value of context if it has been set.
References isContextSet().
Referenced by getContext().
|
inline |
Get the value of context if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getContext().
|
inline |
Get the value of group if it has been set.
References isGroupSet().
Referenced by getGroup().
|
inline |
Get the value of group if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getGroup().
|
inline |
Get the value of interfaceName if it has been set.
References isInterfaceNameSet().
Referenced by getInterfaceName().
|
inline |
Get the value of interfaceName if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getInterfaceName().
|
inline |
Get the value of mac if it has been set.
References isMacSet().
Referenced by getMac().
|
inline |
Get the value of mac if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getMac().
|
inline |
Get the value of uuid if it has been set.
References isUuidSet().
Referenced by getUuid().
|
inline |
Get the value of uuid if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getUuid().
|
inline |
Get the value of vmName if it has been set.
References isVmNameSet().
Referenced by getVmName().
|
inline |
Get the value of vmName if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getVmName().
|
inline |
|
inline |
|
inline |
Check whether interfaceName has been set.
Referenced by getInterfaceName().
|
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 L2Ep 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 L2Ep 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 L2Ep 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]
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 |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the L2Ep 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]
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of L2Ep 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 resolve(), and modelgbp::epr::L2Universe::resolveEprL2Ep().
|
inlinestatic |
Retrieve an instance of L2Ep 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 L2Ep 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]
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 |
References resolve().
|
inlinestatic |
Retrieve an instance of L2Ep 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]
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
References resolve().
|
inline |
Retrieve the child object with the specified naming properties.
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.
eprL3NetIp | the value of eprL3NetIp, a naming property for L3Net |
References modelgbp::epr::L3Net::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::epr::L3Net.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Retrieve the child object with the specified naming properties.
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.
eprSecurityGroupContextSecGroup | the value of eprSecurityGroupContextSecGroup, a naming property for SecurityGroupContext |
References modelgbp::epr::SecurityGroupContext::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::epr::SecurityGroupContext.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Retrieve the child object with the specified naming properties.
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.
gbpeAttestationName | the value of gbpeAttestationName, a naming property for Attestation |
References modelgbp::gbpe::Attestation::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::Attestation.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Retrieve the child object with the specified naming properties.
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.
References modelgbp::gbpe::ReportedEpAttributeSet::resolve().
|
inline |
Retrieve the child object with the specified naming properties.
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.
spanLocalEpFromEpRTgtSource | the value of spanLocalEpFromEpRTgtSource, a naming property for LocalEpFromEpRTgt |
References modelgbp::span::LocalEpFromEpRTgt::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::span::LocalEpFromEpRTgt.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Set context 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 group 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 interfaceName 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 mac 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 uuid 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 vmName 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 context in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset group in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset interfaceName in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset mac in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset uuid in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset vmName in the currently-active mutator.
std::logic_error | if no mutator is active |