SRBridgingvlan tagged, untagged and native
Change-Id: I804e4808a7bd22e7662ae06e5d82c2cf03d3efc3
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/SRBridgingTest.py b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/SRBridgingTest.py
index 1ffa9c2..4e5e5fb 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/SRBridgingTest.py
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/SRBridgingTest.py
@@ -55,19 +55,20 @@
if self.topo[ topology ][ 'dual-homed' ]:
links += ( leaves - 1 ) * 2
- main.cfgName = 'CASE%01d%01d' % ( test_idx / 10, ( ( test_idx - 1 ) % 10 ) % 4 + 1 )
+ main.cfgName = 'CASE%01d%01d' % ( test_idx / 10, test_idx % 10 )
+ print (main.cfgName, "Testcase : CASE 09")
main.Cluster.setRunningNode( onosNodes )
run.installOnos( main, skipPackage=skipPackage, cliSleep=5 )
- if main.useBmv2:
- switchPrefix = main.params[ 'DEPENDENCY' ].get( 'switchPrefix', '' )
- if switchPrefix is None or "None":
- switchPrefix = ''
- # Translate configuration file from OVS-OFDPA to BMv2 driver
- translator.bmv2ToOfdpa( main ) # Try to cleanup if switching between switch types
- translator.ofdpaToBmv2( main, switchPrefix=switchPrefix )
- else:
- translator.bmv2ToOfdpa( main )
if not main.persistentSetup:
+ if main.useBmv2:
+ switchPrefix = main.params[ 'DEPENDENCY' ].get( 'switchPrefix', '' )
+ if switchPrefix is None or "None":
+ switchPrefix = ''
+ # Translate configuration file from OVS-OFDPA to BMv2 driver
+ translator.bmv2ToOfdpa( main ) # Try to cleanup if switching between switch types
+ translator.ofdpaToBmv2( main, switchPrefix=switchPrefix )
+ else:
+ translator.bmv2ToOfdpa( main )
suf = main.params.get( 'jsonFileSuffix', None)
if suf:
run.loadJson( main, suffix=suf )
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE05.chart
similarity index 98%
rename from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
rename to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE05.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE05.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE06.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE06.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE06.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE07.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE07.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE07.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE08.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE08.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE08.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE15.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE15.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE15.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE16.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE16.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE16.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE17.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE17.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE17.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE18.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE18.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE18.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE19.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE19.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE19.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE25.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE25.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE25.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE26.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE26.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE26.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE27.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE27.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE27.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE28.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE28.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE28.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE29.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE29.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE29.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE35.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE35.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE35.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE36.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE36.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE36.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE37.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE37.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE37.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE38.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE38.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE38.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE39.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE39.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE39.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE45.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE45.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE45.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE46.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE46.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE46.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE47.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE47.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE47.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE48.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE48.chart
new file mode 100644
index 0000000..38f0a1b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE48.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "True",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "True",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE49.chart
similarity index 98%
copy from TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
copy to TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE49.chart
index 4438f56..f1fe795 100644
--- a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE01.chart
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE49.chart
@@ -1,4 +1,4 @@
{
"leaf1": {"expect": "True",
"hosts":["h1", "h2"]}
-}
\ No newline at end of file
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE55.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE55.chart
new file mode 100644
index 0000000..7643003
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE55.chart
@@ -0,0 +1,4 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE56.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE56.chart
new file mode 100644
index 0000000..7643003
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE56.chart
@@ -0,0 +1,4 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE57.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE57.chart
new file mode 100644
index 0000000..8cc036a
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE57.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "False",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE58.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE58.chart
new file mode 100644
index 0000000..8cc036a
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE58.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "False",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE59.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE59.chart
new file mode 100644
index 0000000..7643003
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE59.chart
@@ -0,0 +1,4 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE65.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE65.chart
new file mode 100644
index 0000000..7643003
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE65.chart
@@ -0,0 +1,4 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE66.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE66.chart
new file mode 100644
index 0000000..7643003
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE66.chart
@@ -0,0 +1,4 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE67.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE67.chart
new file mode 100644
index 0000000..8cc036a
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE67.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "False",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE68.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE68.chart
new file mode 100644
index 0000000..8cc036a
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE68.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "False",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE69.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE69.chart
new file mode 100644
index 0000000..7643003
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE69.chart
@@ -0,0 +1,4 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE75.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE75.chart
new file mode 100644
index 0000000..7643003
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE75.chart
@@ -0,0 +1,4 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE76.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE76.chart
new file mode 100644
index 0000000..7643003
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE76.chart
@@ -0,0 +1,4 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE77.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE77.chart
new file mode 100644
index 0000000..8cc036a
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE77.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "False",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE78.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE78.chart
new file mode 100644
index 0000000..8cc036a
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE78.chart
@@ -0,0 +1,6 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]},
+ "leaf2": {"expect": "False",
+ "hosts":["h3", "h4"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE79.chart b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE79.chart
new file mode 100644
index 0000000..7643003
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/chart/CASE79.chart
@@ -0,0 +1,4 @@
+{
+ "leaf1": {"expect": "False",
+ "hosts":["h1", "h2"]}
+}
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE09.cfg b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE09.cfg
new file mode 100644
index 0000000..3300a4b
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE09.cfg
@@ -0,0 +1,22 @@
+"ports":{
+ "decive:leaf1/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.1/24"
+ ],
+ "vlan-untagged":102
+ }
+ ]
+ },
+ "device:leaf2/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.2/24"
+ ],
+ "vlan-untagged":102
+ }
+ ]
+ }
+ }
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE19.cfg b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE19.cfg
new file mode 100644
index 0000000..352ba54
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE19.cfg
@@ -0,0 +1,22 @@
+"ports":{
+ "decive:leaf1/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.1/24"
+ ],
+ "vlan-tagged":102
+ }
+ ]
+ },
+ "device:leaf2/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.2/24"
+ ],
+ "vlan-tagged":103
+ }
+ ]
+ }
+ }
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE29.cfg b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE29.cfg
new file mode 100644
index 0000000..9f97e82
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE29.cfg
@@ -0,0 +1,24 @@
+"ports":{
+ "decive:leaf1/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.1/24"
+ ],
+ "vlan-native":103
+ "vlan-tagged":102
+ }
+ ]
+ },
+ "device:leaf2/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.2/24"
+ ],
+ "vlan-native":103
+ "vlan-untagged":102
+ }
+ ]
+ }
+ }
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE39.cfg b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE39.cfg
new file mode 100644
index 0000000..6948335
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE39.cfg
@@ -0,0 +1,25 @@
+"ports":{
+ "device:leaf1/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.1/24"
+ ],
+ "vlan-native":103,
+ "vlan-tagged":[
+ 102
+ ]
+ }
+ ]
+ },
+ "device:leaf2/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.2/24"
+ ],
+ "vlan-untagged":103
+ }
+ ]
+ }
+ }
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE49.cfg b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE49.cfg
new file mode 100644
index 0000000..89ceb77
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE49.cfg
@@ -0,0 +1,22 @@
+"ports":{
+ "decive:leaf1/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.1/24"
+ ],
+ "vlan-untagged":102
+ }
+ ]
+ },
+ "decive:leaf1/56":
+{ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.2/24"
+ ],
+ "vlan-tagged":103
+ }
+ ]
+ }
+ }
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE59.cfg b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE59.cfg
new file mode 100644
index 0000000..8c462ce
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE59.cfg
@@ -0,0 +1,22 @@
+"ports":{
+ "decive:leaf1/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.1/24"
+ ],
+ "vlan-untagged":102
+ }
+ ]
+ },
+ "device:leaf2/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.2/24"
+ ],
+ "vlan-untagged":103
+ }
+ ]
+ }
+ }
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE69.cfg b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE69.cfg
new file mode 100644
index 0000000..352ba54
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE69.cfg
@@ -0,0 +1,22 @@
+"ports":{
+ "decive:leaf1/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.1/24"
+ ],
+ "vlan-tagged":102
+ }
+ ]
+ },
+ "device:leaf2/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.2/24"
+ ],
+ "vlan-tagged":103
+ }
+ ]
+ }
+ }
diff --git a/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE79.cfg b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE79.cfg
new file mode 100644
index 0000000..b3b04f2
--- /dev/null
+++ b/TestON/tests/USECASE/SegmentRouting/SRBridging/dependencies/netcfg/CASE79.cfg
@@ -0,0 +1,22 @@
+"ports":{
+ "decive:leaf1/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.1/24"
+ ],
+ "vlan-untagged":102
+ }
+ ]
+ },
+ "device:leaf2/56":{
+ "interfaces":[
+ {
+ "ips":[
+ "192.168.103.2/24"
+ ],
+ "vlan-tagged":103
+ }
+ ]
+ }
+ }