@@ -0,0 +1,1069 @@
+from simplesqlite.model import Integer, Model, Text%0A%0Afrom .._const import Tc%0A%0A%0Aclass Filter(Model):%0A    device = Text(attr_name=Tc.Param.DEVICE, not_null=True)%0A    filter_id = Text(attr_name=Tc.Param.FILTER_ID)%0A    flowid = Text(attr_name=Tc.Param.FLOW_ID)%0A    protocol = Text(attr_name=Tc.Param.PROTOCOL)%0A    priority = Integer(attr_name=Tc.Param.PRIORITY)%0A    src_network = Text(attr_name=Tc.Param.SRC_NETWORK)%0A    dst_network = Text(attr_name=Tc.Param.DST_NETWORK)%0A    src_port = Integer(attr_name=Tc.Param.SRC_PORT)%0A    dst_port = Integer(attr_name=Tc.Param.DST_PORT)%0A%0A    classid = Text(attr_name=Tc.Param.CLASS_ID)%0A    handle = Integer(attr_name=Tc.Param.HANDLE)%0A%0A%0Aclass Qdisc(Model):%0A    device = Text(attr_name=Tc.Param.DEVICE, not_null=True)%0A    direct_qlen = Integer()%0A    parent = Text(attr_name=Tc.Param.PARENT, not_null=True)%0A    handle = Text(attr_name=Tc.Param.HANDLE, not_null=True)%0A    delay = Text()%0A    delay_distro = Text(attr_name=%22delay-distro%22)%0A    loss = Text()%0A    duplicate = Text()%0A    corrupt = Text()%0A    reorder = Text()%0A    rate = Text()%0A

Add ORM models for filter/qdisc