modelgbp Generated OpFlex Model
1.3.0
|
Public Member Functions | |
bool | isArpModeSet () |
Check whether arpMode has been set. More... | |
boost::optional< const uint8_t > | getArpMode () |
Get the value of arpMode if it has been set. More... | |
const uint8_t | getArpMode (const uint8_t defaultValue) |
Get the value of arpMode if set, otherwise the value of default passed in. More... | |
modelgbp::gbp::FloodDomain & | setArpMode (const uint8_t newValue) |
Set arpMode to the specified value in the currently-active mutator. More... | |
modelgbp::gbp::FloodDomain & | unsetArpMode () |
Unset arpMode in the currently-active mutator. More... | |
bool | isBcastFloodModeSet () |
Check whether bcastFloodMode has been set. More... | |
boost::optional< const uint8_t > | getBcastFloodMode () |
Get the value of bcastFloodMode if it has been set. More... | |
const uint8_t | getBcastFloodMode (const uint8_t defaultValue) |
Get the value of bcastFloodMode if set, otherwise the value of default passed in. More... | |
modelgbp::gbp::FloodDomain & | setBcastFloodMode (const uint8_t newValue) |
Set bcastFloodMode to the specified value in the currently-active mutator. More... | |
modelgbp::gbp::FloodDomain & | unsetBcastFloodMode () |
Unset bcastFloodMode in the currently-active mutator. More... | |
bool | isNameSet () |
Check whether name has been set. More... | |
boost::optional< const std::string & > | getName () |
Get the value of name if it has been set. More... | |
const std::string & | getName (const std::string &defaultValue) |
Get the value of name if set, otherwise the value of default passed in. More... | |
modelgbp::gbp::FloodDomain & | setName (const std::string &newValue) |
Set name to the specified value in the currently-active mutator. More... | |
modelgbp::gbp::FloodDomain & | unsetName () |
Unset name in the currently-active mutator. More... | |
bool | isNeighborDiscModeSet () |
Check whether neighborDiscMode has been set. More... | |
boost::optional< const uint8_t > | getNeighborDiscMode () |
Get the value of neighborDiscMode if it has been set. More... | |
const uint8_t | getNeighborDiscMode (const uint8_t defaultValue) |
Get the value of neighborDiscMode if set, otherwise the value of default passed in. More... | |
modelgbp::gbp::FloodDomain & | setNeighborDiscMode (const uint8_t newValue) |
Set neighborDiscMode to the specified value in the currently-active mutator. More... | |
modelgbp::gbp::FloodDomain & | unsetNeighborDiscMode () |
Unset neighborDiscMode in the currently-active mutator. More... | |
bool | isUnknownFloodModeSet () |
Check whether unknownFloodMode has been set. More... | |
boost::optional< const uint8_t > | getUnknownFloodMode () |
Get the value of unknownFloodMode if it has been set. More... | |
const uint8_t | getUnknownFloodMode (const uint8_t defaultValue) |
Get the value of unknownFloodMode if set, otherwise the value of default passed in. More... | |
modelgbp::gbp::FloodDomain & | setUnknownFloodMode (const uint8_t newValue) |
Set unknownFloodMode to the specified value in the currently-active mutator. More... | |
modelgbp::gbp::FloodDomain & | unsetUnknownFloodMode () |
Unset unknownFloodMode in the currently-active mutator. More... | |
boost::optional < boost::shared_ptr < modelgbp::gbpe::FloodContext > > | resolveGbpeFloodContext () |
Retrieve the child object with the specified naming properties. More... | |
boost::shared_ptr < modelgbp::gbpe::FloodContext > | addGbpeFloodContext () |
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 < boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > > | resolveGbpEpGroupFromNetworkRTgt (const std::string &gbpEpGroupFromNetworkRTgtSource) |
Retrieve the child object with the specified naming properties. More... | |
boost::shared_ptr < modelgbp::gbp::EpGroupFromNetworkRTgt > | addGbpEpGroupFromNetworkRTgt (const std::string &gbpEpGroupFromNetworkRTgtSource) |
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 | resolveGbpEpGroupFromNetworkRTgt (std::vector< boost::shared_ptr< modelgbp::gbp::EpGroupFromNetworkRTgt > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::gbp::EpGroupFromNetworkRTgt. More... | |
boost::optional < boost::shared_ptr < modelgbp::gbp::FloodDomainToNetworkRSrc > > | resolveGbpFloodDomainToNetworkRSrc () |
Retrieve the child object with the specified naming properties. More... | |
boost::shared_ptr < modelgbp::gbp::FloodDomainToNetworkRSrc > | addGbpFloodDomainToNetworkRSrc () |
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 < boost::shared_ptr < modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > | resolveGbpForwardingBehavioralGroupToSubnetsRSrc () |
Retrieve the child object with the specified naming properties. More... | |
boost::shared_ptr < modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > | addGbpForwardingBehavioralGroupToSubnetsRSrc () |
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 | remove () |
Remove this instance using the currently-active mutator. More... | |
FloodDomain (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const boost::shared_ptr< const opflex::modb::mointernal::ObjectInstance > &oi) | |
Construct an instance of FloodDomain. More... | |
Static Public Member Functions | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::FloodDomain > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Retrieve an instance of FloodDomain from the managed object store. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::FloodDomain > > | resolve (const opflex::modb::URI &uri) |
Retrieve an instance of FloodDomain from the managed object store using the default framework instance. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::FloodDomain > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpFloodDomainName) |
Retrieve an instance of FloodDomain from the managed object store by constructing its URI from the path elements that lead to it. More... | |
static boost::optional < boost::shared_ptr < modelgbp::gbp::FloodDomain > > | resolve (const std::string &policySpaceName, const std::string &gbpFloodDomainName) |
Retrieve an instance of FloodDomain 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 FloodDomain object with the specified URI using the currently-active mutator. More... | |
static void | remove (const opflex::modb::URI &uri) |
Remove the FloodDomain 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 &policySpaceName, const std::string &gbpFloodDomainName) |
Remove the FloodDomain object with the specified path elements from the managed object store. More... | |
static void | remove (const std::string &policySpaceName, const std::string &gbpFloodDomainName) |
Remove the FloodDomain 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 = 141 |
The unique class ID for FloodDomain. | |
|
inline |
Construct an instance of FloodDomain.
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.
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.
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
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.
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Get the value of arpMode if it has been set.
References isArpModeSet().
Referenced by getArpMode().
|
inline |
Get the value of arpMode if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getArpMode().
|
inline |
Get the value of bcastFloodMode if it has been set.
References isBcastFloodModeSet().
Referenced by getBcastFloodMode().
|
inline |
Get the value of bcastFloodMode if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getBcastFloodMode().
|
inline |
Get the value of name if it has been set.
References isNameSet().
Referenced by getName().
|
inline |
Get the value of name if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getName().
|
inline |
Get the value of neighborDiscMode if it has been set.
References isNeighborDiscModeSet().
Referenced by getNeighborDiscMode().
|
inline |
Get the value of neighborDiscMode if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getNeighborDiscMode().
|
inline |
Get the value of unknownFloodMode if it has been set.
References isUnknownFloodModeSet().
Referenced by getUnknownFloodMode().
|
inline |
Get the value of unknownFloodMode if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getUnknownFloodMode().
|
inline |
|
inline |
Check whether bcastFloodMode has been set.
Referenced by getBcastFloodMode().
|
inline |
|
inline |
Check whether neighborDiscMode has been set.
Referenced by getNeighborDiscMode().
|
inline |
Check whether unknownFloodMode has been set.
Referenced by getUnknownFloodMode().
|
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 FloodDomain 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 FloodDomain 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 FloodDomain 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]/GbpFloodDomain/[gbpFloodDomainName]
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpFloodDomainName | the value of gbpFloodDomainName, a naming property for FloodDomain |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the FloodDomain 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]/GbpFloodDomain/[gbpFloodDomainName]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpFloodDomainName | the value of gbpFloodDomainName, a naming property for FloodDomain |
std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of FloodDomain 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::policy::Space::resolveGbpFloodDomain().
|
inlinestatic |
Retrieve an instance of FloodDomain 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 FloodDomain 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]/GbpFloodDomain/[gbpFloodDomainName]
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpFloodDomainName | the value of gbpFloodDomainName, a naming property for FloodDomain |
References resolve().
|
inlinestatic |
Retrieve an instance of FloodDomain 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]/GbpFloodDomain/[gbpFloodDomainName]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpFloodDomainName | the value of gbpFloodDomainName, a naming property for FloodDomain |
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.
References modelgbp::gbpe::FloodContext::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.
gbpEpGroupFromNetworkRTgtSource | the value of gbpEpGroupFromNetworkRTgtSource, a naming property for EpGroupFromNetworkRTgt |
References modelgbp::gbp::EpGroupFromNetworkRTgt::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::gbp::EpGroupFromNetworkRTgt.
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::gbp::FloodDomainToNetworkRSrc::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.
References modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc::resolve().
|
inline |
Set arpMode 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 bcastFloodMode 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 name 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 neighborDiscMode 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 unknownFloodMode 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 arpMode in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset bcastFloodMode in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset name in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset neighborDiscMode in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset unknownFloodMode in the currently-active mutator.
std::logic_error | if no mutator is active |