11#ifndef GI_GBP_FLOODDOMAIN_HPP
12#define GI_GBP_FLOODDOMAIN_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/gbpe/FloodContext.hpp"
24#include "modelgbp/gbp/EpGroupFromNetworkRTgt.hpp"
28#include "modelgbp/gbp/FloodDomainToNetworkRSrc.hpp"
32#include "modelgbp/gbp/ForwardingBehavioralGroupToSubnetsRSrc.hpp"
38 :
public opflex::modb::mointernal::MO
45 static const opflex::modb::class_id_t
CLASS_ID = 185;
211 getTLMutator().modify(
getClassId(),
getURI())->unset(6062081ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
338 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::FloodDomain> >
resolve(
340 const opflex::modb::URI&
uri)
342 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::FloodDomain>(
framework,
CLASS_ID,
uri);
356 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::FloodDomain> >
resolve(
357 const opflex::modb::URI&
uri)
359 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::FloodDomain>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
380 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::FloodDomain> >
resolve(
405 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::FloodDomain> >
resolve(
503 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbp::EpGroupFromNetworkRTgt>(
601 const opflex::modb::URI&
uri)
618 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
681 opflex::modb::ObjectListener*
listener)
683 opflex::modb::mointernal
699 opflex::modb::ObjectListener*
listener)
712 opflex::modb::ObjectListener*
listener)
714 opflex::modb::mointernal
725 opflex::modb::ObjectListener*
listener)
736 const opflex::modb::URI&
uri,
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::EpGroupFromNetworkRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpGroupFromNetworkRTgt from the managed object store.
Definition EpGroupFromNetworkRTgt.hpp:210
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::FloodDomainToNetworkRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of FloodDomainToNetworkRSrc from the managed object store.
Definition FloodDomainToNetworkRSrc.hpp:257
Definition FloodDomain.hpp:39
bool isNeighborDiscModeSet()
Check whether neighborDiscMode has been set.
Definition FloodDomain.hpp:219
FloodDomain(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of FloodDomain.
Definition FloodDomain.hpp:734
modelgbp::gbp::FloodDomain & unsetArpMode()
Unset arpMode in the currently-active mutator.
Definition FloodDomain.hpp:97
modelgbp::gbp::FloodDomain & setBcastFloodMode(const uint8_t newValue)
Set bcastFloodMode to the specified value in the currently-active mutator.
Definition FloodDomain.hpp:141
const uint8_t getArpMode(const uint8_t defaultValue)
Get the value of arpMode if set, otherwise the value of default passed in.
Definition FloodDomain.hpp:72
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition FloodDomain.hpp:724
const uint8_t getUnknownFloodMode(const uint8_t defaultValue)
Get the value of unknownFloodMode if set, otherwise the value of default passed in.
Definition FloodDomain.hpp:296
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.
Definition FloodDomain.hpp:600
OF_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 ...
Definition FloodDomain.hpp:567
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::FloodContext > > resolveGbpeFloodContext()
Retrieve the child object with the specified naming properties.
Definition FloodDomain.hpp:421
boost::optional< OF_SHARED_PTR< modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > resolveGbpForwardingBehavioralGroupToSubnetsRSrc()
Retrieve the child object with the specified naming properties.
Definition FloodDomain.hpp:551
modelgbp::gbp::FloodDomain & setUnknownFloodMode(const uint8_t newValue)
Set unknownFloodMode to the specified value in the currently-active mutator.
Definition FloodDomain.hpp:309
static boost::optional< OF_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 fro...
Definition FloodDomain.hpp:405
static boost::optional< OF_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.
Definition FloodDomain.hpp:338
modelgbp::gbp::FloodDomain & unsetName()
Unset name in the currently-active mutator.
Definition FloodDomain.hpp:209
bool isBcastFloodModeSet()
Check whether bcastFloodMode has been set.
Definition FloodDomain.hpp:107
modelgbp::gbp::FloodDomain & setNeighborDiscMode(const uint8_t newValue)
Set neighborDiscMode to the specified value in the currently-active mutator.
Definition FloodDomain.hpp:253
bool isArpModeSet()
Check whether arpMode has been set.
Definition FloodDomain.hpp:51
void remove()
Remove this instance using the currently-active mutator.
Definition FloodDomain.hpp:585
static boost::optional< OF_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 instanc...
Definition FloodDomain.hpp:356
bool isUnknownFloodModeSet()
Check whether unknownFloodMode has been set.
Definition FloodDomain.hpp:275
OF_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 ...
Definition FloodDomain.hpp:437
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition FloodDomain.hpp:172
modelgbp::gbp::FloodDomain & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition FloodDomain.hpp:197
static void registerListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class.
Definition FloodDomain.hpp:679
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.
Definition FloodDomain.hpp:637
const uint8_t getBcastFloodMode(const uint8_t defaultValue)
Get the value of bcastFloodMode if set, otherwise the value of default passed in.
Definition FloodDomain.hpp:128
OF_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 ...
Definition FloodDomain.hpp:532
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition FloodDomain.hpp:710
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition FloodDomain.hpp:184
boost::optional< const uint8_t > getNeighborDiscMode()
Get the value of neighborDiscMode if it has been set.
Definition FloodDomain.hpp:228
static boost::optional< OF_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 pa...
Definition FloodDomain.hpp:380
bool isNameSet()
Check whether name has been set.
Definition FloodDomain.hpp:163
void resolveGbpEpGroupFromNetworkRTgt(std::vector< OF_SHARED_PTR< modelgbp::gbp::EpGroupFromNetworkRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbp::EpGroupFromNetworkRTgt.
Definition FloodDomain.hpp:501
modelgbp::gbp::FloodDomain & unsetUnknownFloodMode()
Unset unknownFloodMode in the currently-active mutator.
Definition FloodDomain.hpp:321
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for FloodDomain.
Definition FloodDomain.hpp:45
boost::optional< const uint8_t > getUnknownFloodMode()
Get the value of unknownFloodMode if it has been set.
Definition FloodDomain.hpp:284
modelgbp::gbp::FloodDomain & unsetBcastFloodMode()
Unset bcastFloodMode in the currently-active mutator.
Definition FloodDomain.hpp:153
modelgbp::gbp::FloodDomain & unsetNeighborDiscMode()
Unset neighborDiscMode in the currently-active mutator.
Definition FloodDomain.hpp:265
boost::optional< const uint8_t > getBcastFloodMode()
Get the value of bcastFloodMode if it has been set.
Definition FloodDomain.hpp:116
const uint8_t getNeighborDiscMode(const uint8_t defaultValue)
Get the value of neighborDiscMode if set, otherwise the value of default passed in.
Definition FloodDomain.hpp:240
OF_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 ...
Definition FloodDomain.hpp:476
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 th...
Definition FloodDomain.hpp:661
static void remove(const opflex::modb::URI &uri)
Remove the FloodDomain object with the specified URI using the currently-active mutator and the defau...
Definition FloodDomain.hpp:616
modelgbp::gbp::FloodDomain & setArpMode(const uint8_t newValue)
Set arpMode to the specified value in the currently-active mutator.
Definition FloodDomain.hpp:85
boost::optional< const uint8_t > getArpMode()
Get the value of arpMode if it has been set.
Definition FloodDomain.hpp:60
boost::optional< OF_SHARED_PTR< modelgbp::gbp::FloodDomainToNetworkRSrc > > resolveGbpFloodDomainToNetworkRSrc()
Retrieve the child object with the specified naming properties.
Definition FloodDomain.hpp:516
boost::optional< OF_SHARED_PTR< modelgbp::gbp::EpGroupFromNetworkRTgt > > resolveGbpEpGroupFromNetworkRTgt(const std::string &gbpEpGroupFromNetworkRTgtSource)
Retrieve the child object with the specified naming properties.
Definition FloodDomain.hpp:458
static void registerListener(opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class with the default framework...
Definition FloodDomain.hpp:698
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of ForwardingBehavioralGroupToSubnetsRSrc from the managed object store.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:257
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::FloodContext > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of FloodContext from the managed object store.
Definition FloodContext.hpp:98
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12