Lines Matching refs:rc
64 def resetOFPorts(argv, numargs, rc):
71 datalink_name_list = rc.list_objects(Datalink())
73 datalink = rc.get_object(datalink_name)
104 def removeFlows(argv, numargs, rc):
111 datalink_list = rc.list_objects(Datalink())
113 datalink = rc.get_object(datalink_name)
133 flow_list = rc.list_objects(Flow(), ADRGlobPattern({'linkname': linkname}))
148 def deleteEtherstub(argv, numargs, rc, dm):
155 etherstub = rc.get_object(Etherstub(), ADRGlobPattern({'name': name}))
179 rc = radcon.connect_unix()
180 dm = rc.get_object(DatalinkManager())
185 rval = resetOFPorts(sys.argv, numargs, rc)
187 rval = removeFlows(sys.argv, numargs, rc)
189 rval = deleteEtherstub(sys.argv, numargs, rc, dm)