[ONOS-6584] Added retry function to getNetCFG functions in FUNCnetCfg and VPLS test cases.

Change-Id: I6b0b487562037e66f1fc229492c510024e9ee26b
diff --git a/TestON/tests/USECASE/VPLS/dependencies/vpls.py b/TestON/tests/USECASE/VPLS/dependencies/vpls.py
index 729621d..02abba2 100644
--- a/TestON/tests/USECASE/VPLS/dependencies/vpls.py
+++ b/TestON/tests/USECASE/VPLS/dependencies/vpls.py
@@ -53,8 +53,10 @@
     clusterResult = True
     for node in main.RESTs:
         result = False
-        getVPLS = node.getNetCfg( subjectClass="apps",
-                                  subjectKey=app )
+        getVPLS = utilities.retry( f=node.getNetCfg,
+                                   retValue=False,
+                                   kwargs={"subjectClass":"apps", "subjectKey":app},
+                                   sleep=SLEEP )
         onosCfg = json.loads( getVPLS ).get( 'vpls' ).get( 'vplsList' )
         onosCfg = pprint( sanitizeConfig( onosCfg ) )
         sentCfg = pprint( sanitizeConfig( main.vplsConfig ) )