Parsed
A template and its endpoints, as one or more config files describe them.
Attributes
attributekindstrwireguard or openvpn.
attributetemplatestrThe config without what names a server.
attributeendpointslist[dict[str, Any]]= field(default_factory=list)The servers, each with host, port, proto, label, and for
WireGuard public_key, preshared_key, allowed_ips.
attributeneeds_credentialsbool= FalseWhether the OpenVPN template asks for a username and password.
attributefileslist[str]= field(default_factory=list)Names of the files the group came from.
Functions
constructor__init__(kind, template, endpoints=list(), needs_credentials=False, files=list()) -> Noneparamkindstrparamtemplatestrparamendpointslist[dict[str, Any]]= list()paramneeds_credentialsbool= Falseparamfileslist[str]= list()Returns
None