Merge "Renamed populate.py to crud.py Fixed method call name change Signed-off-by...
authorLuis Gomez <ecelgp@gmail.com>
Thu, 4 Sep 2014 21:17:17 +0000 (21:17 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 4 Sep 2014 21:17:17 +0000 (21:17 +0000)
test/tools/odl-mdsal-clustering-tests/clustering-functional-test/crud.py [moved from test/tools/odl-mdsal-clustering-tests/clustering-functional-test/populate.py with 97% similarity]

similarity index 97%
rename from test/tools/odl-mdsal-clustering-tests/clustering-functional-test/populate.py
rename to test/tools/odl-mdsal-clustering-tests/clustering-functional-test/crud.py
index 81ae1df9efc168e203be5f778b95c9a6861f96ce..08f0d421ab54521cb6c406cf1053923bd3e34543 100644 (file)
@@ -107,7 +107,7 @@ def addCarPerson(numberOfCarPersons):
         print(resp)
 
     print("getting the car_persons for verification")
-    resp=getCarPersons(0)
+    resp=getCarPersonMappings(0)
 
     #TBD detailed validation
 
@@ -135,7 +135,7 @@ def buyCar(numberOfCarBuyers):
         print(resp)
 
     print("getting the car_persons for verification")
-    resp=getCarPersons(0)
+    resp=getCarPersonMappings(0)
 
 
 #
@@ -209,7 +209,7 @@ def options():
              'pass 0 if <command>=gc or gp or gcp or dc or dp'\
 
 
-    usageString = 'usage: populate <ipaddress> <command> <param>\nwhere\n\t<ipaddress> = ODL server ip address' \
+    usageString = 'usage: python crud <ipaddress> <command> <param>\nwhere\n\t<ipaddress> = ODL server ip address' \
                   '\n\t<command> = any of the following commands \n\t\t'
 
     usageString = usageString + command +param