11 #ifndef GI_INV_LOCALINVENTORYEP_HPP 12 #define GI_INV_LOCALINVENTORYEP_HPP 14 #include <boost/optional.hpp> 15 #include "opflex/modb/URIBuilder.h" 16 #include "opflex/modb/mo-internal/MO.h" 20 #include "modelgbp/inv/LocalInventoryEpToGroupRSrc.hpp" 24 #include "modelgbp/inv/LocalInventoryEpToSecGroupRSrc.hpp" 28 #include "modelgbp/inv/Ip.hpp" 32 #include "modelgbp/inv/IpMapping.hpp" 36 #include "modelgbp/inv/Interface.hpp" 40 #include "modelgbp/inv/DHCPv4Config.hpp" 44 #include "modelgbp/inv/DHCPv6Config.hpp" 48 #include "modelgbp/inv/Attribute.hpp" 54 :
public opflex::modb::mointernal::MO
61 static const opflex::modb::class_id_t
CLASS_ID = 116;
69 return getObjectInstance().isSet(3801092ul, opflex::modb::PropertyInfo::U64);
79 return (uint16_t)getObjectInstance().getUInt64(3801092ul);
103 getTLMutator().modify(getClassId(), getURI())->setUInt64(3801092ul, newValue);
115 getTLMutator().modify(getClassId(), getURI())->unset(3801092ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
125 return getObjectInstance().isSet(3801094ul, opflex::modb::PropertyInfo::ENUM8);
135 return (
const uint8_t)getObjectInstance().getUInt64(3801094ul);
159 getTLMutator().modify(getClassId(), getURI())->setUInt64(3801094ul, newValue);
171 getTLMutator().modify(getClassId(), getURI())->unset(3801094ul, opflex::modb::PropertyInfo::ENUM8, opflex::modb::PropertyInfo::SCALAR);
181 return getObjectInstance().isSet(3801091ul, opflex::modb::PropertyInfo::STRING);
191 return getObjectInstance().getString(3801091ul);
215 getTLMutator().modify(getClassId(), getURI())->setString(3801091ul, newValue);
227 getTLMutator().modify(getClassId(), getURI())->unset(3801091ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
237 return getObjectInstance().isSet(3801093ul, opflex::modb::PropertyInfo::ENUM8);
247 return (
const uint8_t)getObjectInstance().getUInt64(3801093ul);
271 getTLMutator().modify(getClassId(), getURI())->setUInt64(3801093ul, newValue);
283 getTLMutator().modify(getClassId(), getURI())->unset(3801093ul, opflex::modb::PropertyInfo::ENUM8, opflex::modb::PropertyInfo::SCALAR);
293 return getObjectInstance().isSet(3801090ul, opflex::modb::PropertyInfo::MAC);
300 boost::optional<const opflex::modb::MAC&>
getMac()
303 return getObjectInstance().getMAC(3801090ul);
312 const opflex::modb::MAC&
getMac(
const opflex::modb::MAC& defaultValue)
314 return getMac().get_value_or(defaultValue);
327 getTLMutator().modify(getClassId(), getURI())->setMAC(3801090ul, newValue);
339 getTLMutator().modify(getClassId(), getURI())->unset(3801090ul, opflex::modb::PropertyInfo::MAC, opflex::modb::PropertyInfo::SCALAR);
349 return getObjectInstance().isSet(3801089ul, opflex::modb::PropertyInfo::STRING);
359 return getObjectInstance().getString(3801089ul);
368 const std::string&
getUuid(
const std::string& defaultValue)
370 return getUuid().get_value_or(defaultValue);
383 getTLMutator().modify(getClassId(), getURI())->setString(3801089ul, newValue);
395 getTLMutator().modify(getClassId(), getURI())->unset(3801089ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
410 static boost::optional<OF_SHARED_PTR<modelgbp::inv::LocalInventoryEp> >
resolve(
411 opflex::ofcore::OFFramework& framework,
412 const opflex::modb::URI& uri)
414 return opflex::modb::mointernal::MO::resolve<modelgbp::inv::LocalInventoryEp>(framework,
CLASS_ID, uri);
428 static boost::optional<OF_SHARED_PTR<modelgbp::inv::LocalInventoryEp> >
resolve(
429 const opflex::modb::URI& uri)
431 return opflex::modb::mointernal::MO::resolve<modelgbp::inv::LocalInventoryEp>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID, uri);
452 static boost::optional<OF_SHARED_PTR<modelgbp::inv::LocalInventoryEp> >
resolve(
453 opflex::ofcore::OFFramework& framework,
454 const std::string& invLocalEndpointInventoryName,
455 const std::string& invLocalInventoryEpUuid)
457 return resolve(framework,opflex::modb::URIBuilder().addElement(
"InvUniverse").addElement(
"InvLocalEndpointInventory").addElement(invLocalEndpointInventoryName).addElement(
"InvLocalInventoryEp").addElement(invLocalInventoryEpUuid).build());
477 static boost::optional<OF_SHARED_PTR<modelgbp::inv::LocalInventoryEp> >
resolve(
478 const std::string& invLocalEndpointInventoryName,
479 const std::string& invLocalInventoryEpUuid)
481 return resolve(opflex::ofcore::OFFramework::defaultInstance(),invLocalEndpointInventoryName,invLocalInventoryEpUuid);
512 OF_SHARED_PTR<modelgbp::inv::LocalInventoryEpToGroupRSrc> result = addChild<modelgbp::inv::LocalInventoryEpToGroupRSrc>(
513 CLASS_ID, getURI(), 2151284853ul, 117,
514 opflex::modb::URIBuilder(getURI()).addElement(
"InvLocalInventoryEpToGroupRSrc").build()
533 const std::string& invLocalInventoryEpToSecGroupRSrcTargetName)
535 opflex::modb::class_id_t invLocalInventoryEpToSecGroupRSrcTargetClass = 203;
536 return modelgbp::inv::LocalInventoryEpToSecGroupRSrc::resolve(getFramework(), opflex::modb::URIBuilder(getURI()).addElement(
"InvLocalInventoryEpToSecGroupRSrc").addElement(invLocalInventoryEpToSecGroupRSrcTargetClass).addElement(invLocalInventoryEpToSecGroupRSrcTargetName).build());
554 const std::string& invLocalInventoryEpToSecGroupRSrcTargetName)
556 opflex::modb::class_id_t invLocalInventoryEpToSecGroupRSrcTargetClass = 203;
557 OF_SHARED_PTR<modelgbp::inv::LocalInventoryEpToSecGroupRSrc> result = addChild<modelgbp::inv::LocalInventoryEpToSecGroupRSrc>(
558 CLASS_ID, getURI(), 2151284856ul, 120,
559 opflex::modb::URIBuilder(getURI()).addElement(
"InvLocalInventoryEpToSecGroupRSrc").addElement(invLocalInventoryEpToSecGroupRSrcTargetClass).addElement(invLocalInventoryEpToSecGroupRSrcTargetName).build()
561 result->setTargetSecGroup(opflex::modb::URI(invLocalInventoryEpToSecGroupRSrcTargetName));
581 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::LocalInventoryEpToSecGroupRSrc>(
582 getFramework(),
CLASS_ID, getURI(), 2151284856ul, 120, out);
599 const std::string& invIpIp,
600 const std::string& invIpType)
602 return modelgbp::inv::Ip::resolve(getFramework(), opflex::modb::URIBuilder(getURI()).addElement(
"InvIp").addElement(invIpIp).addElement(invIpType).build());
620 const std::string& invIpIp,
621 const std::string& invIpType)
623 OF_SHARED_PTR<modelgbp::inv::Ip> result = addChild<modelgbp::inv::Ip>(
624 CLASS_ID, getURI(), 2151284859ul, 123,
625 opflex::modb::URIBuilder(getURI()).addElement(
"InvIp").addElement(invIpIp).addElement(invIpType).build()
627 result->setIp(invIpIp);
628 result->setType(invIpType);
646 void resolveInvIp( std::vector<OF_SHARED_PTR<modelgbp::inv::Ip> >& out)
648 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::Ip>(
649 getFramework(),
CLASS_ID, getURI(), 2151284859ul, 123, out);
664 const std::string& invIpMappingName)
682 const std::string& invIpMappingName)
684 OF_SHARED_PTR<modelgbp::inv::IpMapping> result = addChild<modelgbp::inv::IpMapping>(
685 CLASS_ID, getURI(), 2151284860ul, 124,
686 opflex::modb::URIBuilder(getURI()).addElement(
"InvIpMapping").addElement(invIpMappingName).build()
688 result->setName(invIpMappingName);
708 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::IpMapping>(
709 getFramework(),
CLASS_ID, getURI(), 2151284860ul, 124, out);
726 const std::string& invInterfaceName,
727 const std::string& invInterfaceType)
729 return modelgbp::inv::Interface::resolve(getFramework(), opflex::modb::URIBuilder(getURI()).addElement(
"InvInterface").addElement(invInterfaceName).addElement(invInterfaceType).build());
747 const std::string& invInterfaceName,
748 const std::string& invInterfaceType)
750 OF_SHARED_PTR<modelgbp::inv::Interface> result = addChild<modelgbp::inv::Interface>(
751 CLASS_ID, getURI(), 2151284864ul, 128,
752 opflex::modb::URIBuilder(getURI()).addElement(
"InvInterface").addElement(invInterfaceName).addElement(invInterfaceType).build()
754 result->setName(invInterfaceName);
755 result->setType(invInterfaceType);
775 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::Interface>(
776 getFramework(),
CLASS_ID, getURI(), 2151284864ul, 128, out);
807 OF_SHARED_PTR<modelgbp::inv::DHCPv4Config> result = addChild<modelgbp::inv::DHCPv4Config>(
808 CLASS_ID, getURI(), 2151284866ul, 130,
809 opflex::modb::URIBuilder(getURI()).addElement(
"InvDHCPv4Config").build()
842 OF_SHARED_PTR<modelgbp::inv::DHCPv6Config> result = addChild<modelgbp::inv::DHCPv6Config>(
843 CLASS_ID, getURI(), 2151284870ul, 134,
844 opflex::modb::URIBuilder(getURI()).addElement(
"InvDHCPv6Config").build()
861 const std::string& invAttributeName)
879 const std::string& invAttributeName)
881 OF_SHARED_PTR<modelgbp::inv::Attribute> result = addChild<modelgbp::inv::Attribute>(
882 CLASS_ID, getURI(), 2151284872ul, 136,
883 opflex::modb::URIBuilder(getURI()).addElement(
"InvAttribute").addElement(invAttributeName).build()
885 result->setName(invAttributeName);
905 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::Attribute>(
906 getFramework(),
CLASS_ID, getURI(), 2151284872ul, 136, out);
919 getTLMutator().remove(
CLASS_ID, getURI());
932 static void remove(opflex::ofcore::OFFramework& framework,
933 const opflex::modb::URI& uri)
935 MO::remove(framework,
CLASS_ID, uri);
948 static void remove(
const opflex::modb::URI& uri)
950 remove(opflex::ofcore::OFFramework::defaultInstance(), uri);
970 opflex::ofcore::OFFramework& framework,
971 const std::string& invLocalEndpointInventoryName,
972 const std::string& invLocalInventoryEpUuid)
974 MO::remove(framework,
CLASS_ID, opflex::modb::URIBuilder().addElement(
"InvUniverse").addElement(
"InvLocalEndpointInventory").addElement(invLocalEndpointInventoryName).addElement(
"InvLocalInventoryEp").addElement(invLocalInventoryEpUuid).build());
994 const std::string& invLocalEndpointInventoryName,
995 const std::string& invLocalInventoryEpUuid)
997 remove(opflex::ofcore::OFFramework::defaultInstance(),invLocalEndpointInventoryName,invLocalInventoryEpUuid);
1012 opflex::ofcore::OFFramework& framework,
1013 opflex::modb::ObjectListener* listener)
1015 opflex::modb::mointernal
1016 ::MO::registerListener(framework, listener,
CLASS_ID);
1031 opflex::modb::ObjectListener* listener)
1033 registerListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
1043 opflex::ofcore::OFFramework& framework,
1044 opflex::modb::ObjectListener* listener)
1046 opflex::modb::mointernal
1047 ::MO::unregisterListener(framework, listener,
CLASS_ID);
1057 opflex::modb::ObjectListener* listener)
1067 opflex::ofcore::OFFramework& framework,
1068 const opflex::modb::URI& uri,
1069 const OF_SHARED_PTR<const opflex::modb::mointernal::ObjectInstance>& oi)
1070 : MO(framework,
CLASS_ID, uri, oi) { }
1075 #endif // GI_INV_LOCALINVENTORYEP_HPP boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpToGroupRSrc > > resolveInvLocalInventoryEpToGroupRSrc()
Retrieve the child object with the specified naming properties.
Definition: LocalInventoryEp.hpp:493
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEp > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of LocalInventoryEp from the managed object store using the default framework in...
Definition: LocalInventoryEp.hpp:428
void resolveInvIp(std::vector< OF_SHARED_PTR< modelgbp::inv::Ip > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::inv::Ip.
Definition: LocalInventoryEp.hpp:646
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpToGroupRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of LocalInventoryEpToGroupRSrc from the managed object store.
Definition: LocalInventoryEpToGroupRSrc.hpp:257
modelgbp::inv::LocalInventoryEp & setMac(const opflex::modb::MAC &newValue)
Set mac to the specified value in the currently-active mutator.
Definition: LocalInventoryEp.hpp:325
static boost::optional< OF_SHARED_PTR< modelgbp::inv::Interface > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of Interface from the managed object store.
Definition: Interface.hpp:154
boost::optional< const uint8_t > getDiscoveryMode()
Get the value of discoveryMode if it has been set.
Definition: LocalInventoryEp.hpp:132
OF_SHARED_PTR< modelgbp::inv::Interface > addInvInterface(const std::string &invInterfaceName, const std::string &invInterfaceType)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: LocalInventoryEp.hpp:746
boost::optional< OF_SHARED_PTR< modelgbp::inv::DHCPv6Config > > resolveInvDHCPv6Config()
Retrieve the child object with the specified naming properties.
Definition: LocalInventoryEp.hpp:823
bool isUuidSet()
Check whether uuid has been set.
Definition: LocalInventoryEp.hpp:347
OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpToSecGroupRSrc > addInvLocalInventoryEpToSecGroupRSrc(const std::string &invLocalInventoryEpToSecGroupRSrcTargetName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: LocalInventoryEp.hpp:553
modelgbp::inv::LocalInventoryEp & setDiscoveryMode(const uint8_t newValue)
Set discoveryMode to the specified value in the currently-active mutator.
Definition: LocalInventoryEp.hpp:157
const uint8_t getIfaceSecurity(const uint8_t defaultValue)
Get the value of ifaceSecurity if set, otherwise the value of default passed in.
Definition: LocalInventoryEp.hpp:256
const uint8_t getDiscoveryMode(const uint8_t defaultValue)
Get the value of discoveryMode if set, otherwise the value of default passed in.
Definition: LocalInventoryEp.hpp:144
boost::optional< OF_SHARED_PTR< modelgbp::inv::DHCPv4Config > > resolveInvDHCPv4Config()
Retrieve the child object with the specified naming properties.
Definition: LocalInventoryEp.hpp:788
modelgbp::inv::LocalInventoryEp & setIfaceSecurity(const uint8_t newValue)
Set ifaceSecurity to the specified value in the currently-active mutator.
Definition: LocalInventoryEp.hpp:269
uint16_t getAccessVlan(uint16_t defaultValue)
Get the value of accessVlan if set, otherwise the value of default passed in.
Definition: LocalInventoryEp.hpp:88
bool isAccessVlanSet()
Check whether accessVlan has been set.
Definition: LocalInventoryEp.hpp:67
boost::optional< OF_SHARED_PTR< modelgbp::inv::IpMapping > > resolveInvIpMapping(const std::string &invIpMappingName)
Retrieve the child object with the specified naming properties.
Definition: LocalInventoryEp.hpp:663
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition: LocalInventoryEp.hpp:1042
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEp > > resolve(const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid)
Retrieve an instance of LocalInventoryEp from the default managed object store by constructing its UR...
Definition: LocalInventoryEp.hpp:477
modelgbp::inv::LocalInventoryEp & unsetEgMappingAlias()
Unset egMappingAlias in the currently-active mutator.
Definition: LocalInventoryEp.hpp:225
bool isDiscoveryModeSet()
Check whether discoveryMode has been set.
Definition: LocalInventoryEp.hpp:123
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpToSecGroupRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of LocalInventoryEpToSecGroupRSrc from the managed object store.
Definition: LocalInventoryEpToSecGroupRSrc.hpp:257
modelgbp::inv::LocalInventoryEp & unsetAccessVlan()
Unset accessVlan in the currently-active mutator.
Definition: LocalInventoryEp.hpp:113
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for LocalInventoryEp.
Definition: LocalInventoryEp.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: LocalInventoryEp.hpp:1011
modelgbp::inv::LocalInventoryEp & unsetIfaceSecurity()
Unset ifaceSecurity in the currently-active mutator.
Definition: LocalInventoryEp.hpp:281
boost::optional< OF_SHARED_PTR< modelgbp::inv::Ip > > resolveInvIp(const std::string &invIpIp, const std::string &invIpType)
Retrieve the child object with the specified naming properties.
Definition: LocalInventoryEp.hpp:598
static boost::optional< OF_SHARED_PTR< modelgbp::inv::Attribute > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of Attribute from the managed object store.
Definition: Attribute.hpp:154
bool isIfaceSecuritySet()
Check whether ifaceSecurity has been set.
Definition: LocalInventoryEp.hpp:235
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DHCPv4Config > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of DHCPv4Config from the managed object store.
Definition: DHCPv4Config.hpp:390
const opflex::modb::MAC & getMac(const opflex::modb::MAC &defaultValue)
Get the value of mac if set, otherwise the value of default passed in.
Definition: LocalInventoryEp.hpp:312
OF_SHARED_PTR< modelgbp::inv::DHCPv6Config > addInvDHCPv6Config()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: LocalInventoryEp.hpp:839
Definition: LocalInventoryEp.hpp:53
OF_SHARED_PTR< modelgbp::inv::Ip > addInvIp(const std::string &invIpIp, const std::string &invIpType)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: LocalInventoryEp.hpp:619
static boost::optional< OF_SHARED_PTR< modelgbp::inv::IpMapping > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of IpMapping from the managed object store.
Definition: IpMapping.hpp:326
modelgbp::inv::LocalInventoryEp & unsetUuid()
Unset uuid in the currently-active mutator.
Definition: LocalInventoryEp.hpp:393
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEp > > resolve(opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid)
Retrieve an instance of LocalInventoryEp from the managed object store by constructing its URI from t...
Definition: LocalInventoryEp.hpp:452
OF_SHARED_PTR< modelgbp::inv::DHCPv4Config > addInvDHCPv4Config()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: LocalInventoryEp.hpp:804
void resolveInvInterface(std::vector< OF_SHARED_PTR< modelgbp::inv::Interface > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::inv::Interface.
Definition: LocalInventoryEp.hpp:773
void resolveInvIpMapping(std::vector< OF_SHARED_PTR< modelgbp::inv::IpMapping > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::inv::IpMapping.
Definition: LocalInventoryEp.hpp:706
OF_SHARED_PTR< modelgbp::inv::IpMapping > addInvIpMapping(const std::string &invIpMappingName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: LocalInventoryEp.hpp:681
void resolveInvAttribute(std::vector< OF_SHARED_PTR< modelgbp::inv::Attribute > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::inv::Attribute.
Definition: LocalInventoryEp.hpp:903
modelgbp::inv::LocalInventoryEp & unsetDiscoveryMode()
Unset discoveryMode in the currently-active mutator.
Definition: LocalInventoryEp.hpp:169
boost::optional< const std::string & > getEgMappingAlias()
Get the value of egMappingAlias if it has been set.
Definition: LocalInventoryEp.hpp:188
modelgbp::inv::LocalInventoryEp & setAccessVlan(uint16_t newValue)
Set accessVlan to the specified value in the currently-active mutator.
Definition: LocalInventoryEp.hpp:101
bool isEgMappingAliasSet()
Check whether egMappingAlias has been set.
Definition: LocalInventoryEp.hpp:179
OF_SHARED_PTR< modelgbp::inv::Attribute > addInvAttribute(const std::string &invAttributeName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: LocalInventoryEp.hpp:878
bool isMacSet()
Check whether mac has been set.
Definition: LocalInventoryEp.hpp:291
void resolveInvLocalInventoryEpToSecGroupRSrc(std::vector< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpToSecGroupRSrc > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::inv::LocalInventoryEpToSecGroupR...
Definition: LocalInventoryEp.hpp:579
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEp > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of LocalInventoryEp from the managed object store.
Definition: LocalInventoryEp.hpp:410
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: LocalInventoryEp.hpp:1030
boost::optional< OF_SHARED_PTR< modelgbp::inv::Interface > > resolveInvInterface(const std::string &invInterfaceName, const std::string &invInterfaceType)
Retrieve the child object with the specified naming properties.
Definition: LocalInventoryEp.hpp:725
boost::optional< const std::string & > getUuid()
Get the value of uuid if it has been set.
Definition: LocalInventoryEp.hpp:356
modelgbp::inv::LocalInventoryEp & setUuid(const std::string &newValue)
Set uuid to the specified value in the currently-active mutator.
Definition: LocalInventoryEp.hpp:381
boost::optional< uint16_t > getAccessVlan()
Get the value of accessVlan if it has been set.
Definition: LocalInventoryEp.hpp:76
OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpToGroupRSrc > addInvLocalInventoryEpToGroupRSrc()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition: LocalInventoryEp.hpp:509
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DHCPv6Config > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of DHCPv6Config from the managed object store.
Definition: DHCPv6Config.hpp:274
boost::optional< OF_SHARED_PTR< modelgbp::inv::Attribute > > resolveInvAttribute(const std::string &invAttributeName)
Retrieve the child object with the specified naming properties.
Definition: LocalInventoryEp.hpp:860
LocalInventoryEp(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of LocalInventoryEp.
Definition: LocalInventoryEp.hpp:1066
const std::string & getEgMappingAlias(const std::string &defaultValue)
Get the value of egMappingAlias if set, otherwise the value of default passed in. ...
Definition: LocalInventoryEp.hpp:200
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition: LocalInventoryEp.hpp:1056
modelgbp::inv::LocalInventoryEp & setEgMappingAlias(const std::string &newValue)
Set egMappingAlias to the specified value in the currently-active mutator.
Definition: LocalInventoryEp.hpp:213
boost::optional< const opflex::modb::MAC & > getMac()
Get the value of mac if it has been set.
Definition: LocalInventoryEp.hpp:300
SOME COPYRIGHT.
Definition: OpcodeEnumT.hpp:12
const std::string & getUuid(const std::string &defaultValue)
Get the value of uuid if set, otherwise the value of default passed in.
Definition: LocalInventoryEp.hpp:368
static boost::optional< OF_SHARED_PTR< modelgbp::inv::Ip > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of Ip from the managed object store.
Definition: Ip.hpp:210
boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpToSecGroupRSrc > > resolveInvLocalInventoryEpToSecGroupRSrc(const std::string &invLocalInventoryEpToSecGroupRSrcTargetName)
Retrieve the child object with the specified naming properties.
Definition: LocalInventoryEp.hpp:532
modelgbp::inv::LocalInventoryEp & unsetMac()
Unset mac in the currently-active mutator.
Definition: LocalInventoryEp.hpp:337
boost::optional< const uint8_t > getIfaceSecurity()
Get the value of ifaceSecurity if it has been set.
Definition: LocalInventoryEp.hpp:244