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