# Path: virttest/libvirt_xml/accessors.py
# def type_check(name, thing, expected):
# def add_to_slots(*args):
#     def __init__(self, operation, property_name, libvirtxml, **dargs):
#     def __repr__(self):
#     def xmltreefile(self):
#     def element_by_parent(self, parent_xpath, tag_name, create=True):
#     def __call__(self, value=None):
#     def __init__(self, property_name, libvirtxml, forbidden=None, **dargs):
#     def set_if_not_defined(self, operation):
#     def accessor_name(self, operation):
#     def callable_name(operation):
#     def make_callable(self, operation):
#     def make_forbidden(self, operation):
#     def assign_callable(self, operation, callable_inst):
#     def __init__(self, property_name, libvirtxml):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None):
#         def __call__(self):
#         def __call__(self, value):
#         def __call__(self):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None, radix=10):
#         def __call__(self):
#         def __call__(self, value):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None):
#         def __call__(self):
#         def __call__(self, value):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None, attribute=None):
#         def __call__(self):
#         def __call__(self, value):
#         def __call__(self):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None):
#         def __call__(self):
#         def __call__(self, value):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None, subclass=None,
#                  subclass_dargs=None):
#         def __call__(self):
#         def __call__(self, value):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, marshal_from=None, marshal_to=None):
#         def __call__(self):
#         def __call__(self, value):
#         def __call__(self):
# class AccessorBase(PropCanBase):
# class ForbiddenBase(AccessorBase):
# class AccessorGeneratorBase(object):
# class AllForbidden(AccessorGeneratorBase):
# class XMLElementText(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
#     class Delter(AccessorBase):
# class XMLElementInt(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
# class XMLElementBool(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
# class XMLAttribute(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
#     class Delter(AccessorBase):
# class XMLElementDict(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
# class XMLElementNest(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
# class XMLElementList(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
#     class Delter(AccessorBase):
# 
# Path: virttest/libvirt_xml/xcepts.py
# class LibvirtXMLError(Exception):
# class LibvirtXMLAccessorError(LibvirtXMLError):
# class LibvirtXMLForbiddenError(LibvirtXMLError):
# class LibvirtXMLNotFoundError(LibvirtXMLError):
#     def __init__(self, details=''):
#     def __str__(self):
# 
# Path: virttest/libvirt_xml/nwfilter_protocols/base.py
# class UntypedDeviceBase(base.LibvirtXMLBase):
# class TypedDeviceBase(UntypedDeviceBase):
#     def __init__(self, protocol_tag, virsh_instance=base.virsh):
#     def from_element(self, element):
#     def new_from_element(cls, element, virsh_instance=base.virsh):
#     def new_from_dict(cls, properties, virsh_instance=base.virsh):
#     def __init__(self, protocol_tag, type_name, virsh_instance=base.virsh):
#     def new_from_element(cls, element, virsh_instance=base.virsh):


from virttest.libvirt_xml import accessors, xcepts
from virttest.libvirt_xml.nwfilter_protocols import base
        Icmp attribute XML class

        Properties:

        srcmacaddr: string, MAC address of sender
        srcmacmask: string, Mask applied to MAC address of sender
        dstmacaddr: string, MAC address of destination
        dstmacmask: string, Mask applied to MAC address of destination
        srcipaddr: string, Source IP address
        srcipmask: string, Mask applied to source IP address
        dstipaddr: string, Destination IP address
        dstipmask: string, Mask applied to destination IP address
        srcipfrom: string, Start of range of source IP address
        srcipto: string, End of range of source IP address
        dstipfrom: string, Start of range of destination IP address
        dstipto: string, End of range of destination IP address
        type: string, ICMP type
        code: string, ICMP code
        comment: string, text with max. 256 characters
        state: string, comma separated list of NEW,ESTABLISHED,RELATED,INVALID or NONE
        ipset: The name of an IPSet managed outside of libvirt
        ipsetflags: flags for the IPSet; requires ipset attribute
        """

        __slots__ = ('srcmacaddr', 'srcmacmask', 'dstmacaddr', 'dstmacmask',
                     'srcipaddr', 'srcipmask', 'dstipaddr', 'dstipmask',
                     'srcipfrom', 'srcipto', 'dstipfrom', 'dstipto',
                     'type', 'code', 'dscp', 'comment', 'state', 'ipset',
                     'ipsetflags')


# Path: virttest/libvirt_xml/accessors.py
# def type_check(name, thing, expected):
# def add_to_slots(*args):
#     def __init__(self, operation, property_name, libvirtxml, **dargs):
#     def __repr__(self):
#     def xmltreefile(self):
#     def element_by_parent(self, parent_xpath, tag_name, create=True):
#     def __call__(self, value=None):
#     def __init__(self, property_name, libvirtxml, forbidden=None, **dargs):
#     def set_if_not_defined(self, operation):
#     def accessor_name(self, operation):
#     def callable_name(operation):
#     def make_callable(self, operation):
#     def make_forbidden(self, operation):
#     def assign_callable(self, operation, callable_inst):
#     def __init__(self, property_name, libvirtxml):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None):
#         def __call__(self):
#         def __call__(self, value):
#         def __call__(self):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None, radix=10):
#         def __call__(self):
#         def __call__(self, value):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None):
#         def __call__(self):
#         def __call__(self, value):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None, attribute=None):
#         def __call__(self):
#         def __call__(self, value):
#         def __call__(self):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None):
#         def __call__(self):
#         def __call__(self, value):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, tag_name=None, subclass=None,
#                  subclass_dargs=None):
#         def __call__(self):
#         def __call__(self, value):
#     def __init__(self, property_name, libvirtxml, forbidden=None,
#                  parent_xpath=None, marshal_from=None, marshal_to=None):
#         def __call__(self):
#         def __call__(self, value):
#         def __call__(self):
# class AccessorBase(PropCanBase):
# class ForbiddenBase(AccessorBase):
# class AccessorGeneratorBase(object):
# class AllForbidden(AccessorGeneratorBase):
# class XMLElementText(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
#     class Delter(AccessorBase):
# class XMLElementInt(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
# class XMLElementBool(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
# class XMLAttribute(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
#     class Delter(AccessorBase):
# class XMLElementDict(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
# class XMLElementNest(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
# class XMLElementList(AccessorGeneratorBase):
#     class Getter(AccessorBase):
#     class Setter(AccessorBase):
#     class Delter(AccessorBase):
# 
# Path: virttest/libvirt_xml/xcepts.py
# class LibvirtXMLError(Exception):
# class LibvirtXMLAccessorError(LibvirtXMLError):
# class LibvirtXMLForbiddenError(LibvirtXMLError):
# class LibvirtXMLNotFoundError(LibvirtXMLError):
#     def __init__(self, details=''):
#     def __str__(self):
# 
# Path: virttest/libvirt_xml/nwfilter_protocols/base.py
# class UntypedDeviceBase(base.LibvirtXMLBase):
# class TypedDeviceBase(UntypedDeviceBase):
#     def __init__(self, protocol_tag, virsh_instance=base.virsh):
#     def from_element(self, element):
#     def new_from_element(cls, element, virsh_instance=base.virsh):
#     def new_from_dict(cls, properties, virsh_instance=base.virsh):
#     def __init__(self, protocol_tag, type_name, virsh_instance=base.virsh):
#     def new_from_element(cls, element, virsh_instance=base.virsh):


# Path: virttest/libvirt_xml/nwfilter_protocols/icmp.py
from virttest.libvirt_xml import accessors, xcepts
from virttest.libvirt_xml.nwfilter_protocols import base

        Icmp attribute XML class

        Properties:

        srcmacaddr: string, MAC address of sender
        srcmacmask: string, Mask applied to MAC address of sender
        dstmacaddr: string, MAC address of destination
        dstmacmask: string, Mask applied to MAC address of destination
        srcipaddr: string, Source IP address
        srcipmask: string, Mask applied to source IP address
        dstipaddr: string, Destination IP address
        dstipmask: string, Mask applied to destination IP address
        srcipfrom: string, Start of range of source IP address
        srcipto: string, End of range of source IP address
        dstipfrom: string, Start of range of destination IP address
        dstipto: string, End of range of destination IP address
        type: string, ICMP type
        code: string, ICMP code
        comment: string, text with max. 256 characters
        state: string, comma separated list of NEW,ESTABLISHED,RELATED,INVALID or NONE
        ipset: The name of an IPSet managed outside of libvirt
        ipsetflags: flags for the IPSet; requires ipset attribute
        """

        __slots__ = ('srcmacaddr', 'srcmacmask', 'dstmacaddr', 'dstmacmask',
                     'srcipaddr', 'srcipmask', 'dstipaddr', 'dstipmask',
                     'srcipfrom', 'srcipto', 'dstipfrom', 'dstipto',
                     'type', 'code', 'dscp', 'comment', 'state', 'ipset',
                     'ipsetflags')


        def __init__(self, virsh_instance=base.base.virsh):