bareos.bsock.protocolmessages.ProtocolMessages
- class bareos.bsock.protocolmessages.ProtocolMessages(protocolversion=ProtocolVersions.bareos_18_2)[source]
Bases:
object
strings defined by the protocol to talk to the Bareos Director.
Methods
auth_failed
auth_ok
get_version
hello
is_auth_ok
is_not_authorized
not_authorized
Returns a string similar to: 4002 USERNAME PASSWORD
set_version