Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)

src/a/q/aquilon-HEAD/tests/scale/update_rack.py   aquilon(Download)
import sys
 
from common import AQRunner, TestNetwork, TestRack
 
 
def update_rack(building, rackid, newnetid, aqservice, aqhost, aqport):
    aq = AQRunner(aqservice=aqservice, aqhost=aqhost, aqport=aqport)
    rack = TestRack(building, rackid)

src/a/q/aquilon-HEAD/tests/scale/add_rack.py   aquilon(Download)
import sys
 
from common import AQRunner, TestNetwork, TestRack
 
 
def add_rack(building, rackid, netid, aqservice, aqhost, aqport):
    aq = AQRunner(aqservice=aqservice, aqhost=aqhost, aqport=aqport)
    rack = TestRack(building, rackid)

src/a/q/aquilon-HEAD/tests/scale/del_rack.py   aquilon(Download)
import sys
 
from common import AQRunner, TestNetwork, TestRack
 
 
def del_rack(building, rackid, aqservice, aqhost, aqport):
    aq = AQRunner(aqservice=aqservice, aqhost=aqhost, aqport=aqport)
    rack = TestRack(building, rackid)

src/a/q/aquilon-HEAD/tests/scale/transition_rack.py   aquilon(Download)
 
 
from common import AQRunner, TestRack
 
 
def transition_rack(building, rackid, status, aqservice, aqhost, aqport):
    aq = AQRunner(aqservice=aqservice, aqhost=aqhost, aqport=aqport)
    rack = TestRack(building, rackid)