| Home | Trees | Index | Help |
|---|
| Package pyrad :: Module dictionary :: Class Dictionary |
|
RADIUS dictionary class
This class stores all information about vendors, attributes and their values as defined in RADIUS dictionary files.| Method Summary | |
|---|---|
| |
__getitem__(self,
key)
| |
Parse a dictionary file | |
__ParseAttribute(self,
state,
tokens)
| |
__ParseBeginVendor(self,
state,
tokens)
| |
__ParseEndVendor(self,
state,
tokens)
| |
__ParseValue(self,
state,
tokens)
| |
__ParseVendor(self,
state,
tokens)
| |
| Instance Variable Summary | |
|---|---|
| bidict | attributes: bidict mapping attribute name to attribute class |
| bidict | attrindex: bidict mapping |
| bidict | vendors: bidict mapping vendor name to vendor code |
| Method Details |
|---|
__init__(self,
dict=None,
*dicts)
|
ReadDictionary(self, file)Parse a dictionary file Reads a RADIUS dictionary file and merges its contents into the class instance.
|
| Instance Variable Details |
|---|
attributesbidict mapping attribute name to attribute class
|
attrindexbidict mapping
|
vendorsbidict mapping vendor name to vendor code
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Jun 2 14:19:55 2004 | http://epydoc.sf.net |