11#ifndef GI_SPAN_DSTSUMMARY_HPP
12#define GI_SPAN_DSTSUMMARY_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 = 79;
44 boost::optional<const std::string&>
getDest()
363 getTLMutator().modify(
getClassId(),
getURI())->unset(2588674ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
531 getTLMutator().modify(
getClassId(),
getURI())->unset(2588678ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
546 static boost::optional<OF_SHARED_PTR<modelgbp::span::DstSummary> >
resolve(
548 const opflex::modb::URI&
uri)
550 return opflex::modb::mointernal::MO::resolve<modelgbp::span::DstSummary>(
framework,
CLASS_ID,
uri);
564 static boost::optional<OF_SHARED_PTR<modelgbp::span::DstSummary> >
resolve(
565 const opflex::modb::URI&
uri)
567 return opflex::modb::mointernal::MO::resolve<modelgbp::span::DstSummary>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
706 const opflex::modb::URI&
uri)
723 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
845 opflex::modb::ObjectListener*
listener)
847 opflex::modb::mointernal
863 opflex::modb::ObjectListener*
listener)
876 opflex::modb::ObjectListener*
listener)
878 opflex::modb::mointernal
889 opflex::modb::ObjectListener*
listener)
900 const opflex::modb::URI&
uri,
Definition DstSummary.hpp:23
bool isMtuSet()
Check whether mtu has been set.
Definition DstSummary.hpp:259
modelgbp::span::DstSummary & setVersion(const uint8_t newValue)
Set version to the specified value in the currently-active mutator.
Definition DstSummary.hpp:461
static void remove(const opflex::modb::URI &uri)
Remove the DstSummary object with the specified URI using the currently-active mutator and the defaul...
Definition DstSummary.hpp:721
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the DstSummary object with the specified URI using the currently-active mutator.
Definition DstSummary.hpp:705
const uint8_t getDscp(const uint8_t defaultValue)
Get the value of dscp if set, otherwise the value of default passed in.
Definition DstSummary.hpp:112
boost::optional< const std::string & > getVrfName()
Get the value of vrfName if it has been set.
Definition DstSummary.hpp:492
modelgbp::span::DstSummary & setMtu(uint32_t newValue)
Set mtu to the specified value in the currently-active mutator.
Definition DstSummary.hpp:293
modelgbp::span::DstSummary & unsetDest()
Unset dest in the currently-active mutator.
Definition DstSummary.hpp:81
bool isVrfNameSet()
Check whether vrfName has been set.
Definition DstSummary.hpp:483
modelgbp::span::DstSummary & unsetMode()
Unset mode in the currently-active mutator.
Definition DstSummary.hpp:249
modelgbp::span::DstSummary & setDscp(const uint8_t newValue)
Set dscp to the specified value in the currently-active mutator.
Definition DstSummary.hpp:125
modelgbp::span::DstSummary & unsetDscp()
Unset dscp in the currently-active mutator.
Definition DstSummary.hpp:137
boost::optional< const uint8_t > getMode()
Get the value of mode if it has been set.
Definition DstSummary.hpp:212
modelgbp::span::DstSummary & setVrfName(const std::string &newValue)
Set vrfName to the specified value in the currently-active mutator.
Definition DstSummary.hpp:517
const std::string & getSrcPrefix(const std::string &defaultValue)
Get the value of srcPrefix if set, otherwise the value of default passed in.
Definition DstSummary.hpp:336
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for DstSummary.
Definition DstSummary.hpp:29
modelgbp::span::DstSummary & unsetSrcPrefix()
Unset srcPrefix in the currently-active mutator.
Definition DstSummary.hpp:361
modelgbp::span::DstSummary & unsetMtu()
Unset mtu in the currently-active mutator.
Definition DstSummary.hpp:305
boost::optional< const uint8_t > getDscp()
Get the value of dscp if it has been set.
Definition DstSummary.hpp:100
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition DstSummary.hpp:888
modelgbp::span::DstSummary & setDest(const std::string &newValue)
Set dest to the specified value in the currently-active mutator.
Definition DstSummary.hpp:69
modelgbp::span::DstSummary & unsetVrfName()
Unset vrfName in the currently-active mutator.
Definition DstSummary.hpp:529
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 DstSummary.hpp:843
uint16_t getFlowId(uint16_t defaultValue)
Get the value of flowId if set, otherwise the value of default passed in.
Definition DstSummary.hpp:168
modelgbp::span::DstSummary & setFlowId(uint16_t newValue)
Set flowId to the specified value in the currently-active mutator.
Definition DstSummary.hpp:181
boost::optional< const std::string & > getDest()
Get the value of dest if it has been set.
Definition DstSummary.hpp:44
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Remove the DstSummary object with the specified path elements from the managed object store using the...
Definition DstSummary.hpp:771
const uint8_t getMode(const uint8_t defaultValue)
Get the value of mode if set, otherwise the value of default passed in.
Definition DstSummary.hpp:224
modelgbp::span::DstSummary & setTtl(const uint8_t newValue)
Set ttl to the specified value in the currently-active mutator.
Definition DstSummary.hpp:405
bool isDestSet()
Check whether dest has been set.
Definition DstSummary.hpp:35
modelgbp::span::DstSummary & setMode(const uint8_t newValue)
Set mode to the specified value in the currently-active mutator.
Definition DstSummary.hpp:237
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition DstSummary.hpp:874
modelgbp::span::DstSummary & unsetTtl()
Unset ttl in the currently-active mutator.
Definition DstSummary.hpp:417
boost::optional< const std::string & > getSrcPrefix()
Get the value of srcPrefix if it has been set.
Definition DstSummary.hpp:324
const std::string & getDest(const std::string &defaultValue)
Get the value of dest if set, otherwise the value of default passed in.
Definition DstSummary.hpp:56
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of DstSummary from the managed object store using the default framework instance...
Definition DstSummary.hpp:564
modelgbp::span::DstSummary & setSrcPrefix(const std::string &newValue)
Set srcPrefix to the specified value in the currently-active mutator.
Definition DstSummary.hpp:349
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of DstSummary from the managed object store.
Definition DstSummary.hpp:546
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Remove the DstSummary object with the specified path elements from the managed object store.
Definition DstSummary.hpp:744
bool isDscpSet()
Check whether dscp has been set.
Definition DstSummary.hpp:91
modelgbp::span::DstSummary & unsetVersion()
Unset version in the currently-active mutator.
Definition DstSummary.hpp:473
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstSummary from the managed object store by constructing its URI from the pat...
Definition DstSummary.hpp:646
bool isSrcPrefixSet()
Check whether srcPrefix has been set.
Definition DstSummary.hpp:315
boost::optional< uint32_t > getMtu()
Get the value of mtu if it has been set.
Definition DstSummary.hpp:268
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstSummary from the default managed object store by constructing its URI from...
Definition DstSummary.hpp:674
static void removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Remove the DstSummary object with the specified path elements from the managed object store.
Definition DstSummary.hpp:797
boost::optional< uint16_t > getFlowId()
Get the value of flowId if it has been set.
Definition DstSummary.hpp:156
void remove()
Remove this instance using the currently-active mutator.
Definition DstSummary.hpp:690
uint32_t getMtu(uint32_t defaultValue)
Get the value of mtu if set, otherwise the value of default passed in.
Definition DstSummary.hpp:280
const uint8_t getVersion(const uint8_t defaultValue)
Get the value of version if set, otherwise the value of default passed in.
Definition DstSummary.hpp:448
const std::string & getVrfName(const std::string &defaultValue)
Get the value of vrfName if set, otherwise the value of default passed in.
Definition DstSummary.hpp:504
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstSummary from the default managed object store by constructing its URI from...
Definition DstSummary.hpp:618
bool isModeSet()
Check whether mode has been set.
Definition DstSummary.hpp:203
const uint8_t getTtl(const uint8_t defaultValue)
Get the value of ttl if set, otherwise the value of default passed in.
Definition DstSummary.hpp:392
bool isVersionSet()
Check whether version has been set.
Definition DstSummary.hpp:427
boost::optional< const uint8_t > getVersion()
Get the value of version if it has been set.
Definition DstSummary.hpp:436
boost::optional< const uint8_t > getTtl()
Get the value of ttl if it has been set.
Definition DstSummary.hpp:380
DstSummary(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of DstSummary.
Definition DstSummary.hpp:898
bool isFlowIdSet()
Check whether flowId has been set.
Definition DstSummary.hpp:147
modelgbp::span::DstSummary & unsetFlowId()
Unset flowId in the currently-active mutator.
Definition DstSummary.hpp:193
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstSummary from the managed object store by constructing its URI from the pat...
Definition DstSummary.hpp:590
static void removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Remove the DstSummary object with the specified path elements from the managed object store using the...
Definition DstSummary.hpp:824
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 DstSummary.hpp:862
bool isTtlSet()
Check whether ttl has been set.
Definition DstSummary.hpp:371
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12