11 #ifndef GI_GBP_EPGROUP_HPP
12 #define GI_GBP_EPGROUP_HPP
14 #include <boost/optional.hpp>
15 #include "opflex/modb/URIBuilder.h"
16 #include "opflex/modb/mo-internal/MO.h"
20 #include "modelgbp/gbpe/EpgMappingFromDefaultGroupRTgt.hpp"
24 #include "modelgbp/gbpe/MappingRuleFromGroupRTgt.hpp"
28 #include "modelgbp/gbpe/InstContext.hpp"
32 #include "modelgbp/span/MemberFromRefRTgt.hpp"
36 #include "modelgbp/epdr/EndPointFromGroupRTgt.hpp"
40 #include "modelgbp/gbp/EpGroupToNetworkRSrc.hpp"
44 #include "modelgbp/gbp/EpGroupToProvContractRSrc.hpp"
48 #include "modelgbp/gbp/EpGroupToConsContractRSrc.hpp"
52 #include "modelgbp/gbp/EpGroupToSubnetsRSrc.hpp"
56 #include "modelgbp/gbp/L3ExternalNetworkFromNatEPGroupRTgt.hpp"
62 :
public opflex::modb::mointernal::MO
69 static const opflex::modb::class_id_t
CLASS_ID = 111;
77 return getObjectInstance().isSet(3637250ul, opflex::modb::PropertyInfo::ENUM8);
87 return (
const uint8_t)getObjectInstance().getUInt64(3637250ul);
111 getTLMutator().modify(getClassId(), getURI())->setUInt64(3637250ul, newValue);
123 getTLMutator().modify(getClassId(), getURI())->unset(3637250ul, opflex::modb::PropertyInfo::ENUM8, opflex::modb::PropertyInfo::SCALAR);
133 return getObjectInstance().isSet(3637249ul, opflex::modb::PropertyInfo::STRING);
143 return getObjectInstance().getString(3637249ul);
152 const std::string&
getName(
const std::string& defaultValue)
154 return getName().get_value_or(defaultValue);
167 getTLMutator().modify(getClassId(), getURI())->setString(3637249ul, newValue);
179 getTLMutator().modify(getClassId(), getURI())->unset(3637249ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
194 static boost::optional<boost::shared_ptr<modelgbp::gbp::EpGroup> >
resolve(
195 opflex::ofcore::OFFramework& framework,
196 const opflex::modb::URI& uri)
198 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::EpGroup>(framework,
CLASS_ID, uri);
212 static boost::optional<boost::shared_ptr<modelgbp::gbp::EpGroup> >
resolve(
213 const opflex::modb::URI& uri)
215 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::EpGroup>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID, uri);
236 static boost::optional<boost::shared_ptr<modelgbp::gbp::EpGroup> >
resolve(
237 opflex::ofcore::OFFramework& framework,
238 const std::string& policySpaceName,
239 const std::string& gbpEpGroupName)
241 return resolve(framework,opflex::modb::URIBuilder().addElement(
"PolicyUniverse").addElement(
"PolicySpace").addElement(policySpaceName).addElement(
"GbpEpGroup").addElement(gbpEpGroupName).build());
261 static boost::optional<boost::shared_ptr<modelgbp::gbp::EpGroup> >
resolve(
262 const std::string& policySpaceName,
263 const std::string& gbpEpGroupName)
265 return resolve(opflex::ofcore::OFFramework::defaultInstance(),policySpaceName,gbpEpGroupName);
280 const std::string& gbpeEpgMappingFromDefaultGroupRTgtSource)
298 const std::string& gbpeEpgMappingFromDefaultGroupRTgtSource)
300 boost::shared_ptr<modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt> result = addChild<modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt>(
301 CLASS_ID, getURI(), 2151120907ul, 11,
302 opflex::modb::URIBuilder(getURI()).addElement(
"GbpeEpgMappingFromDefaultGroupRTgt").addElement(gbpeEpgMappingFromDefaultGroupRTgtSource).build()
304 result->setSource(gbpeEpgMappingFromDefaultGroupRTgtSource);
324 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt>(
325 getFramework(),
CLASS_ID, getURI(), 2151120907ul, 11, out);
340 const std::string& gbpeMappingRuleFromGroupRTgtSource)
358 const std::string& gbpeMappingRuleFromGroupRTgtSource)
360 boost::shared_ptr<modelgbp::gbpe::MappingRuleFromGroupRTgt> result = addChild<modelgbp::gbpe::MappingRuleFromGroupRTgt>(
361 CLASS_ID, getURI(), 2151120918ul, 22,
362 opflex::modb::URIBuilder(getURI()).addElement(
"GbpeMappingRuleFromGroupRTgt").addElement(gbpeMappingRuleFromGroupRTgtSource).build()
364 result->setSource(gbpeMappingRuleFromGroupRTgtSource);
384 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbpe::MappingRuleFromGroupRTgt>(
385 getFramework(),
CLASS_ID, getURI(), 2151120918ul, 22, out);
416 boost::shared_ptr<modelgbp::gbpe::InstContext> result = addChild<modelgbp::gbpe::InstContext>(
417 CLASS_ID, getURI(), 2151120925ul, 29,
418 opflex::modb::URIBuilder(getURI()).addElement(
"GbpeInstContext").build()
435 const std::string& spanMemberFromRefRTgtSource)
453 const std::string& spanMemberFromRefRTgtSource)
455 boost::shared_ptr<modelgbp::span::MemberFromRefRTgt> result = addChild<modelgbp::span::MemberFromRefRTgt>(
456 CLASS_ID, getURI(), 2151120954ul, 58,
457 opflex::modb::URIBuilder(getURI()).addElement(
"SpanMemberFromRefRTgt").addElement(spanMemberFromRefRTgtSource).build()
459 result->setSource(spanMemberFromRefRTgtSource);
479 opflex::modb::mointernal::MO::resolveChildren<modelgbp::span::MemberFromRefRTgt>(
480 getFramework(),
CLASS_ID, getURI(), 2151120954ul, 58, out);
495 const std::string& epdrEndPointFromGroupRTgtSource)
513 const std::string& epdrEndPointFromGroupRTgtSource)
515 boost::shared_ptr<modelgbp::epdr::EndPointFromGroupRTgt> result = addChild<modelgbp::epdr::EndPointFromGroupRTgt>(
516 CLASS_ID, getURI(), 2151120983ul, 87,
517 opflex::modb::URIBuilder(getURI()).addElement(
"EpdrEndPointFromGroupRTgt").addElement(epdrEndPointFromGroupRTgtSource).build()
519 result->setSource(epdrEndPointFromGroupRTgtSource);
539 opflex::modb::mointernal::MO::resolveChildren<modelgbp::epdr::EndPointFromGroupRTgt>(
540 getFramework(),
CLASS_ID, getURI(), 2151120983ul, 87, out);
571 boost::shared_ptr<modelgbp::gbp::EpGroupToNetworkRSrc> result = addChild<modelgbp::gbp::EpGroupToNetworkRSrc>(
572 CLASS_ID, getURI(), 2151121008ul, 112,
573 opflex::modb::URIBuilder(getURI()).addElement(
"GbpEpGroupToNetworkRSrc").build()
592 const std::string& gbpEpGroupToProvContractRSrcTargetName)
594 opflex::modb::class_id_t gbpEpGroupToProvContractRSrcTargetClass = 102;
595 return modelgbp::gbp::EpGroupToProvContractRSrc::resolve(getFramework(), opflex::modb::URIBuilder(getURI()).addElement(
"GbpEpGroupToProvContractRSrc").addElement(gbpEpGroupToProvContractRSrcTargetClass).addElement(gbpEpGroupToProvContractRSrcTargetName).build());
613 const std::string& gbpEpGroupToProvContractRSrcTargetName)
615 opflex::modb::class_id_t gbpEpGroupToProvContractRSrcTargetClass = 102;
616 boost::shared_ptr<modelgbp::gbp::EpGroupToProvContractRSrc> result = addChild<modelgbp::gbp::EpGroupToProvContractRSrc>(
617 CLASS_ID, getURI(), 2151121011ul, 115,
618 opflex::modb::URIBuilder(getURI()).addElement(
"GbpEpGroupToProvContractRSrc").addElement(gbpEpGroupToProvContractRSrcTargetClass).addElement(gbpEpGroupToProvContractRSrcTargetName).build()
620 result->setTargetContract(opflex::modb::URI(gbpEpGroupToProvContractRSrcTargetName));
640 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbp::EpGroupToProvContractRSrc>(
641 getFramework(),
CLASS_ID, getURI(), 2151121011ul, 115, out);
658 const std::string& gbpEpGroupToConsContractRSrcTargetName)
660 opflex::modb::class_id_t gbpEpGroupToConsContractRSrcTargetClass = 102;
661 return modelgbp::gbp::EpGroupToConsContractRSrc::resolve(getFramework(), opflex::modb::URIBuilder(getURI()).addElement(
"GbpEpGroupToConsContractRSrc").addElement(gbpEpGroupToConsContractRSrcTargetClass).addElement(gbpEpGroupToConsContractRSrcTargetName).build());
679 const std::string& gbpEpGroupToConsContractRSrcTargetName)
681 opflex::modb::class_id_t gbpEpGroupToConsContractRSrcTargetClass = 102;
682 boost::shared_ptr<modelgbp::gbp::EpGroupToConsContractRSrc> result = addChild<modelgbp::gbp::EpGroupToConsContractRSrc>(
683 CLASS_ID, getURI(), 2151121014ul, 118,
684 opflex::modb::URIBuilder(getURI()).addElement(
"GbpEpGroupToConsContractRSrc").addElement(gbpEpGroupToConsContractRSrcTargetClass).addElement(gbpEpGroupToConsContractRSrcTargetName).build()
686 result->setTargetContract(opflex::modb::URI(gbpEpGroupToConsContractRSrcTargetName));
706 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbp::EpGroupToConsContractRSrc>(
707 getFramework(),
CLASS_ID, getURI(), 2151121014ul, 118, out);
738 boost::shared_ptr<modelgbp::gbp::EpGroupToSubnetsRSrc> result = addChild<modelgbp::gbp::EpGroupToSubnetsRSrc>(
739 CLASS_ID, getURI(), 2151121017ul, 121,
740 opflex::modb::URIBuilder(getURI()).addElement(
"GbpEpGroupToSubnetsRSrc").build()
757 const std::string& gbpL3ExternalNetworkFromNatEPGroupRTgtSource)
775 const std::string& gbpL3ExternalNetworkFromNatEPGroupRTgtSource)
777 boost::shared_ptr<modelgbp::gbp::L3ExternalNetworkFromNatEPGroupRTgt> result = addChild<modelgbp::gbp::L3ExternalNetworkFromNatEPGroupRTgt>(
778 CLASS_ID, getURI(), 2151121029ul, 133,
779 opflex::modb::URIBuilder(getURI()).addElement(
"GbpL3ExternalNetworkFromNatEPGroupRTgt").addElement(gbpL3ExternalNetworkFromNatEPGroupRTgtSource).build()
781 result->setSource(gbpL3ExternalNetworkFromNatEPGroupRTgtSource);
801 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbp::L3ExternalNetworkFromNatEPGroupRTgt>(
802 getFramework(),
CLASS_ID, getURI(), 2151121029ul, 133, out);
815 getTLMutator().remove(
CLASS_ID, getURI());
828 static void remove(opflex::ofcore::OFFramework& framework,
829 const opflex::modb::URI& uri)
831 MO::remove(framework,
CLASS_ID, uri);
844 static void remove(
const opflex::modb::URI& uri)
846 remove(opflex::ofcore::OFFramework::defaultInstance(), uri);
866 opflex::ofcore::OFFramework& framework,
867 const std::string& policySpaceName,
868 const std::string& gbpEpGroupName)
870 MO::remove(framework,
CLASS_ID, opflex::modb::URIBuilder().addElement(
"PolicyUniverse").addElement(
"PolicySpace").addElement(policySpaceName).addElement(
"GbpEpGroup").addElement(gbpEpGroupName).build());
890 const std::string& policySpaceName,
891 const std::string& gbpEpGroupName)
893 remove(opflex::ofcore::OFFramework::defaultInstance(),policySpaceName,gbpEpGroupName);
908 opflex::ofcore::OFFramework& framework,
909 opflex::modb::ObjectListener* listener)
911 opflex::modb::mointernal
912 ::MO::registerListener(framework, listener,
CLASS_ID);
927 opflex::modb::ObjectListener* listener)
939 opflex::ofcore::OFFramework& framework,
940 opflex::modb::ObjectListener* listener)
942 opflex::modb::mointernal
943 ::MO::unregisterListener(framework, listener,
CLASS_ID);
953 opflex::modb::ObjectListener* listener)
963 opflex::ofcore::OFFramework& framework,
964 const opflex::modb::URI& uri,
965 const boost::shared_ptr<const opflex::modb::mointernal::ObjectInstance>& oi)
966 : MO(framework,
CLASS_ID, uri, oi) { }
971 #endif // GI_GBP_EPGROUP_HPP
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition: EpGroup.hpp:952
bool isNameSet()
Check whether name has been set.
Definition: EpGroup.hpp:131
boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroupToNetworkRSrc > > resolveGbpEpGroupToNetworkRSrc()
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:552
boost::optional< boost::shared_ptr< modelgbp::span::MemberFromRefRTgt > > resolveSpanMemberFromRefRTgt(const std::string &spanMemberFromRefRTgtSource)
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:434
void resolveGbpeEpgMappingFromDefaultGroupRTgt(std::vector< boost::shared_ptr< modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpgMappingFromDefaultGroup...
Definition: EpGroup.hpp:322
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpGroup.
Definition: EpGroup.hpp:69
void resolveGbpEpGroupToProvContractRSrc(std::vector< boost::shared_ptr< modelgbp::gbp::EpGroupToProvContractRSrc > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbp::EpGroupToProvContractRSrc.
Definition: EpGroup.hpp:638
void resolveEpdrEndPointFromGroupRTgt(std::vector< boost::shared_ptr< modelgbp::epdr::EndPointFromGroupRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::epdr::EndPointFromGroupRTgt.
Definition: EpGroup.hpp:537
boost::optional< boost::shared_ptr< modelgbp::gbp::L3ExternalNetworkFromNatEPGroupRTgt > > resolveGbpL3ExternalNetworkFromNatEPGroupRTgt(const std::string &gbpL3ExternalNetworkFromNatEPGroupRTgtSource)
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:756
modelgbp::gbp::EpGroup & unsetName()
Unset name in the currently-active mutator.
Definition: EpGroup.hpp:177
static boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroupToConsContractRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpGroupToConsContractRSrc from the managed object store.
Definition: EpGroupToConsContractRSrc.hpp:257
static boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroupToProvContractRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpGroupToProvContractRSrc from the managed object store.
Definition: EpGroupToProvContractRSrc.hpp:257
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: EpGroup.hpp:926
boost::optional< boost::shared_ptr< modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt > > resolveGbpeEpgMappingFromDefaultGroupRTgt(const std::string &gbpeEpgMappingFromDefaultGroupRTgtSource)
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:279
static boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroup > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpGroup from the managed object store.
Definition: EpGroup.hpp:194
boost::optional< boost::shared_ptr< modelgbp::gbpe::InstContext > > resolveGbpeInstContext()
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:397
static boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroup > > resolve(const std::string &policySpaceName, const std::string &gbpEpGroupName)
Retrieve an instance of EpGroup from the default managed object store by constructing its URI from th...
Definition: EpGroup.hpp:261
static boost::optional< boost::shared_ptr< modelgbp::gbpe::InstContext > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of InstContext from the managed object store.
Definition: InstContext.hpp:210
boost::shared_ptr< modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt > addGbpeEpgMappingFromDefaultGroupRTgt(const std::string &gbpeEpgMappingFromDefaultGroupRTgtSource)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:297
boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroupToSubnetsRSrc > > resolveGbpEpGroupToSubnetsRSrc()
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:719
static boost::optional< boost::shared_ptr< modelgbp::gbpe::MappingRuleFromGroupRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of MappingRuleFromGroupRTgt from the managed object store.
Definition: MappingRuleFromGroupRTgt.hpp:210
static boost::optional< boost::shared_ptr< modelgbp::span::MemberFromRefRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of MemberFromRefRTgt from the managed object store.
Definition: MemberFromRefRTgt.hpp:210
boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroupToProvContractRSrc > > resolveGbpEpGroupToProvContractRSrc(const std::string &gbpEpGroupToProvContractRSrcTargetName)
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:591
modelgbp::gbp::EpGroup & setIntraGroupPolicy(const uint8_t newValue)
Set intraGroupPolicy to the specified value in the currently-active mutator.
Definition: EpGroup.hpp:109
static boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroupToSubnetsRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpGroupToSubnetsRSrc from the managed object store.
Definition: EpGroupToSubnetsRSrc.hpp:257
boost::shared_ptr< modelgbp::gbp::EpGroupToSubnetsRSrc > addGbpEpGroupToSubnetsRSrc()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:735
static boost::optional< boost::shared_ptr< modelgbp::gbp::L3ExternalNetworkFromNatEPGroupRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of L3ExternalNetworkFromNatEPGroupRTgt from the managed object store...
Definition: L3ExternalNetworkFromNatEPGroupRTgt.hpp:210
const uint8_t getIntraGroupPolicy(const uint8_t defaultValue)
Get the value of intraGroupPolicy if set, otherwise the value of default passed in.
Definition: EpGroup.hpp:96
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition: EpGroup.hpp:152
Definition: EpGroup.hpp:61
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: EpGroup.hpp:907
modelgbp::gbp::EpGroup & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition: EpGroup.hpp:165
boost::shared_ptr< modelgbp::gbp::EpGroupToNetworkRSrc > addGbpEpGroupToNetworkRSrc()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:568
boost::shared_ptr< modelgbp::epdr::EndPointFromGroupRTgt > addEpdrEndPointFromGroupRTgt(const std::string &epdrEndPointFromGroupRTgtSource)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:512
static boost::optional< boost::shared_ptr< modelgbp::epdr::EndPointFromGroupRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EndPointFromGroupRTgt from the managed object store.
Definition: EndPointFromGroupRTgt.hpp:210
void resolveGbpeMappingRuleFromGroupRTgt(std::vector< boost::shared_ptr< modelgbp::gbpe::MappingRuleFromGroupRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::MappingRuleFromGroupRTgt.
Definition: EpGroup.hpp:382
boost::shared_ptr< modelgbp::span::MemberFromRefRTgt > addSpanMemberFromRefRTgt(const std::string &spanMemberFromRefRTgtSource)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:452
modelgbp::gbp::EpGroup & unsetIntraGroupPolicy()
Unset intraGroupPolicy in the currently-active mutator.
Definition: EpGroup.hpp:121
boost::optional< boost::shared_ptr< modelgbp::epdr::EndPointFromGroupRTgt > > resolveEpdrEndPointFromGroupRTgt(const std::string &epdrEndPointFromGroupRTgtSource)
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:494
boost::shared_ptr< modelgbp::gbp::EpGroupToProvContractRSrc > addGbpEpGroupToProvContractRSrc(const std::string &gbpEpGroupToProvContractRSrcTargetName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:612
static boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroup > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpGroup from the managed object store using the default framework instance...
Definition: EpGroup.hpp:212
boost::shared_ptr< modelgbp::gbp::EpGroupToConsContractRSrc > addGbpEpGroupToConsContractRSrc(const std::string &gbpEpGroupToConsContractRSrcTargetName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:678
boost::optional< const uint8_t > getIntraGroupPolicy()
Get the value of intraGroupPolicy if it has been set.
Definition: EpGroup.hpp:84
EpGroup(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const boost::shared_ptr< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpGroup.
Definition: EpGroup.hpp:962
bool isIntraGroupPolicySet()
Check whether intraGroupPolicy has been set.
Definition: EpGroup.hpp:75
void resolveGbpEpGroupToConsContractRSrc(std::vector< boost::shared_ptr< modelgbp::gbp::EpGroupToConsContractRSrc > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbp::EpGroupToConsContractRSrc.
Definition: EpGroup.hpp:704
static boost::optional< boost::shared_ptr< modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingFromDefaultGroupRTgt from the managed object store.
Definition: EpgMappingFromDefaultGroupRTgt.hpp:210
boost::optional< boost::shared_ptr< modelgbp::gbpe::MappingRuleFromGroupRTgt > > resolveGbpeMappingRuleFromGroupRTgt(const std::string &gbpeMappingRuleFromGroupRTgtSource)
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:339
static boost::optional< boost::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
static boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroup > > resolve(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpEpGroupName)
Retrieve an instance of EpGroup from the managed object store by constructing its URI from the path e...
Definition: EpGroup.hpp:236
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition: EpGroup.hpp:140
boost::shared_ptr< modelgbp::gbpe::InstContext > addGbpeInstContext()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:413
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition: EpGroup.hpp:938
boost::shared_ptr< modelgbp::gbpe::MappingRuleFromGroupRTgt > addGbpeMappingRuleFromGroupRTgt(const std::string &gbpeMappingRuleFromGroupRTgtSource)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:357
void resolveSpanMemberFromRefRTgt(std::vector< boost::shared_ptr< modelgbp::span::MemberFromRefRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::span::MemberFromRefRTgt.
Definition: EpGroup.hpp:477
boost::optional< boost::shared_ptr< modelgbp::gbp::EpGroupToConsContractRSrc > > resolveGbpEpGroupToConsContractRSrc(const std::string &gbpEpGroupToConsContractRSrcTargetName)
Retrieve the child object with the specified naming properties.
Definition: EpGroup.hpp:657
void resolveGbpL3ExternalNetworkFromNatEPGroupRTgt(std::vector< boost::shared_ptr< modelgbp::gbp::L3ExternalNetworkFromNatEPGroupRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbp::L3ExternalNetworkFromNatEPG...
Definition: EpGroup.hpp:799
boost::shared_ptr< modelgbp::gbp::L3ExternalNetworkFromNatEPGroupRTgt > addGbpL3ExternalNetworkFromNatEPGroupRTgt(const std::string &gbpL3ExternalNetworkFromNatEPGroupRTgtSource)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: EpGroup.hpp:774