Skip to content

A simple class that handles failover ip address routing @hetzner

Notifications You must be signed in to change notification settings

jaydabi/HetznerFailover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

HetznerFailover

A simple class that handles failover ip address routing @Hetzner

Example

failover = HetznerFailover('10.10.10.10', 'someuser', 'secret')`
failover.getActiveServer()
failover.setActiveServer('10.88.77.66')

HetznerFailover(failoverIp, login, password)

returns nothing

getActiveServer()

requires no argument

returns the ip of the server to which the failover ip is currently routed

setActiveServer(ip)

requires ip of the new routing target

asks the api to change routing

returns True on success, otherwise False

About

A simple class that handles failover ip address routing @hetzner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages