modelgbp Generated OpFlex Model  1.3.0
Attestation.hpp
1 
10 #pragma once
11 #ifndef GI_GBPE_ATTESTATION_HPP
12 #define GI_GBPE_ATTESTATION_HPP
13 
14 #include <boost/optional.hpp>
15 #include "opflex/modb/URIBuilder.h"
16 #include "opflex/modb/mo-internal/MO.h"
17 
18 namespace modelgbp {
19 namespace gbpe {
20 
22  : public opflex::modb::mointernal::MO
23 {
24 public:
25 
29  static const opflex::modb::class_id_t CLASS_ID = 36;
30 
35  bool isNameSet()
36  {
37  return getObjectInstance().isSet(1179649ul, opflex::modb::PropertyInfo::STRING);
38  }
39 
44  boost::optional<const std::string&> getName()
45  {
46  if (isNameSet())
47  return getObjectInstance().getString(1179649ul);
48  return boost::none;
49  }
50 
56  const std::string& getName(const std::string& defaultValue)
57  {
58  return getName().get_value_or(defaultValue);
59  }
60 
69  modelgbp::gbpe::Attestation& setName(const std::string& newValue)
70  {
71  getTLMutator().modify(getClassId(), getURI())->setString(1179649ul, newValue);
72  return *this;
73  }
74 
82  {
83  getTLMutator().modify(getClassId(), getURI())->unset(1179649ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
84  return *this;
85  }
86 
92  {
93  return getObjectInstance().isSet(1179650ul, opflex::modb::PropertyInfo::STRING);
94  }
95 
100  boost::optional<const std::string&> getValidator()
101  {
102  if (isValidatorSet())
103  return getObjectInstance().getString(1179650ul);
104  return boost::none;
105  }
106 
112  const std::string& getValidator(const std::string& defaultValue)
113  {
114  return getValidator().get_value_or(defaultValue);
115  }
116 
125  modelgbp::gbpe::Attestation& setValidator(const std::string& newValue)
126  {
127  getTLMutator().modify(getClassId(), getURI())->setString(1179650ul, newValue);
128  return *this;
129  }
130 
138  {
139  getTLMutator().modify(getClassId(), getURI())->unset(1179650ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
140  return *this;
141  }
142 
148  {
149  return getObjectInstance().isSet(1179651ul, opflex::modb::PropertyInfo::STRING);
150  }
151 
156  boost::optional<const std::string&> getValidatorMac()
157  {
158  if (isValidatorMacSet())
159  return getObjectInstance().getString(1179651ul);
160  return boost::none;
161  }
162 
168  const std::string& getValidatorMac(const std::string& defaultValue)
169  {
170  return getValidatorMac().get_value_or(defaultValue);
171  }
172 
181  modelgbp::gbpe::Attestation& setValidatorMac(const std::string& newValue)
182  {
183  getTLMutator().modify(getClassId(), getURI())->setString(1179651ul, newValue);
184  return *this;
185  }
186 
194  {
195  getTLMutator().modify(getClassId(), getURI())->unset(1179651ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
196  return *this;
197  }
198 
210  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolve(
211  opflex::ofcore::OFFramework& framework,
212  const opflex::modb::URI& uri)
213  {
214  return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::Attestation>(framework, CLASS_ID, uri);
215  }
216 
228  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolve(
229  const opflex::modb::URI& uri)
230  {
231  return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::Attestation>(opflex::ofcore::OFFramework::defaultInstance(), CLASS_ID, uri);
232  }
233 
252  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderGbpeVMUniverseGbpeVMEp(
253  opflex::ofcore::OFFramework& framework,
254  const std::string& gbpeVMEpUuid,
255  const std::string& gbpeAttestationName)
256  {
257  return resolve(framework,opflex::modb::URIBuilder().addElement("GbpeVMUniverse").addElement("GbpeVMEp").addElement(gbpeVMEpUuid).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
258  }
259 
277  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderGbpeVMUniverseGbpeVMEp(
278  const std::string& gbpeVMEpUuid,
279  const std::string& gbpeAttestationName)
280  {
281  return resolveUnderGbpeVMUniverseGbpeVMEp(opflex::ofcore::OFFramework::defaultInstance(),gbpeVMEpUuid,gbpeAttestationName);
282  }
283 
302  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderGbpeTunnelEpUniverseGbpeTunnelEp(
303  opflex::ofcore::OFFramework& framework,
304  const std::string& gbpeTunnelEpUuid,
305  const std::string& gbpeAttestationName)
306  {
307  return resolve(framework,opflex::modb::URIBuilder().addElement("GbpeTunnelEpUniverse").addElement("GbpeTunnelEp").addElement(gbpeTunnelEpUuid).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
308  }
309 
327  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderGbpeTunnelEpUniverseGbpeTunnelEp(
328  const std::string& gbpeTunnelEpUuid,
329  const std::string& gbpeAttestationName)
330  {
331  return resolveUnderGbpeTunnelEpUniverseGbpeTunnelEp(opflex::ofcore::OFFramework::defaultInstance(),gbpeTunnelEpUuid,gbpeAttestationName);
332  }
333 
354  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderEprL2UniverseEprL2Ep(
355  opflex::ofcore::OFFramework& framework,
356  const std::string& eprL2EpContext,
357  const opflex::modb::MAC& eprL2EpMac,
358  const std::string& gbpeAttestationName)
359  {
360  return resolve(framework,opflex::modb::URIBuilder().addElement("EprL2Universe").addElement("EprL2Ep").addElement(eprL2EpContext).addElement(eprL2EpMac).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
361  }
362 
382  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderEprL2UniverseEprL2Ep(
383  const std::string& eprL2EpContext,
384  const opflex::modb::MAC& eprL2EpMac,
385  const std::string& gbpeAttestationName)
386  {
387  return resolveUnderEprL2UniverseEprL2Ep(opflex::ofcore::OFFramework::defaultInstance(),eprL2EpContext,eprL2EpMac,gbpeAttestationName);
388  }
389 
412  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderEprL2UniverseEprL2EpEprL3Net(
413  opflex::ofcore::OFFramework& framework,
414  const std::string& eprL2EpContext,
415  const opflex::modb::MAC& eprL2EpMac,
416  const std::string& eprL3NetIp,
417  const std::string& gbpeAttestationName)
418  {
419  return resolve(framework,opflex::modb::URIBuilder().addElement("EprL2Universe").addElement("EprL2Ep").addElement(eprL2EpContext).addElement(eprL2EpMac).addElement("EprL3Net").addElement(eprL3NetIp).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
420  }
421 
443  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderEprL2UniverseEprL2EpEprL3Net(
444  const std::string& eprL2EpContext,
445  const opflex::modb::MAC& eprL2EpMac,
446  const std::string& eprL3NetIp,
447  const std::string& gbpeAttestationName)
448  {
449  return resolveUnderEprL2UniverseEprL2EpEprL3Net(opflex::ofcore::OFFramework::defaultInstance(),eprL2EpContext,eprL2EpMac,eprL3NetIp,gbpeAttestationName);
450  }
451 
472  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderEprL3UniverseEprL3Ep(
473  opflex::ofcore::OFFramework& framework,
474  const std::string& eprL3EpContext,
475  const std::string& eprL3EpIp,
476  const std::string& gbpeAttestationName)
477  {
478  return resolve(framework,opflex::modb::URIBuilder().addElement("EprL3Universe").addElement("EprL3Ep").addElement(eprL3EpContext).addElement(eprL3EpIp).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
479  }
480 
500  static boost::optional<boost::shared_ptr<modelgbp::gbpe::Attestation> > resolveUnderEprL3UniverseEprL3Ep(
501  const std::string& eprL3EpContext,
502  const std::string& eprL3EpIp,
503  const std::string& gbpeAttestationName)
504  {
505  return resolveUnderEprL3UniverseEprL3Ep(opflex::ofcore::OFFramework::defaultInstance(),eprL3EpContext,eprL3EpIp,gbpeAttestationName);
506  }
507 
516  void remove()
517  {
518  getTLMutator().remove(CLASS_ID, getURI());
519  }
520 
531  static void remove(opflex::ofcore::OFFramework& framework,
532  const opflex::modb::URI& uri)
533  {
534  MO::remove(framework, CLASS_ID, uri);
535  }
536 
547  static void remove(const opflex::modb::URI& uri)
548  {
549  remove(opflex::ofcore::OFFramework::defaultInstance(), uri);
550  }
551 
569  opflex::ofcore::OFFramework& framework,
570  const std::string& gbpeVMEpUuid,
571  const std::string& gbpeAttestationName)
572  {
573  MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("GbpeVMUniverse").addElement("GbpeVMEp").addElement(gbpeVMEpUuid).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
574  }
575 
593  const std::string& gbpeVMEpUuid,
594  const std::string& gbpeAttestationName)
595  {
596  removeUnderGbpeVMUniverseGbpeVMEp(opflex::ofcore::OFFramework::defaultInstance(),gbpeVMEpUuid,gbpeAttestationName);
597  }
598 
616  opflex::ofcore::OFFramework& framework,
617  const std::string& gbpeTunnelEpUuid,
618  const std::string& gbpeAttestationName)
619  {
620  MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("GbpeTunnelEpUniverse").addElement("GbpeTunnelEp").addElement(gbpeTunnelEpUuid).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
621  }
622 
640  const std::string& gbpeTunnelEpUuid,
641  const std::string& gbpeAttestationName)
642  {
643  removeUnderGbpeTunnelEpUniverseGbpeTunnelEp(opflex::ofcore::OFFramework::defaultInstance(),gbpeTunnelEpUuid,gbpeAttestationName);
644  }
645 
665  opflex::ofcore::OFFramework& framework,
666  const std::string& eprL2EpContext,
667  const opflex::modb::MAC& eprL2EpMac,
668  const std::string& gbpeAttestationName)
669  {
670  MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("EprL2Universe").addElement("EprL2Ep").addElement(eprL2EpContext).addElement(eprL2EpMac).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
671  }
672 
692  const std::string& eprL2EpContext,
693  const opflex::modb::MAC& eprL2EpMac,
694  const std::string& gbpeAttestationName)
695  {
696  removeUnderEprL2UniverseEprL2Ep(opflex::ofcore::OFFramework::defaultInstance(),eprL2EpContext,eprL2EpMac,gbpeAttestationName);
697  }
698 
720  opflex::ofcore::OFFramework& framework,
721  const std::string& eprL2EpContext,
722  const opflex::modb::MAC& eprL2EpMac,
723  const std::string& eprL3NetIp,
724  const std::string& gbpeAttestationName)
725  {
726  MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("EprL2Universe").addElement("EprL2Ep").addElement(eprL2EpContext).addElement(eprL2EpMac).addElement("EprL3Net").addElement(eprL3NetIp).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
727  }
728 
750  const std::string& eprL2EpContext,
751  const opflex::modb::MAC& eprL2EpMac,
752  const std::string& eprL3NetIp,
753  const std::string& gbpeAttestationName)
754  {
755  removeUnderEprL2UniverseEprL2EpEprL3Net(opflex::ofcore::OFFramework::defaultInstance(),eprL2EpContext,eprL2EpMac,eprL3NetIp,gbpeAttestationName);
756  }
757 
777  opflex::ofcore::OFFramework& framework,
778  const std::string& eprL3EpContext,
779  const std::string& eprL3EpIp,
780  const std::string& gbpeAttestationName)
781  {
782  MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("EprL3Universe").addElement("EprL3Ep").addElement(eprL3EpContext).addElement(eprL3EpIp).addElement("GbpeAttestation").addElement(gbpeAttestationName).build());
783  }
784 
804  const std::string& eprL3EpContext,
805  const std::string& eprL3EpIp,
806  const std::string& gbpeAttestationName)
807  {
808  removeUnderEprL3UniverseEprL3Ep(opflex::ofcore::OFFramework::defaultInstance(),eprL3EpContext,eprL3EpIp,gbpeAttestationName);
809  }
810 
822  static void registerListener(
823  opflex::ofcore::OFFramework& framework,
824  opflex::modb::ObjectListener* listener)
825  {
826  opflex::modb::mointernal
827  ::MO::registerListener(framework, listener, CLASS_ID);
828  }
829 
841  static void registerListener(
842  opflex::modb::ObjectListener* listener)
843  {
844  registerListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
845  }
846 
853  static void unregisterListener(
854  opflex::ofcore::OFFramework& framework,
855  opflex::modb::ObjectListener* listener)
856  {
857  opflex::modb::mointernal
858  ::MO::unregisterListener(framework, listener, CLASS_ID);
859  }
860 
867  static void unregisterListener(
868  opflex::modb::ObjectListener* listener)
869  {
870  unregisterListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
871  }
872 
878  opflex::ofcore::OFFramework& framework,
879  const opflex::modb::URI& uri,
880  const boost::shared_ptr<const opflex::modb::mointernal::ObjectInstance>& oi)
881  : MO(framework, CLASS_ID, uri, oi) { }
882 }; // class Attestation
883 
884 } // namespace gbpe
885 } // namespace modelgbp
886 #endif // GI_GBPE_ATTESTATION_HPP
bool isValidatorSet()
Check whether validator has been set.
Definition: Attestation.hpp:91
static boost::optional< boost::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 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
bool isValidatorMacSet()
Check whether validatorMac has been set.
Definition: Attestation.hpp:147
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 & > getName()
Get the value of name if it has been set.
Definition: Attestation.hpp:44
modelgbp::gbpe::Attestation & unsetName()
Unset name in the currently-active mutator.
Definition: Attestation.hpp:81
static boost::optional< boost::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
static boost::optional< boost::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 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
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< boost::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 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 boost::optional< boost::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
static boost::optional< boost::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 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 const opflex::modb::class_id_t CLASS_ID
The unique class ID for Attestation.
Definition: Attestation.hpp:29
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 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
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 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
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 boost::optional< boost::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 void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition: Attestation.hpp:853
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< boost::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 isNameSet()
Check whether name has been set.
Definition: Attestation.hpp:35
modelgbp::gbpe::Attestation & unsetValidator()
Unset validator in the currently-active mutator.
Definition: Attestation.hpp:137
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
static boost::optional< boost::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
Definition: Attestation.hpp:21
static boost::optional< boost::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
Attestation(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const boost::shared_ptr< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of Attestation.
Definition: Attestation.hpp:877
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
boost::optional< const std::string & > getValidatorMac()
Get the value of validatorMac if it has been set.
Definition: Attestation.hpp:156
boost::optional< const std::string & > getValidator()
Get the value of validator if it has been set.
Definition: Attestation.hpp:100
static boost::optional< boost::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 unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition: Attestation.hpp:867
modelgbp::gbpe::Attestation & setValidatorMac(const std::string &newValue)
Set validatorMac to the specified value in the currently-active mutator.
Definition: Attestation.hpp:181
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< boost::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
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
modelgbp::gbpe::Attestation & unsetValidatorMac()
Unset validatorMac in the currently-active mutator.
Definition: Attestation.hpp:193