コード例 #1
0
def deleteAllCars(ignore):
    util.delete(settings.getCarsUrl(),"admin","admin")
    resp = getCars(ignore)
    print("Cars in store after deletion:"+ str(resp))
コード例 #2
0
def deleteAllCars(ignore):
    """delete all cars in the store using RESTCONF"""
    util.delete(settings.getCarsUrl(), "admin", "admin")
    resp = getCars(ignore)
    print("Cars in store after deletion:" + str(resp))
コード例 #3
0
def getCars(ignore):
    resp = util.get(settings.getCarsUrl(),"admin", "admin")
    print (resp)
    return resp
コード例 #4
0
def getCars(ignore):
    """Uses the GET on car:cars resource to get all cars in the store using RESTCONF"""
    resp = util.get(settings.getCarsUrl(), "admin", "admin")
    print(resp)
    return resp
コード例 #5
0
ファイル: crud.py プロジェクト: ljakab/integration-test
def deleteAllCars(ignore):
    """delete all cars in the store using RESTCONF"""
    util.delete(settings.getCarsUrl(), "admin", "admin")
    resp = getCars(ignore)
    print("Cars in store after deletion:" + str(resp))
コード例 #6
0
ファイル: crud.py プロジェクト: ljakab/integration-test
def getCars(ignore):
    """Uses the GET on car:cars resource to get all cars in the store using RESTCONF"""
    resp = util.get(settings.getCarsUrl(), "admin", "admin")
    print(resp)
    return resp
コード例 #7
0
ファイル: crud.py プロジェクト: mikkle/integration
def deleteAllCars(ignore):
    util.delete(settings.getCarsUrl(), "admin", "admin")
    resp = getCars(ignore)
    print("Cars in store after deletion:" + str(resp))
コード例 #8
0
ファイル: crud.py プロジェクト: mikkle/integration
def getCars(ignore):
    resp = util.get(settings.getCarsUrl(), "admin", "admin")
    print(resp)
    return resp