web2ldap  1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
  Fossies Dox: web2ldap-1.7.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

web2ldap.app.plugins.dhcp.DHCPRange Class Reference
Inheritance diagram for web2ldap.app.plugins.dhcp.DHCPRange:
[legend]
Collaboration diagram for web2ldap.app.plugins.dhcp.DHCPRange:
[legend]

Public Member Functions

str form_value (self)
 
bytes sanitize (self, bytes attr_value)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.DirectoryString
str display (self, vidx, links)
 
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
def __init__ (self, app, Optional[str] dn, SubSchema schema, Optional[str] attrType, Optional[bytes] attr_value, entry=None)
 
def dn (self)
 
def av_u (self)
 
bytes sanitize (self, bytes attr_value)
 
List[bytes] transmute (self, List[bytes] attr_values)
 
def validate (self, bytes attr_value)
 
str value_button (self, command, row, mode, link_text=None)
 
str form_value (self)
 
def input_fields (self)
 
web_forms.Field input_field (self)
 
str display (self, vidx, links)
 

Static Public Attributes

 str
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.IA5String
 str
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.DirectoryString
 str
 
string html_tmpl = '{av}'
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
 str
 
 int
 
 bool
 

Private Member Functions

def _get_ipnetwork (self)
 
bool _validate (self, bytes attr_value)
 

Detailed Description

Definition at line 280 of file dhcp.py.

Member Function Documentation

◆ _get_ipnetwork()

def web2ldap.app.plugins.dhcp.DHCPRange._get_ipnetwork (   self)
private

◆ _validate()

bool web2ldap.app.plugins.dhcp.DHCPRange._validate (   self,
bytes  attr_value 
)
private

◆ form_value()

◆ sanitize()

bytes web2ldap.app.plugins.dhcp.DHCPRange.sanitize (   self,
bytes  attr_value 
)
Transforms the HTML form input field values into LDAP string
representations and returns raw binary string.

This is the inverse of LDAPSyntax.form_value().

When using this method one MUST NOT assume that the whole entry is
present.

Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.

Definition at line 305 of file dhcp.py.

Member Data Documentation

◆ str

web2ldap.app.plugins.dhcp.DHCPRange.str
static

Definition at line 281 of file dhcp.py.


The documentation for this class was generated from the following file: