11#ifndef GI_DMTREE_ROOT_HPP
12#define GI_DMTREE_ROOT_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/relator/Universe.hpp"
24#include "modelgbp/gbpe/VMUniverse.hpp"
28#include "modelgbp/gbpe/TunnelEpUniverse.hpp"
32#include "modelgbp/domain/Config.hpp"
36#include "modelgbp/dci/Universe.hpp"
40#include "modelgbp/dci/Discoverer.hpp"
44#include "modelgbp/epdr/L2Discovered.hpp"
48#include "modelgbp/epdr/L3Discovered.hpp"
52#include "modelgbp/inv/Universe.hpp"
56#include "modelgbp/epr/L2Universe.hpp"
60#include "modelgbp/epr/L3Universe.hpp"
64#include "modelgbp/observer/EpStatUniverse.hpp"
68#include "modelgbp/observer/PolicyStatUniverse.hpp"
72#include "modelgbp/policy/Universe.hpp"
78 :
public opflex::modb::mointernal::MO
85 static const opflex::modb::class_id_t
CLASS_ID = 1;
98 return opflex::modb::mointernal::MO::createRootElement<modelgbp::dmtree::Root>(
framework,
CLASS_ID);
125 static boost::optional<OF_SHARED_PTR<modelgbp::dmtree::Root> >
resolve(
127 const opflex::modb::URI&
uri)
143 static boost::optional<OF_SHARED_PTR<modelgbp::dmtree::Root> >
resolve(
144 const opflex::modb::URI&
uri)
146 return opflex::modb::mointernal::MO::resolve<modelgbp::dmtree::Root>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
663 const opflex::modb::URI&
uri)
680 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
696 opflex::modb::ObjectListener*
listener)
698 opflex::modb::mointernal
714 opflex::modb::ObjectListener*
listener)
727 opflex::modb::ObjectListener*
listener)
729 opflex::modb::mointernal
740 opflex::modb::ObjectListener*
listener)
751 const opflex::modb::URI&
uri,
static boost::optional< OF_SHARED_PTR< modelgbp::dci::Discoverer > > resolve()
Retrieve an instance of Discoverer from the default managed object store by constructing its URI from...
Definition Discoverer.hpp:167
static boost::optional< OF_SHARED_PTR< modelgbp::dci::Universe > > resolve()
Retrieve an instance of Universe from the default managed object store by constructing its URI from t...
Definition dci/Universe.hpp:163
static boost::optional< OF_SHARED_PTR< modelgbp::dmtree::Root > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of Root from the managed object store using the default framework instance.
Definition Root.hpp:143
OF_SHARED_PTR< modelgbp::policy::Universe > addPolicyUniverse()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:629
boost::optional< OF_SHARED_PTR< modelgbp::epr::L3Universe > > resolveEprL3Universe()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:508
static boost::optional< OF_SHARED_PTR< modelgbp::dmtree::Root > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of Root from the managed object store.
Definition Root.hpp:125
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::VMUniverse > > resolveGbpeVMUniverse()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:193
OF_SHARED_PTR< modelgbp::observer::EpStatUniverse > addObserverEpStatUniverse()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:559
boost::optional< OF_SHARED_PTR< modelgbp::epdr::L2Discovered > > resolveEpdrL2Discovered()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:368
boost::optional< OF_SHARED_PTR< modelgbp::dci::Universe > > resolveDciUniverse()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:298
OF_SHARED_PTR< modelgbp::epdr::L2Discovered > addEpdrL2Discovered()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:384
boost::optional< OF_SHARED_PTR< modelgbp::epr::L2Universe > > resolveEprL2Universe()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:473
OF_SHARED_PTR< modelgbp::dci::Discoverer > addDciDiscoverer()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:349
static OF_SHARED_PTR< modelgbp::dmtree::Root > createRootElement()
Create an instance of Root, the root element in the management information tree, for the default fram...
Definition Root.hpp:109
boost::optional< OF_SHARED_PTR< modelgbp::inv::Universe > > resolveInvUniverse()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:438
OF_SHARED_PTR< modelgbp::gbpe::VMUniverse > addGbpeVMUniverse()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:209
boost::optional< OF_SHARED_PTR< modelgbp::policy::Universe > > resolvePolicyUniverse()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:613
OF_SHARED_PTR< modelgbp::relator::Universe > addRelatorUniverse()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:174
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition Root.hpp:739
boost::optional< OF_SHARED_PTR< modelgbp::observer::EpStatUniverse > > resolveObserverEpStatUniverse()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:543
OF_SHARED_PTR< modelgbp::dci::Universe > addDciUniverse()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:314
boost::optional< OF_SHARED_PTR< modelgbp::domain::Config > > resolveDomainConfig()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:263
OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > addObserverPolicyStatUniverse()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:594
boost::optional< OF_SHARED_PTR< modelgbp::dci::Discoverer > > resolveDciDiscoverer()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:333
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the Root object with the specified URI using the currently-active mutator.
Definition Root.hpp:662
OF_SHARED_PTR< modelgbp::epdr::L3Discovered > addEpdrL3Discovered()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:419
OF_SHARED_PTR< modelgbp::epr::L3Universe > addEprL3Universe()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:524
Root(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of Root.
Definition Root.hpp:749
OF_SHARED_PTR< modelgbp::gbpe::TunnelEpUniverse > addGbpeTunnelEpUniverse()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:244
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for Root.
Definition Root.hpp:85
boost::optional< OF_SHARED_PTR< modelgbp::relator::Universe > > resolveRelatorUniverse()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:158
void remove()
Remove this instance using the currently-active mutator.
Definition Root.hpp:647
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 Root.hpp:694
OF_SHARED_PTR< modelgbp::epr::L2Universe > addEprL2Universe()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:489
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition Root.hpp:725
static void remove(const opflex::modb::URI &uri)
Remove the Root object with the specified URI using the currently-active mutator and the default fram...
Definition Root.hpp:678
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::TunnelEpUniverse > > resolveGbpeTunnelEpUniverse()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:228
static OF_SHARED_PTR< modelgbp::dmtree::Root > createRootElement(opflex::ofcore::OFFramework &framework)
Create an instance of Root, the root element in the management information tree, for the given framew...
Definition Root.hpp:96
boost::optional< OF_SHARED_PTR< modelgbp::epdr::L3Discovered > > resolveEpdrL3Discovered()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:403
OF_SHARED_PTR< modelgbp::domain::Config > addDomainConfig()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:279
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 Root.hpp:713
boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > resolveObserverPolicyStatUniverse()
Retrieve the child object with the specified naming properties.
Definition Root.hpp:578
OF_SHARED_PTR< modelgbp::inv::Universe > addInvUniverse()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Root.hpp:454
static boost::optional< OF_SHARED_PTR< modelgbp::domain::Config > > resolve()
Retrieve an instance of Config from the default managed object store by constructing its URI from the...
Definition domain/Config.hpp:107
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::L2Discovered > > resolve()
Retrieve an instance of L2Discovered from the default managed object store by constructing its URI fr...
Definition L2Discovered.hpp:103
static boost::optional< OF_SHARED_PTR< modelgbp::epdr::L3Discovered > > resolve()
Retrieve an instance of L3Discovered from the default managed object store by constructing its URI fr...
Definition L3Discovered.hpp:103
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L2Universe > > resolve()
Retrieve an instance of L2Universe from the default managed object store by constructing its URI from...
Definition L2Universe.hpp:103
static boost::optional< OF_SHARED_PTR< modelgbp::epr::L3Universe > > resolve()
Retrieve an instance of L3Universe from the default managed object store by constructing its URI from...
Definition L3Universe.hpp:103
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::TunnelEpUniverse > > resolve()
Retrieve an instance of TunnelEpUniverse from the default managed object store by constructing its UR...
Definition TunnelEpUniverse.hpp:103
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::VMUniverse > > resolve()
Retrieve an instance of VMUniverse from the default managed object store by constructing its URI from...
Definition VMUniverse.hpp:107
static boost::optional< OF_SHARED_PTR< modelgbp::inv::Universe > > resolve()
Retrieve an instance of Universe from the default managed object store by constructing its URI from t...
Definition inv/Universe.hpp:103
static boost::optional< OF_SHARED_PTR< modelgbp::observer::EpStatUniverse > > resolve()
Retrieve an instance of EpStatUniverse from the default managed object store by constructing its URI ...
Definition EpStatUniverse.hpp:107
static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > resolve()
Retrieve an instance of PolicyStatUniverse from the default managed object store by constructing its ...
Definition PolicyStatUniverse.hpp:111
static boost::optional< OF_SHARED_PTR< modelgbp::policy::Universe > > resolve()
Retrieve an instance of Universe from the default managed object store by constructing its URI from t...
Definition policy/Universe.hpp:119
static boost::optional< OF_SHARED_PTR< modelgbp::relator::Universe > > resolve()
Retrieve an instance of Universe from the default managed object store by constructing its URI from t...
Definition relator/Universe.hpp:227
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12