vyos.helium118

This Model Component provides the VyOS Helium 1.1.8 image to a VM.

Model Component Dependencies:

Available Objects

class vyos.helium118.Helium118(*args, **kwargs)[source]

Bases: object

This object provides the VyOS Helium 1.1.8 image to a VM.

__init__(*args, **kwargs)
class vyos.helium118.VyOSConfigurationHelium[source]

Bases: VyOSConfiguration

Create configuration files for Helium-based VyOS routers (1.1.X).

__annotations__ = {}
config = {'system_login_level': 'admin'}
create_bgp_neighbors(neighbor_info)[source]

Loop the BGP peer information and create config item objects for each.

Parameters:

neighbor_info (dict) – BGP peer information. Structure defined in comments in set_router_bgp()

Returns:

The list of all neighbors that were created.

Return type:

list

create_ssh_service()[source]

Create ‘ssh’ block which is nested in the ‘service’ block

Raises:

IncorrectDefinitionOrderError – Must set ssh service through the vyos.VyOSConfiguration.set_service() method.

create_system_login()[source]

Creates the ‘login’ block which is nested inside the ‘system’ block

Raises:

IncorrectDefinitionOrderError – Must set system hostname before setting the system login.