[ONOS-7759] Explicitly pop VLAN when a transport VLAN is not required on a spine

Change-Id: I656fcdc0077557bd9d843b3fe29fb003efafc03d
diff --git a/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DefaultGroupHandler.java b/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DefaultGroupHandler.java
index a569873..1ae24e5 100644
--- a/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DefaultGroupHandler.java
+++ b/app/src/main/java/org/onosproject/segmentrouting/grouphandler/DefaultGroupHandler.java
@@ -984,10 +984,15 @@
                                     .setMpls(MplsLabel.mplsLabel(edgeLabel));
                         }
                     }
+
+                    // Set VLAN ID for PW transport. Otherwise pop vlan
                     if ((ds.getTypeOfDstSet() == DestinationSet.DestinationSetType.SWAP_NOT_BOS) ||
                          (ds.getTypeOfDstSet() == DestinationSet.DestinationSetType.POP_NOT_BOS)) {
                         tBuilder.setVlanId(srManager.PSEUDOWIRE_VLAN);
+                    } else {
+                        tBuilder.popVlan();
                     }
+
                     tBuilder.setOutput(sp);
                     nextObjBuilder.addTreatment(tBuilder.build());
                     treatmentAdded = true;