@Override
    public TunnelId tunnelAdded(TunnelDescription tunnel) {
        return providerService.tunnelAdded(tunnel);
    }
@Test
    public void testTunnelAdded() {
        TunnelEndPoint src = IpTunnelEndPoint.ipTunnelPoint(IpAddress
                .valueOf("192.168.1.1"));
        TunnelEndPoint dst = IpTunnelEndPoint.ipTunnelPoint(IpAddress
                .valueOf("192.168.1.3"));
        SparseAnnotations annotations = DefaultAnnotations.builder()
                .set("bandwidth", "1024").build();

        List<Link> links = new ArrayList<Link>();
        links.add(link);
        TunnelDescription tunnel = new DefaultTunnelDescription(
                                                                TunnelId.valueOf("1234"),
                                                                src,
                                                                dst,
                                                                Tunnel.Type.VXLAN,
                                                                new GroupId(0),
                                                                this.provider.id(),
                                                                TunnelName.tunnelName("tunnel12"),
                                                                new DefaultPath(this.provider.id(), links,
                                                                        ScalarWeight.toWeight(0.3)),
                                                                annotations);
        provider.tunnelAdded(tunnel);
        assertEquals(1, providerService.tunnelSet.size());
    }