Endian banner

endian.hotspot package

Submodules

endian.hotspot.commands module

dirtyHotspotSettings()

Switch hotspot: needed when switching hotspot on or off.

restartHotspot()

Restarts hotspot: needed when updating the Hotspot settings.

applyHotspot()

apply hotspot settings: needed when updating the Hotspot settings.

createExternalUser(username, password)

Create an external user; if set, a ticket of the default rate is added at creation-time.

addCyclicTickets()

Add cyclic tickets.

endian.hotspot.schema module

class IHotspotSettings(*args, **kw)

Bases: formencode.schema.Schema

Messages

badDictType:
The input must be dict-like (not a %(type)s: %(value)r)
badType:
The input must be a string (not a %(type)s: %(value)r)
empty:
Please enter a value
missingValue:
Missing value
noneType:
The input must be a string (not None)
notExpected:
The input field %(name)s was not expected.
chained_validators = []
declarative_count = 338
fields = {'AUTH_LAYER_ENABLED': <Bool object 321>, 'AUTH_LDAP_BIND_DN': <String object 327>, 'RADIUS_AUTHPORT': <Port object 312>, 'AUTH_LDAP_GROUP_BASEDN': <String object 326>, 'RADIUS_IP': <IPAddress object 308>, 'HOTSPOT_ROLE': <OneOf object 302 list=['master', 'satellite', 'external']>, 'EXTERNAL_RATE_EHI': <String object 337>, 'HOTSPOT_VPN': <String object 307>, 'HOTSPOT_ENABLED': <Bool object 301>, 'HOTSPOT_MASTER_PASSWORD': <String object 306>, 'AUTH_LDAP_URI_BACKUP': <String object 324>, 'AUTH_RADIUS_PORT': <Int object 332>, 'AUTH_RADIUS_SERVER_BACKUP': <String object 331>, 'RADIUS_IP2': <IPAddress object 309>, 'HOTSPOT_PASSWORD': <String object 303>, 'AUTH_LDAP_URI': <String object 323>, 'CHILLI_UAMANYIP': <Bool object 320>, 'CHILLI_ALLOWED': <Multiline object 319 validatorArgs=(<class 'formencode.validators.String'>,) validators=[<class 'formencode.validators.String'>]>, 'RADIUS_NASID': <String object 317>, 'AUTH_RADIUS_IDENTIFIER': <String object 333>, 'AUTH_LDAP_USER_SEARCHFILTER': <String object 329>, 'EXTERNAL_RATE_RADIUS': <String object 336>, 'RADIUS_ACCTPORT': <Port object 313>, 'AUTH_RADIUS_SERVER': <String object 330>, 'CHILLI_UAMSECRET': <String object 318>, 'HOTSPOT_OPENVPNUSER': <Multichoice object 304 validatorArgs=() validators=[]>, 'RADIUS_PASSWORD': <String object 310>, 'RADIUS_COAPORT': <Port object 311>, 'HOTSPOT_MASTER': <IPAddress object 305>, 'AUTH_RADIUS_SECRET': <String object 334>, 'EXTERNAL_RATE_LDAP': <String object 335>, 'AUTH_LAYER_PROVIDER': <OneOf object 322 list=['ldap', 'radius']>, 'CHILLI_UAMSERVER': <String object 316>, 'CHILLI_EXTERNAL_PORTAL': <Bool object 314>, 'AUTH_LDAP_USER_BASEDN': <String object 325>, 'AUTH_LDAP_BIND_PASSWORD': <String object 328>}
pre_validators = []
getVPNUser()
getVPNServer()
getRatesForExternalUsers()

Return a list of (code, name) tuples for rates that are available to be assigned to users created using the authentication layer.

Table Of Contents

Previous topic

endian.dio package

Next topic

endian.hotspot.web package