Source code for wirecurly.configuration.node

import logging

log = logging.getLogger(__name__)

__all__ = ['Node']

[docs]class Node(object): ''' Node oject for acls ''' def __init__(self,perm,add): super(Node, self).__init__() self.attrs = {'type' : perm , 'cidr' : add}
[docs] def todict(self): ''' Create a dict so it can be converted/serialized ''' return {'tag': 'node', 'attrs': self.attrs }
Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.