Endian banner

endian.ipsec.web.controllers package

Submodules

endian.ipsec.web.controllers.connection module

class IPsecConnectionController(*args, **vargs)

Bases: endian.ca.web.controllers.common.BaseCertificateGridController

cert_option_field = 'auth_type'
editorWidget

alias of ConnectionEditor

filename_field = 'cert_filename'
gridWidget

alias of ConnectionGrid

onDeleteSuccess(data)

Triggered after delete action was finished successfully

onEnableSuccess(data)

Triggered after enable action was finished successfully

onLoad(id, data)
onStore(id, data)
onStoreSuccess(id, data)

Triggered after data has been written to storage

title = 'Connections'

endian.ipsec.web.controllers.settings module

class IPsecSettingsController(*args, **vargs)

Bases: endian.ca.web.controllers.common.BaseCertificateSettingsController

cert_option_field = 'cert_option'
filename_field = 'CERT_FILENAME'
onLoad(data)
onStore(data)
onSubmit(data)
settingsWidget

alias of IPsecSettingsEditor

title = 'IPsec settings'

Module contents

class IPsecController(storage=None, key=None, action=None, check=None, **params)

Bases: endian.emi.controllers.switch.SwitchController

action()
connection = <endian.ipsec.web.controllers.connection.IPsecConnectionController object at 0xc30cccc>
connection_info_widget = ConnectionInfoWidget(None, children=[], **{})
controllers = [<endian.ipsec.web.controllers.settings.IPsecSettingsController object at 0xc12de0c>, <endian.ipsec.web.controllers.connection.IPsecConnectionController object at 0xc30cccc>]
description = 'To enable IPsec click on the switch above.'
entity

alias of IPsecSettings

info(*_decorator__varargs, **args)

Return the connection detailed info

key = 'ENABLED'
settings = <endian.ipsec.web.controllers.settings.IPsecSettingsController object at 0xc12de0c>
switch_divider = True
switch_title = 'Enable IPsec'