def delete(self, dev): PRouterUVE(data=PRouterEntry(**dict(name=dev, deleted=True))).send() PRouterFlowUVE(data=PRouterFlowEntry( **dict(name=dev, deleted=True))).send()
def send_flow_uve(self, data): if data['name']: PRouterFlowUVE(data=PRouterFlowEntry(**data)).send()