The ExtraRoute Extension

You can set up route configuration on the Router using this extension. This extension augments the 'Router' resource by adding a new 'routes' attribute.

You can specify a set of nexthop IPs and destination CIDRs. Note the nexthop IP must be a part of one of the subnets router interfaces are connected to. This is why configuration of route property is allowed only update operation on REST.

Table 4.5. Router Attributes
Attribute Type Required CRUD[a] Default Value Validation Constraints Notes
routes list of dict No U None List should be in this form. [{'nexthop':IPAddress, 'destination':CIDR}] Extra route configuration

[a]

  • C. Use the attribute in create operations.

  • R. This attribute is returned in response to show and list operations.

  • U. You can update the value of this attribute.

  • D. You can delete the value of this attribute.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...