models.route module

class models.route.Route(description=None, dest_network=None, if_name=None, iface_group_name=None, next_hop=None)[source]

Bases: object

Implementation of the ‘Route’ model.

Specifies the settings of a Static Route.

Attributes:

description (string): Specifies a description of the Static Route. dest_network (string): Destination network. Specifies the destination

network of the Static Route. overrideDescription: true

if_name (string): Specifies the network interfaces name to use for

communicating with the destination network.

iface_group_name (string): Specifies the network interfaces group or

interface group with vlan id to use for communicating with the destination network.

next_hop (string): Specifies the next hop to the destination network.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.