11#ifndef GI_EPDR_LOCALL3EP_HPP
12#define GI_EPDR_LOCALL3EP_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/gbpe/EpgMappingCtx.hpp"
24#include "modelgbp/epdr/EndPointToGroupRSrc.hpp"
28#include "modelgbp/epdr/EndPointToSecGroupRSrc.hpp"
34 :
public opflex::modb::mointernal::MO
41 static const opflex::modb::class_id_t
CLASS_ID = 110;
56 boost::optional<const std::string&>
getIp()
112 boost::optional<const opflex::modb::MAC&>
getMac()
207 getTLMutator().modify(
getClassId(),
getURI())->unset(3604481ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
222 static boost::optional<OF_SHARED_PTR<modelgbp::epdr::LocalL3Ep> >
resolve(
224 const opflex::modb::URI&
uri)
226 return opflex::modb::mointernal::MO::resolve<modelgbp::epdr::LocalL3Ep>(
framework,
CLASS_ID,
uri);
240 static boost::optional<OF_SHARED_PTR<modelgbp::epdr::LocalL3Ep> >
resolve(
241 const opflex::modb::URI&
uri)
243 return opflex::modb::mointernal::MO::resolve<modelgbp::epdr::LocalL3Ep>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
262 static boost::optional<OF_SHARED_PTR<modelgbp::epdr::LocalL3Ep> >
resolve(
284 static boost::optional<OF_SHARED_PTR<modelgbp::epdr::LocalL3Ep> >
resolve(
422 opflex::modb::mointernal::MO::resolveChildren<modelgbp::epdr::EndPointToSecGroupRSrc>(
450 const opflex::modb::URI&
uri)
467 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
524 opflex::modb::ObjectListener*
listener)
526 opflex::modb::mointernal
542 opflex::modb::ObjectListener*
listener)
555 opflex::modb::ObjectListener*
listener)
557 opflex::modb::mointernal
568 opflex::modb::ObjectListener*
listener)
579 const opflex::modb::URI&
uri,
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::EndPointToGroupRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EndPointToGroupRSrc from the managed object store.
Definition EndPointToGroupRSrc.hpp:257
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::EndPointToSecGroupRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EndPointToSecGroupRSrc from the managed object store.
Definition EndPointToSecGroupRSrc.hpp:257
Definition LocalL3Ep.hpp:35
OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtx > addGbpeEpgMappingCtx()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition LocalL3Ep.hpp:315
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 LocalL3Ep.hpp:124
static void remove(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL3EpUuid)
Remove the LocalL3Ep object with the specified path elements from the managed object store.
Definition LocalL3Ep.hpp:484
boost::optional< const std::string & > getUuid()
Get the value of uuid if it has been set.
Definition LocalL3Ep.hpp:168
modelgbp::epdr::LocalL3Ep & unsetMac()
Unset mac in the currently-active mutator.
Definition LocalL3Ep.hpp:149
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 LocalL3Ep.hpp:522
modelgbp::epdr::LocalL3Ep & setMac(const opflex::modb::MAC &newValue)
Set mac to the specified value in the currently-active mutator.
Definition LocalL3Ep.hpp:137
modelgbp::epdr::LocalL3Ep & setIp(const std::string &newValue)
Set ip to the specified value in the currently-active mutator.
Definition LocalL3Ep.hpp:81
void remove()
Remove this instance using the currently-active mutator.
Definition LocalL3Ep.hpp:434
modelgbp::epdr::LocalL3Ep & unsetUuid()
Unset uuid in the currently-active mutator.
Definition LocalL3Ep.hpp:205
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::LocalL3Ep > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of LocalL3Ep from the managed object store using the default framework instance.
Definition LocalL3Ep.hpp:240
bool isMacSet()
Check whether mac has been set.
Definition LocalL3Ep.hpp:103
boost::optional< const std::string & > getIp()
Get the value of ip if it has been set.
Definition LocalL3Ep.hpp:56
modelgbp::epdr::LocalL3Ep & unsetIp()
Unset ip in the currently-active mutator.
Definition LocalL3Ep.hpp:93
static void remove(const std::string &epdrLocalL3EpUuid)
Remove the LocalL3Ep object with the specified path elements from the managed object store using the ...
Definition LocalL3Ep.hpp:505
boost::optional< OF_SHARED_PTR< modelgbp::epdr::EndPointToGroupRSrc > > resolveEpdrEndPointToGroupRSrc()
Retrieve the child object with the specified naming properties.
Definition LocalL3Ep.hpp:334
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::LocalL3Ep > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of LocalL3Ep from the managed object store.
Definition LocalL3Ep.hpp:222
OF_SHARED_PTR< modelgbp::epdr::EndPointToSecGroupRSrc > addEpdrEndPointToSecGroupRSrc(const std::string &epdrEndPointToSecGroupRSrcTargetName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition LocalL3Ep.hpp:394
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::LocalL3Ep > > resolve(const std::string &epdrLocalL3EpUuid)
Retrieve an instance of LocalL3Ep from the default managed object store by constructing its URI from ...
Definition LocalL3Ep.hpp:284
bool isUuidSet()
Check whether uuid has been set.
Definition LocalL3Ep.hpp:159
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the LocalL3Ep object with the specified URI using the currently-active mutator.
Definition LocalL3Ep.hpp:449
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtx > > resolveGbpeEpgMappingCtx()
Retrieve the child object with the specified naming properties.
Definition LocalL3Ep.hpp:299
void resolveEpdrEndPointToSecGroupRSrc(std::vector< OF_SHARED_PTR< modelgbp::epdr::EndPointToSecGroupRSrc > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::epdr::EndPointToSecGroupRSrc.
Definition LocalL3Ep.hpp:420
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition LocalL3Ep.hpp:553
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition LocalL3Ep.hpp:567
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 LocalL3Ep.hpp:541
LocalL3Ep(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of LocalL3Ep.
Definition LocalL3Ep.hpp:577
bool isIpSet()
Check whether ip has been set.
Definition LocalL3Ep.hpp:47
static void remove(const opflex::modb::URI &uri)
Remove the LocalL3Ep object with the specified URI using the currently-active mutator and the default...
Definition LocalL3Ep.hpp:465
const std::string & getIp(const std::string &defaultValue)
Get the value of ip if set, otherwise the value of default passed in.
Definition LocalL3Ep.hpp:68
OF_SHARED_PTR< modelgbp::epdr::EndPointToGroupRSrc > addEpdrEndPointToGroupRSrc()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition LocalL3Ep.hpp:350
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::LocalL3Ep > > resolve(opflex::ofcore::OFFramework &framework, const std::string &epdrLocalL3EpUuid)
Retrieve an instance of LocalL3Ep from the managed object store by constructing its URI from the path...
Definition LocalL3Ep.hpp:262
const std::string & getUuid(const std::string &defaultValue)
Get the value of uuid if set, otherwise the value of default passed in.
Definition LocalL3Ep.hpp:180
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for LocalL3Ep.
Definition LocalL3Ep.hpp:41
boost::optional< OF_SHARED_PTR< modelgbp::epdr::EndPointToSecGroupRSrc > > resolveEpdrEndPointToSecGroupRSrc(const std::string &epdrEndPointToSecGroupRSrcTargetName)
Retrieve the child object with the specified naming properties.
Definition LocalL3Ep.hpp:373
boost::optional< const opflex::modb::MAC & > getMac()
Get the value of mac if it has been set.
Definition LocalL3Ep.hpp:112
modelgbp::epdr::LocalL3Ep & setUuid(const std::string &newValue)
Set uuid to the specified value in the currently-active mutator.
Definition LocalL3Ep.hpp:193
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtx > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingCtx from the managed object store.
Definition EpgMappingCtx.hpp:50
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12