[ONOS-7430] Add option to use portstate for link-down/up in FUNCintent test

Change-Id: I31407f26159dd59e009f169d84b74665bc5363d8
diff --git a/TestON/tests/FUNC/FUNCintent/FUNCintent.py b/TestON/tests/FUNC/FUNCintent/FUNCintent.py
index 4f6b715..c7ae062 100644
--- a/TestON/tests/FUNC/FUNCintent/FUNCintent.py
+++ b/TestON/tests/FUNC/FUNCintent/FUNCintent.py
@@ -84,6 +84,7 @@
             main.scapyHosts = []  # List of scapy hosts for iterating
             main.assertReturnString = ''  # Assembled assert return string
             main.cycle = 0  # How many times FUNCintent has run through its tests
+            main.usePortstate = True if main.params[ 'TEST' ][ 'usePortstate' ] == "True" else False
 
             # -- INIT SECTION, ONLY RUNS ONCE -- #