commit | e3415554435f1eb896e5a60286c15859e72530a1 | [log] [tgz] |
---|---|---|
author | Yi Tseng <a86487817@gmail.com> | Wed May 24 16:49:07 2017 -0700 |
committer | Luca Prete <luca@onlab.us> | Thu May 25 00:12:47 2017 +0000 |
tree | 2fb770d85b44ebd5d087e169410aff755543811d | |
parent | 96f0bf5667ede4d114a522160f1a43a72fafde50 [diff] |
[ONOS-6509] Fix incorrect state of VPLS Change-Id: I709d499d6108676fcc634acf6e1592c5249f1c17 (cherry picked from commit 2ec74963a4d2cfc5e566d5d045d2159606a1bf27)
diff --git a/apps/vpls/src/main/java/org/onosproject/vpls/api/VplsData.java b/apps/vpls/src/main/java/org/onosproject/vpls/api/VplsData.java index bba9d78..5e013d0 100644 --- a/apps/vpls/src/main/java/org/onosproject/vpls/api/VplsData.java +++ b/apps/vpls/src/main/java/org/onosproject/vpls/api/VplsData.java
@@ -99,6 +99,7 @@ public static VplsData of(VplsData vplsData) { requireNonNull(vplsData); VplsData vplsDataCopy = new VplsData(vplsData.name(), vplsData.encapsulationType()); + vplsDataCopy.state(vplsData.state()); vplsDataCopy.addInterfaces(vplsData.interfaces()); return vplsData; }