compute
v1
|
#include <network_routing_config.h>
Public Member Functions | |
NetworkRoutingConfig (const Json::Value &storage) | |
NetworkRoutingConfig (Json::Value *storage) | |
virtual | ~NetworkRoutingConfig () |
const StringPiece | GetTypeName () const |
bool | has_routing_mode () const |
void | clear_routing_mode () |
const StringPiece | get_routing_mode () const |
void | set_routing_mode (const StringPiece &value) |
Static Public Member Functions | |
static NetworkRoutingConfig * | New () |
A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'routingMode
' attribute.
|
inline |
Get the value of the 'routingMode
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'routingMode
' attribute was set.
routingMode
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'routingMode
' attribute.
The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's cloud routers will advertise routes with all subnets of this network, across regions.
[in] | value | The new value. |