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;
227 getTLMutator().modify(
getClassId(),
getURI())->unset(3801091ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
300 boost::optional<const opflex::modb::MAC&>
getMac()
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(
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(
477 static boost::optional<OF_SHARED_PTR<modelgbp::inv::LocalInventoryEp> >
resolve(
581 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::LocalInventoryEpToSecGroupRSrc>(
648 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::Ip>(
708 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::IpMapping>(
775 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::Interface>(
905 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::Attribute>(
933 const opflex::modb::URI&
uri)
950 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
1013 opflex::modb::ObjectListener*
listener)
1015 opflex::modb::mointernal
1031 opflex::modb::ObjectListener*
listener)
1044 opflex::modb::ObjectListener*
listener)
1046 opflex::modb::mointernal
1057 opflex::modb::ObjectListener*
listener)
1068 const opflex::modb::URI&
uri,
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
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
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
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
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
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
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
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
Definition LocalInventoryEp.hpp:55
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
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
bool isUuidSet()
Check whether uuid has been set.
Definition LocalInventoryEp.hpp:347
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
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
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
boost::optional< const uint8_t > getIfaceSecurity()
Get the value of ifaceSecurity if it has been set.
Definition LocalInventoryEp.hpp:244
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
boost::optional< const std::string & > getEgMappingAlias()
Get the value of egMappingAlias if it has been set.
Definition LocalInventoryEp.hpp:188
boost::optional< const uint8_t > getDiscoveryMode()
Get the value of discoveryMode if it has been set.
Definition LocalInventoryEp.hpp:132
static void remove(opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid)
Remove the LocalInventoryEp object with the specified path elements from the managed object store.
Definition LocalInventoryEp.hpp:969
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::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
modelgbp::inv::LocalInventoryEp & unsetEgMappingAlias()
Unset egMappingAlias in the currently-active mutator.
Definition LocalInventoryEp.hpp:225
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition LocalInventoryEp.hpp:1056
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
static void remove(const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid)
Remove the LocalInventoryEp object with the specified path elements from the managed object store usi...
Definition LocalInventoryEp.hpp:993
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
bool isMacSet()
Check whether mac has been set.
Definition LocalInventoryEp.hpp:291
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
bool isIfaceSecuritySet()
Check whether ifaceSecurity has been set.
Definition LocalInventoryEp.hpp:235
uint16_t getAccessVlan(uint16_t defaultValue)
Get the value of accessVlan if set, otherwise the value of default passed in.
Definition LocalInventoryEp.hpp:88
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
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the LocalInventoryEp object with the specified URI using the currently-active mutator.
Definition LocalInventoryEp.hpp:932
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
modelgbp::inv::LocalInventoryEp & unsetMac()
Unset mac in the currently-active mutator.
Definition LocalInventoryEp.hpp:337
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for LocalInventoryEp.
Definition LocalInventoryEp.hpp:61
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
bool isAccessVlanSet()
Check whether accessVlan has been set.
Definition LocalInventoryEp.hpp:67
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
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
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
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
modelgbp::inv::LocalInventoryEp & setAccessVlan(uint16_t newValue)
Set accessVlan to the specified value in the currently-active mutator.
Definition LocalInventoryEp.hpp:101
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< const std::string & > getUuid()
Get the value of uuid if it has been set.
Definition LocalInventoryEp.hpp:356
bool isEgMappingAliasSet()
Check whether egMappingAlias has been set.
Definition LocalInventoryEp.hpp:179
modelgbp::inv::LocalInventoryEp & unsetIfaceSecurity()
Unset ifaceSecurity in the currently-active mutator.
Definition LocalInventoryEp.hpp:281
modelgbp::inv::LocalInventoryEp & unsetAccessVlan()
Unset accessVlan in the currently-active mutator.
Definition LocalInventoryEp.hpp:113
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
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
modelgbp::inv::LocalInventoryEp & unsetDiscoveryMode()
Unset discoveryMode in the currently-active mutator.
Definition LocalInventoryEp.hpp:169
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
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
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
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
boost::optional< const opflex::modb::MAC & > getMac()
Get the value of mac if it has been set.
Definition LocalInventoryEp.hpp:300
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition LocalInventoryEp.hpp:1042
void remove()
Remove this instance using the currently-active mutator.
Definition LocalInventoryEp.hpp:917
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 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
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
boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpToGroupRSrc > > resolveInvLocalInventoryEpToGroupRSrc()
Retrieve the child object with the specified naming properties.
Definition LocalInventoryEp.hpp:493
modelgbp::inv::LocalInventoryEp & setIfaceSecurity(const uint8_t newValue)
Set ifaceSecurity to the specified value in the currently-active mutator.
Definition LocalInventoryEp.hpp:269
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 & setDiscoveryMode(const uint8_t newValue)
Set discoveryMode to the specified value in the currently-active mutator.
Definition LocalInventoryEp.hpp:157
boost::optional< OF_SHARED_PTR< modelgbp::inv::DHCPv6Config > > resolveInvDHCPv6Config()
Retrieve the child object with the specified naming properties.
Definition LocalInventoryEp.hpp:823
bool isDiscoveryModeSet()
Check whether discoveryMode has been set.
Definition LocalInventoryEp.hpp:123
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
modelgbp::inv::LocalInventoryEp & setMac(const opflex::modb::MAC &newValue)
Set mac to the specified value in the currently-active mutator.
Definition LocalInventoryEp.hpp:325
modelgbp::inv::LocalInventoryEp & setEgMappingAlias(const std::string &newValue)
Set egMappingAlias to the specified value in the currently-active mutator.
Definition LocalInventoryEp.hpp:213
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
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 void remove(const opflex::modb::URI &uri)
Remove the LocalInventoryEp object with the specified URI using the currently-active mutator and the ...
Definition LocalInventoryEp.hpp:948
modelgbp::inv::LocalInventoryEp & unsetUuid()
Unset uuid in the currently-active mutator.
Definition LocalInventoryEp.hpp:393
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12