11#ifndef GI_GBP_EPGROUPTONETWORKRSRC_HPP
12#define GI_GBP_EPGROUPTONETWORKRSRC_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
22 :
public opflex::modb::mointernal::MO
29 static const opflex::modb::class_id_t
CLASS_ID = 153;
93 return getObjectInstance().isSet(5013507ul, opflex::modb::PropertyInfo::REFERENCE);
266 getTLMutator().modify(
getClassId(),
getURI())->unset(5013507ul, opflex::modb::PropertyInfo::REFERENCE, opflex::modb::PropertyInfo::SCALAR);
337 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::EpGroupToNetworkRSrc> >
resolve(
339 const opflex::modb::URI&
uri)
341 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::EpGroupToNetworkRSrc>(
framework,
CLASS_ID,
uri);
355 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::EpGroupToNetworkRSrc> >
resolve(
356 const opflex::modb::URI&
uri)
358 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::EpGroupToNetworkRSrc>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
379 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::EpGroupToNetworkRSrc> >
resolve(
404 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::EpGroupToNetworkRSrc> >
resolve(
435 const opflex::modb::URI&
uri)
452 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
515 opflex::modb::ObjectListener*
listener)
517 opflex::modb::mointernal
533 opflex::modb::ObjectListener*
listener)
546 opflex::modb::ObjectListener*
listener)
548 opflex::modb::mointernal
559 opflex::modb::ObjectListener*
listener)
570 const opflex::modb::URI&
uri,
Definition EpGroupToNetworkRSrc.hpp:23
modelgbp::gbp::EpGroupToNetworkRSrc & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition EpGroupToNetworkRSrc.hpp:69
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition EpGroupToNetworkRSrc.hpp:544
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::EpGroupToNetworkRSrc > > resolve(const std::string &policySpaceName, const std::string &gbpEpGroupName)
Retrieve an instance of EpGroupToNetworkRSrc from the default managed object store by constructing it...
Definition EpGroupToNetworkRSrc.hpp:404
modelgbp::gbp::EpGroupToNetworkRSrc & setTargetBridgeDomain(const std::string &policySpaceName, const std::string &gbpBridgeDomainName)
Set the reference to point to an instance of BridgeDomain in the currently-active mutator by construc...
Definition EpGroupToNetworkRSrc.hpp:170
modelgbp::gbp::EpGroupToNetworkRSrc & unsetTarget()
Unset target in the currently-active mutator.
Definition EpGroupToNetworkRSrc.hpp:264
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpGroupToNetworkRSrc object with the specified URI using the currently-active mutator.
Definition EpGroupToNetworkRSrc.hpp:434
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 EpGroupToNetworkRSrc.hpp:513
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition EpGroupToNetworkRSrc.hpp:283
modelgbp::gbp::EpGroupToNetworkRSrc & setTargetRoutingDomain(const opflex::modb::URI &uri)
Set the reference to point to an instance of RoutingDomain with the specified URI.
Definition EpGroupToNetworkRSrc.hpp:227
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 EpGroupToNetworkRSrc.hpp:532
bool isRoleSet()
Check whether role has been set.
Definition EpGroupToNetworkRSrc.hpp:35
modelgbp::gbp::EpGroupToNetworkRSrc & unsetType()
Unset type in the currently-active mutator.
Definition EpGroupToNetworkRSrc.hpp:320
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition EpGroupToNetworkRSrc.hpp:295
boost::optional< opflex::modb::URI > getTargetURI()
Get the value of targetURI if it has been set.
Definition EpGroupToNetworkRSrc.hpp:111
void remove()
Remove this instance using the currently-active mutator.
Definition EpGroupToNetworkRSrc.hpp:419
modelgbp::gbp::EpGroupToNetworkRSrc & setTargetBridgeDomain(const opflex::modb::URI &uri)
Set the reference to point to an instance of BridgeDomain with the specified URI.
Definition EpGroupToNetworkRSrc.hpp:147
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpGroupToNetworkRSrc.
Definition EpGroupToNetworkRSrc.hpp:29
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::EpGroupToNetworkRSrc > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpGroupToNetworkRSrc from the managed object store using the default framewor...
Definition EpGroupToNetworkRSrc.hpp:355
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::EpGroupToNetworkRSrc > > resolve(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpEpGroupName)
Retrieve an instance of EpGroupToNetworkRSrc from the managed object store by constructing its URI fr...
Definition EpGroupToNetworkRSrc.hpp:379
static void remove(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpEpGroupName)
Remove the EpGroupToNetworkRSrc object with the specified path elements from the managed object store...
Definition EpGroupToNetworkRSrc.hpp:471
bool isTargetSet()
Check whether target has been set.
Definition EpGroupToNetworkRSrc.hpp:91
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition EpGroupToNetworkRSrc.hpp:44
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition EpGroupToNetworkRSrc.hpp:56
opflex::modb::URI getTargetURI(opflex::modb::URI defaultValue)
Get the value of targetURI if set, otherwise the value of default passed in.
Definition EpGroupToNetworkRSrc.hpp:133
modelgbp::gbp::EpGroupToNetworkRSrc & setTargetFloodDomain(const opflex::modb::URI &uri)
Set the reference to point to an instance of FloodDomain with the specified URI.
Definition EpGroupToNetworkRSrc.hpp:187
boost::optional< opflex::modb::class_id_t > getTargetClass()
Get the value of targetClass if it has been set.
Definition EpGroupToNetworkRSrc.hpp:100
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition EpGroupToNetworkRSrc.hpp:558
static void remove(const opflex::modb::URI &uri)
Remove the EpGroupToNetworkRSrc object with the specified URI using the currently-active mutator and ...
Definition EpGroupToNetworkRSrc.hpp:450
bool isTypeSet()
Check whether type has been set.
Definition EpGroupToNetworkRSrc.hpp:274
opflex::modb::class_id_t getTargetClass(opflex::modb::class_id_t defaultValue)
Get the value of targetClass if set, otherwise the value of default passed in.
Definition EpGroupToNetworkRSrc.hpp:123
EpGroupToNetworkRSrc(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpGroupToNetworkRSrc.
Definition EpGroupToNetworkRSrc.hpp:568
static void remove(const std::string &policySpaceName, const std::string &gbpEpGroupName)
Remove the EpGroupToNetworkRSrc object with the specified path elements from the managed object store...
Definition EpGroupToNetworkRSrc.hpp:495
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::EpGroupToNetworkRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpGroupToNetworkRSrc from the managed object store.
Definition EpGroupToNetworkRSrc.hpp:337
modelgbp::gbp::EpGroupToNetworkRSrc & setTargetRoutingDomain(const std::string &policySpaceName, const std::string &gbpRoutingDomainName)
Set the reference to point to an instance of RoutingDomain in the currently-active mutator by constru...
Definition EpGroupToNetworkRSrc.hpp:250
modelgbp::gbp::EpGroupToNetworkRSrc & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition EpGroupToNetworkRSrc.hpp:308
modelgbp::gbp::EpGroupToNetworkRSrc & setTargetFloodDomain(const std::string &policySpaceName, const std::string &gbpFloodDomainName)
Set the reference to point to an instance of FloodDomain in the currently-active mutator by construct...
Definition EpGroupToNetworkRSrc.hpp:210
modelgbp::gbp::EpGroupToNetworkRSrc & unsetRole()
Unset role in the currently-active mutator.
Definition EpGroupToNetworkRSrc.hpp:81
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12