11#ifndef GI_GBP_FORWARDINGBEHAVIORALGROUPTOSUBNETSRSRC_HPP
12#define GI_GBP_FORWARDINGBEHAVIORALGROUPTOSUBNETSRSRC_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 = 199;
93 return getObjectInstance().isSet(6520835ul, opflex::modb::PropertyInfo::REFERENCE);
186 getTLMutator().modify(
getClassId(),
getURI())->unset(6520835ul, opflex::modb::PropertyInfo::REFERENCE, opflex::modb::PropertyInfo::SCALAR);
257 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc> >
resolve(
259 const opflex::modb::URI&
uri)
261 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc>(
framework,
CLASS_ID,
uri);
275 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc> >
resolve(
276 const opflex::modb::URI&
uri)
278 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
455 const opflex::modb::URI&
uri)
472 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
629 opflex::modb::ObjectListener*
listener)
631 opflex::modb::mointernal
647 opflex::modb::ObjectListener*
listener)
660 opflex::modb::ObjectListener*
listener)
662 opflex::modb::mointernal
673 opflex::modb::ObjectListener*
listener)
684 const opflex::modb::URI&
uri,
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:23
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > resolveUnderPolicyUniversePolicySpaceGbpFloodDomain(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpFloodDomainName)
Retrieve an instance of ForwardingBehavioralGroupToSubnetsRSrc from the managed object store by const...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:349
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 ForwardingBehavioralGroupToSubnetsRSrc.hpp:627
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpBridgeDomainName)
Retrieve an instance of ForwardingBehavioralGroupToSubnetsRSrc from the managed object store by const...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:299
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpRoutingDomainName)
Retrieve an instance of ForwardingBehavioralGroupToSubnetsRSrc from the managed object store by const...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:399
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:672
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > resolveUnderPolicyUniversePolicySpaceGbpFloodDomain(const std::string &policySpaceName, const std::string &gbpFloodDomainName)
Retrieve an instance of ForwardingBehavioralGroupToSubnetsRSrc from the default managed object store ...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:374
boost::optional< opflex::modb::URI > getTargetURI()
Get the value of targetURI if it has been set.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:111
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of ForwardingBehavioralGroupToSubnetsRSrc from the managed object store using th...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:275
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:44
ForwardingBehavioralGroupToSubnetsRSrc(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of ForwardingBehavioralGroupToSubnetsRSrc.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:682
modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc & unsetType()
Unset type in the currently-active mutator.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:240
modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc & unsetRole()
Unset role in the currently-active mutator.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:81
static void removeUnderPolicyUniversePolicySpaceGbpFloodDomain(const std::string &policySpaceName, const std::string &gbpFloodDomainName)
Remove the ForwardingBehavioralGroupToSubnetsRSrc object with the specified path elements from the ma...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:562
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for ForwardingBehavioralGroupToSubnetsRSrc.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:29
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:56
bool isRoleSet()
Check whether role has been set.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:35
modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc & setTargetSubnets(const opflex::modb::URI &uri)
Set the reference to point to an instance of Subnets with the specified URI.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:147
static void remove(const opflex::modb::URI &uri)
Remove the ForwardingBehavioralGroupToSubnetsRSrc object with the specified URI using the currently-a...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:470
opflex::modb::URI getTargetURI(opflex::modb::URI defaultValue)
Get the value of targetURI if set, otherwise the value of default passed in.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:133
static void removeUnderPolicyUniversePolicySpaceGbpBridgeDomain(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpBridgeDomainName)
Remove the ForwardingBehavioralGroupToSubnetsRSrc object with the specified path elements from the ma...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:491
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:215
modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:228
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 ForwardingBehavioralGroupToSubnetsRSrc.hpp:646
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 ForwardingBehavioralGroupToSubnetsRSrc.hpp:123
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:658
void remove()
Remove this instance using the currently-active mutator.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:439
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > resolveUnderPolicyUniversePolicySpaceGbpBridgeDomain(const std::string &policySpaceName, const std::string &gbpBridgeDomainName)
Retrieve an instance of ForwardingBehavioralGroupToSubnetsRSrc from the default managed object store ...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:324
static void removeUnderPolicyUniversePolicySpaceGbpRoutingDomain(const std::string &policySpaceName, const std::string &gbpRoutingDomainName)
Remove the ForwardingBehavioralGroupToSubnetsRSrc object with the specified path elements from the ma...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:609
bool isTypeSet()
Check whether type has been set.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:194
boost::optional< opflex::modb::class_id_t > getTargetClass()
Get the value of targetClass if it has been set.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:100
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:203
static void removeUnderPolicyUniversePolicySpaceGbpRoutingDomain(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpRoutingDomainName)
Remove the ForwardingBehavioralGroupToSubnetsRSrc object with the specified path elements from the ma...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:585
modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc & unsetTarget()
Unset target in the currently-active mutator.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:184
modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:69
static void removeUnderPolicyUniversePolicySpaceGbpFloodDomain(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpFloodDomainName)
Remove the ForwardingBehavioralGroupToSubnetsRSrc object with the specified path elements from the ma...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:538
bool isTargetSet()
Check whether target has been set.
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:91
modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc & setTargetSubnets(const std::string &policySpaceName, const std::string &gbpSubnetsName)
Set the reference to point to an instance of Subnets in the currently-active mutator by constructing ...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:170
static void removeUnderPolicyUniversePolicySpaceGbpBridgeDomain(const std::string &policySpaceName, const std::string &gbpBridgeDomainName)
Remove the ForwardingBehavioralGroupToSubnetsRSrc object with the specified path elements from the ma...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:515
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 void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the ForwardingBehavioralGroupToSubnetsRSrc object with the specified URI using the currently-a...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:454
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::ForwardingBehavioralGroupToSubnetsRSrc > > resolveUnderPolicyUniversePolicySpaceGbpRoutingDomain(const std::string &policySpaceName, const std::string &gbpRoutingDomainName)
Retrieve an instance of ForwardingBehavioralGroupToSubnetsRSrc from the default managed object store ...
Definition ForwardingBehavioralGroupToSubnetsRSrc.hpp:424
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12