if (!profile.isSetPortMirroring() || !profile.isPortMirroring()) { return false;
v4Network.setHref(v4Network.getHref()); v3Nic.setNetwork(v3Network); if (v4Profile.isSetPortMirroring() && v4Profile.isPortMirroring()) { V3PortMirroring v3PortMirroring = new V3PortMirroring(); V3Networks v3PortMirroringNetworks = new V3Networks();
@Override protected void verify(VnicProfile model, VnicProfile transform) { assertNotNull(transform); assertEquals(model.getId(), transform.getId()); assertEquals(model.getName(), transform.getName()); assertEquals(model.getDescription(), transform.getDescription()); assertNotNull(transform.getNetwork()); assertEquals(model.getNetwork().getId(), transform.getNetwork().getId()); assertEquals(model.isPortMirroring(), transform.isPortMirroring()); assertNotNull(transform.getCustomProperties()); assertEquals(CustomPropertiesParser.parse(model.getCustomProperties().getCustomProperties()), CustomPropertiesParser.parse(transform.getCustomProperties().getCustomProperties())); } }
to.setPortMirroring(from.isPortMirroring());
entity.setPortMirroring(model.isPortMirroring());