11#ifndef GI_GBPE_ATTESTATION_HPP
12#define GI_GBPE_ATTESTATION_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
22 :
public opflex::modb::mointernal::MO
29 static const opflex::modb::class_id_t
CLASS_ID = 47;
44 boost::optional<const std::string&>
getName()
139 getTLMutator().modify(
getClassId(),
getURI())->unset(1540098ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
195 getTLMutator().modify(
getClassId(),
getURI())->unset(1540099ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
210 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::Attestation> >
resolve(
212 const opflex::modb::URI&
uri)
214 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::Attestation>(
framework,
CLASS_ID,
uri);
228 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::Attestation> >
resolve(
229 const opflex::modb::URI&
uri)
231 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::Attestation>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
532 const opflex::modb::URI&
uri)
549 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
824 opflex::modb::ObjectListener*
listener)
826 opflex::modb::mointernal
842 opflex::modb::ObjectListener*
listener)
855 opflex::modb::ObjectListener*
listener)
857 opflex::modb::mointernal
868 opflex::modb::ObjectListener*
listener)
879 const opflex::modb::URI&
uri,
Definition Attestation.hpp:23
modelgbp::gbpe::Attestation & setValidator(const std::string &newValue)
Set validator to the specified value in the currently-active mutator.
Definition Attestation.hpp:125
boost::optional< const std::string & > getValidatorMac()
Get the value of validatorMac if it has been set.
Definition Attestation.hpp:156
static void removeUnderEprL2UniverseEprL2EpEprL3Net(const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &eprL3NetIp, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store using th...
Definition Attestation.hpp:749
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of Attestation from the managed object store.
Definition Attestation.hpp:210
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderGbpeVMUniverseGbpeVMEp(opflex::ofcore::OFFramework &framework, const std::string &gbpeVMEpUuid, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the managed object store by constructing its URI from the pa...
Definition Attestation.hpp:252
modelgbp::gbpe::Attestation & unsetValidatorMac()
Unset validatorMac in the currently-active mutator.
Definition Attestation.hpp:193
static void removeUnderEprL3UniverseEprL3Ep(const std::string &eprL3EpContext, const std::string &eprL3EpIp, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store using th...
Definition Attestation.hpp:803
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition Attestation.hpp:56
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderGbpeTunnelEpUniverseGbpeTunnelEp(opflex::ofcore::OFFramework &framework, const std::string &gbpeTunnelEpUuid, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the managed object store by constructing its URI from the pa...
Definition Attestation.hpp:302
static void removeUnderGbpeTunnelEpUniverseGbpeTunnelEp(opflex::ofcore::OFFramework &framework, const std::string &gbpeTunnelEpUuid, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store.
Definition Attestation.hpp:615
static void removeUnderEprL3UniverseEprL3Ep(opflex::ofcore::OFFramework &framework, const std::string &eprL3EpContext, const std::string &eprL3EpIp, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store.
Definition Attestation.hpp:776
Attestation(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of Attestation.
Definition Attestation.hpp:877
modelgbp::gbpe::Attestation & setValidatorMac(const std::string &newValue)
Set validatorMac to the specified value in the currently-active mutator.
Definition Attestation.hpp:181
bool isNameSet()
Check whether name has been set.
Definition Attestation.hpp:35
static void remove(const opflex::modb::URI &uri)
Remove the Attestation object with the specified URI using the currently-active mutator and the defau...
Definition Attestation.hpp:547
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for Attestation.
Definition Attestation.hpp:29
void remove()
Remove this instance using the currently-active mutator.
Definition Attestation.hpp:516
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderEprL2UniverseEprL2Ep(const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the default managed object store by constructing its URI fro...
Definition Attestation.hpp:382
modelgbp::gbpe::Attestation & unsetValidator()
Unset validator in the currently-active mutator.
Definition Attestation.hpp:137
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderEprL2UniverseEprL2Ep(opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the managed object store by constructing its URI from the pa...
Definition Attestation.hpp:354
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 Attestation.hpp:822
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderGbpeVMUniverseGbpeVMEp(const std::string &gbpeVMEpUuid, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the default managed object store by constructing its URI fro...
Definition Attestation.hpp:277
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition Attestation.hpp:853
const std::string & getValidator(const std::string &defaultValue)
Get the value of validator if set, otherwise the value of default passed in.
Definition Attestation.hpp:112
static void removeUnderEprL2UniverseEprL2EpEprL3Net(opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &eprL3NetIp, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store.
Definition Attestation.hpp:719
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the Attestation object with the specified URI using the currently-active mutator.
Definition Attestation.hpp:531
const std::string & getValidatorMac(const std::string &defaultValue)
Get the value of validatorMac if set, otherwise the value of default passed in.
Definition Attestation.hpp:168
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of Attestation from the managed object store using the default framework instanc...
Definition Attestation.hpp:228
static void removeUnderGbpeVMUniverseGbpeVMEp(opflex::ofcore::OFFramework &framework, const std::string &gbpeVMEpUuid, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store.
Definition Attestation.hpp:568
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderEprL2UniverseEprL2EpEprL3Net(opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &eprL3NetIp, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the managed object store by constructing its URI from the pa...
Definition Attestation.hpp:412
bool isValidatorMacSet()
Check whether validatorMac has been set.
Definition Attestation.hpp:147
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderEprL3UniverseEprL3Ep(const std::string &eprL3EpContext, const std::string &eprL3EpIp, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the default managed object store by constructing its URI fro...
Definition Attestation.hpp:500
static void removeUnderEprL2UniverseEprL2Ep(opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store.
Definition Attestation.hpp:664
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderGbpeTunnelEpUniverseGbpeTunnelEp(const std::string &gbpeTunnelEpUuid, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the default managed object store by constructing its URI fro...
Definition Attestation.hpp:327
static void removeUnderEprL2UniverseEprL2Ep(const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store using th...
Definition Attestation.hpp:691
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 Attestation.hpp:841
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition Attestation.hpp:44
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderEprL3UniverseEprL3Ep(opflex::ofcore::OFFramework &framework, const std::string &eprL3EpContext, const std::string &eprL3EpIp, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the managed object store by constructing its URI from the pa...
Definition Attestation.hpp:472
bool isValidatorSet()
Check whether validator has been set.
Definition Attestation.hpp:91
modelgbp::gbpe::Attestation & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition Attestation.hpp:69
static void removeUnderGbpeVMUniverseGbpeVMEp(const std::string &gbpeVMEpUuid, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store using th...
Definition Attestation.hpp:592
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition Attestation.hpp:867
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > resolveUnderEprL2UniverseEprL2EpEprL3Net(const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &eprL3NetIp, const std::string &gbpeAttestationName)
Retrieve an instance of Attestation from the default managed object store by constructing its URI fro...
Definition Attestation.hpp:443
static void removeUnderGbpeTunnelEpUniverseGbpeTunnelEp(const std::string &gbpeTunnelEpUuid, const std::string &gbpeAttestationName)
Remove the Attestation object with the specified path elements from the managed object store using th...
Definition Attestation.hpp:639
modelgbp::gbpe::Attestation & unsetName()
Unset name in the currently-active mutator.
Definition Attestation.hpp:81
boost::optional< const std::string & > getValidator()
Get the value of validator if it has been set.
Definition Attestation.hpp:100
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12