|
modelgbp Generated OpFlex Model 1.7.0
|
Public Member Functions | |
| bool | isAddressSet () |
| Check whether address has been set. | |
| boost::optional< const std::string & > | getAddress () |
| Get the value of address if it has been set. | |
| const std::string & | getAddress (const std::string &defaultValue) |
| Get the value of address if set, otherwise the value of default passed in. | |
| modelgbp::gbp::Subnet & | setAddress (const std::string &newValue) |
| Set address to the specified value in the currently-active mutator. | |
| modelgbp::gbp::Subnet & | unsetAddress () |
| Unset address in the currently-active mutator. | |
| bool | isIpv6AdvAutonomousFlagSet () |
| Check whether ipv6AdvAutonomousFlag has been set. | |
| boost::optional< const uint8_t > | getIpv6AdvAutonomousFlag () |
| Get the value of ipv6AdvAutonomousFlag if it has been set. | |
| const uint8_t | getIpv6AdvAutonomousFlag (const uint8_t defaultValue) |
| Get the value of ipv6AdvAutonomousFlag if set, otherwise the value of default passed in. | |
| modelgbp::gbp::Subnet & | setIpv6AdvAutonomousFlag (const uint8_t newValue) |
| Set ipv6AdvAutonomousFlag to the specified value in the currently-active mutator. | |
| modelgbp::gbp::Subnet & | unsetIpv6AdvAutonomousFlag () |
| Unset ipv6AdvAutonomousFlag in the currently-active mutator. | |
| bool | isIpv6AdvPreferredLifetimeSet () |
| Check whether ipv6AdvPreferredLifetime has been set. | |
| boost::optional< uint32_t > | getIpv6AdvPreferredLifetime () |
| Get the value of ipv6AdvPreferredLifetime if it has been set. | |
| uint32_t | getIpv6AdvPreferredLifetime (uint32_t defaultValue) |
| Get the value of ipv6AdvPreferredLifetime if set, otherwise the value of default passed in. | |
| modelgbp::gbp::Subnet & | setIpv6AdvPreferredLifetime (uint32_t newValue) |
| Set ipv6AdvPreferredLifetime to the specified value in the currently-active mutator. | |
| modelgbp::gbp::Subnet & | unsetIpv6AdvPreferredLifetime () |
| Unset ipv6AdvPreferredLifetime in the currently-active mutator. | |
| bool | isIpv6AdvValidLifetimeSet () |
| Check whether ipv6AdvValidLifetime has been set. | |
| boost::optional< uint32_t > | getIpv6AdvValidLifetime () |
| Get the value of ipv6AdvValidLifetime if it has been set. | |
| uint32_t | getIpv6AdvValidLifetime (uint32_t defaultValue) |
| Get the value of ipv6AdvValidLifetime if set, otherwise the value of default passed in. | |
| modelgbp::gbp::Subnet & | setIpv6AdvValidLifetime (uint32_t newValue) |
| Set ipv6AdvValidLifetime to the specified value in the currently-active mutator. | |
| modelgbp::gbp::Subnet & | unsetIpv6AdvValidLifetime () |
| Unset ipv6AdvValidLifetime in the currently-active mutator. | |
| bool | isNameSet () |
| Check whether name has been set. | |
| boost::optional< const std::string & > | getName () |
| Get the value of name if it has been set. | |
| const std::string & | getName (const std::string &defaultValue) |
| Get the value of name if set, otherwise the value of default passed in. | |
| modelgbp::gbp::Subnet & | setName (const std::string &newValue) |
| Set name to the specified value in the currently-active mutator. | |
| modelgbp::gbp::Subnet & | unsetName () |
| Unset name in the currently-active mutator. | |
| bool | isPrefixLenSet () |
| Check whether prefixLen has been set. | |
| boost::optional< const uint8_t > | getPrefixLen () |
| Get the value of prefixLen if it has been set. | |
| const uint8_t | getPrefixLen (const uint8_t defaultValue) |
| Get the value of prefixLen if set, otherwise the value of default passed in. | |
| modelgbp::gbp::Subnet & | setPrefixLen (const uint8_t newValue) |
| Set prefixLen to the specified value in the currently-active mutator. | |
| modelgbp::gbp::Subnet & | unsetPrefixLen () |
| Unset prefixLen in the currently-active mutator. | |
| bool | isVirtualRouterIpSet () |
| Check whether virtualRouterIp has been set. | |
| boost::optional< const std::string & > | getVirtualRouterIp () |
| Get the value of virtualRouterIp if it has been set. | |
| const std::string & | getVirtualRouterIp (const std::string &defaultValue) |
| Get the value of virtualRouterIp if set, otherwise the value of default passed in. | |
| modelgbp::gbp::Subnet & | setVirtualRouterIp (const std::string &newValue) |
| Set virtualRouterIp to the specified value in the currently-active mutator. | |
| modelgbp::gbp::Subnet & | unsetVirtualRouterIp () |
| Unset virtualRouterIp in the currently-active mutator. | |
| void | remove () |
| Remove this instance using the currently-active mutator. | |
| Subnet (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
| Construct an instance of Subnet. | |
Static Public Member Functions | |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::Subnet > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Retrieve an instance of Subnet from the managed object store. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::Subnet > > | resolve (const opflex::modb::URI &uri) |
| Retrieve an instance of Subnet from the managed object store using the default framework instance. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::Subnet > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpSubnetsName, const std::string &gbpSubnetName) |
| Retrieve an instance of Subnet from the managed object store by constructing its URI from the path elements that lead to it. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbp::Subnet > > | resolve (const std::string &policySpaceName, const std::string &gbpSubnetsName, const std::string &gbpSubnetName) |
| Retrieve an instance of Subnet from the default managed object store by constructing its URI from the path elements that lead to it. | |
| static void | remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Remove the Subnet object with the specified URI using the currently-active mutator. | |
| static void | remove (const opflex::modb::URI &uri) |
| Remove the Subnet object with the specified URI using the currently-active mutator and the default framework instance. | |
| static void | remove (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpSubnetsName, const std::string &gbpSubnetName) |
| Remove the Subnet object with the specified path elements from the managed object store. | |
| static void | remove (const std::string &policySpaceName, const std::string &gbpSubnetsName, const std::string &gbpSubnetName) |
| Remove the Subnet object with the specified path elements from the managed object store using the default framework instance. | |
| static void | registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| Register a listener that will get called for changes related to this class. | |
| static void | registerListener (opflex::modb::ObjectListener *listener) |
| Register a listener that will get called for changes related to this class with the default framework instance. | |
| static void | unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| Unregister a listener from updates to this class. | |
| static void | unregisterListener (opflex::modb::ObjectListener *listener) |
| Unregister a listener from updates to this class from the default framework instance. | |
Static Public Attributes | |
| static const opflex::modb::class_id_t | CLASS_ID = 195 |
| The unique class ID for Subnet. | |
|
inline |
Construct an instance of Subnet.
This should not typically be called from user code.
|
inline |
Get the value of address if it has been set.
References isAddressSet(), and resolve().
Referenced by getAddress().
Get the value of address if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getAddress(), and resolve().
Get the value of ipv6AdvAutonomousFlag if it has been set.
References isIpv6AdvAutonomousFlagSet(), and resolve().
Referenced by getIpv6AdvAutonomousFlag().
Get the value of ipv6AdvAutonomousFlag if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getIpv6AdvAutonomousFlag(), and resolve().
|
inline |
Get the value of ipv6AdvPreferredLifetime if it has been set.
References isIpv6AdvPreferredLifetimeSet(), and resolve().
Referenced by getIpv6AdvPreferredLifetime().
Get the value of ipv6AdvPreferredLifetime if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getIpv6AdvPreferredLifetime(), and resolve().
|
inline |
Get the value of ipv6AdvValidLifetime if it has been set.
References isIpv6AdvValidLifetimeSet(), and resolve().
Referenced by getIpv6AdvValidLifetime().
Get the value of ipv6AdvValidLifetime if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getIpv6AdvValidLifetime(), and resolve().
|
inline |
Get the value of name if it has been set.
References isNameSet(), and resolve().
Referenced by getName().
Get the value of prefixLen if it has been set.
References isPrefixLenSet(), and resolve().
Referenced by getPrefixLen().
Get the value of prefixLen if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getPrefixLen(), and resolve().
|
inline |
Get the value of virtualRouterIp if it has been set.
References isVirtualRouterIpSet(), and resolve().
Referenced by getVirtualRouterIp().
|
inline |
Get the value of virtualRouterIp if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getVirtualRouterIp(), and resolve().
|
inline |
Check whether address has been set.
References resolve().
Referenced by getAddress().
|
inline |
Check whether ipv6AdvAutonomousFlag has been set.
References resolve().
Referenced by getIpv6AdvAutonomousFlag().
|
inline |
Check whether ipv6AdvPreferredLifetime has been set.
References resolve().
Referenced by getIpv6AdvPreferredLifetime().
|
inline |
Check whether ipv6AdvValidLifetime has been set.
References resolve().
Referenced by getIpv6AdvValidLifetime().
|
inline |
|
inline |
Check whether prefixLen has been set.
References resolve().
Referenced by getPrefixLen().
|
inline |
Check whether virtualRouterIp has been set.
References resolve().
Referenced by getVirtualRouterIp().
|
inlinestatic |
Register a listener that will get called for changes related to this class with the default framework instance.
This listener will be called for any modifications of this class or any transitive children of this class.
| listener | the listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered. |
References registerListener(), and resolve().
|
inlinestatic |
Register a listener that will get called for changes related to this class.
This listener will be called for any modifications of this class or any transitive children of this class.
| framework | the framework instance |
| listener | the listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered. |
References CLASS_ID, and resolve().
Referenced by registerListener().
|
inline |
Remove the Subnet object with the specified URI using the currently-active mutator and the default framework instance.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
| uri | the URI of the object to remove |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Remove the Subnet object with the specified path elements from the managed object store using the default framework instance.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpSubnets/[gbpSubnetsName]/GbpSubnet/[gbpSubnetName]
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSubnetsName | the value of gbpSubnetsName, a naming property for Subnets |
| gbpSubnetName | the value of gbpSubnetName, a naming property for Subnet |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Remove the Subnet object with the specified URI using the currently-active mutator.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
| framework | the framework instance to use |
| uri | the URI of the object to remove |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Remove the Subnet object with the specified path elements from the managed object store.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpSubnets/[gbpSubnetsName]/GbpSubnet/[gbpSubnetName]
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSubnetsName | the value of gbpSubnetsName, a naming property for Subnets |
| gbpSubnetName | the value of gbpSubnetName, a naming property for Subnet |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of Subnet from the managed object store using the default framework instance.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
| uri | the URI of the object to retrieve |
|
inlinestatic |
Retrieve an instance of Subnet from the default managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpSubnets/[gbpSubnetsName]/GbpSubnet/[gbpSubnetName]
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSubnetsName | the value of gbpSubnetsName, a naming property for Subnets |
| gbpSubnetName | the value of gbpSubnetName, a naming property for Subnet |
References resolve().
|
inlinestatic |
Retrieve an instance of Subnet from the managed object store.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
| framework | the framework instance to use |
| uri | the URI of the object to retrieve |
References CLASS_ID, and resolve().
Referenced by getAddress(), getAddress(), getIpv6AdvAutonomousFlag(), getIpv6AdvAutonomousFlag(), getIpv6AdvPreferredLifetime(), getIpv6AdvPreferredLifetime(), getIpv6AdvValidLifetime(), getIpv6AdvValidLifetime(), getName(), getName(), getPrefixLen(), getPrefixLen(), getVirtualRouterIp(), getVirtualRouterIp(), isAddressSet(), isIpv6AdvAutonomousFlagSet(), isIpv6AdvPreferredLifetimeSet(), isIpv6AdvValidLifetimeSet(), isNameSet(), isPrefixLenSet(), isVirtualRouterIpSet(), registerListener(), registerListener(), remove(), remove(), remove(), remove(), remove(), resolve(), resolve(), resolve(), resolve(), modelgbp::gbp::Subnets::resolveGbpSubnet(), setAddress(), setIpv6AdvAutonomousFlag(), setIpv6AdvPreferredLifetime(), setIpv6AdvValidLifetime(), setName(), setPrefixLen(), setVirtualRouterIp(), unregisterListener(), unregisterListener(), unsetAddress(), unsetIpv6AdvAutonomousFlag(), unsetIpv6AdvPreferredLifetime(), unsetIpv6AdvValidLifetime(), unsetName(), unsetPrefixLen(), and unsetVirtualRouterIp().
|
inlinestatic |
Retrieve an instance of Subnet from the managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpSubnets/[gbpSubnetsName]/GbpSubnet/[gbpSubnetName]
| framework | the framework instance to use |
| policySpaceName | the value of policySpaceName, a naming property for Space |
| gbpSubnetsName | the value of gbpSubnetsName, a naming property for Subnets |
| gbpSubnetName | the value of gbpSubnetName, a naming property for Subnet |
References resolve().
|
inline |
Set address to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set ipv6AdvAutonomousFlag to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set ipv6AdvPreferredLifetime to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set ipv6AdvValidLifetime to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set name to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set prefixLen to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set virtualRouterIp to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
| listener | The listener to unregister. |
References resolve(), and unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class.
| framework | the framework instance |
| listener | The listener to unregister. |
References CLASS_ID, and resolve().
Referenced by unregisterListener().
|
inline |
Unset address in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset ipv6AdvAutonomousFlag in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset ipv6AdvPreferredLifetime in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset ipv6AdvValidLifetime in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset name in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset prefixLen in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset virtualRouterIp in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().