Ayaka Koshibe
Committed by Gerrit Code Review

Optical path provisioner packet layer check

Fix associated with Change 7179.

Change-Id: I1cc88bf59de5757c870a2a507ae4a5e999c1fd1a
...@@ -400,7 +400,7 @@ public class OpticalPathProvisioner { ...@@ -400,7 +400,7 @@ public class OpticalPathProvisioner {
400 * @return true if in packet layer, false otherwise 400 * @return true if in packet layer, false otherwise
401 */ 401 */
402 private boolean isPacketLayer(Device.Type type) { 402 private boolean isPacketLayer(Device.Type type) {
403 - return type == Device.Type.SWITCH || type == Device.Type.ROUTER; 403 + return type == Device.Type.SWITCH || type == Device.Type.ROUTER || type == Device.Type.VIRTUAL;
404 } 404 }
405 405
406 /** 406 /**
......