Search in sources :

Example 1 with RouterAssociatedToVpnBuilder

use of org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.RouterAssociatedToVpnBuilder in project netvirt by opendaylight.

the class NeutronvpnManager method checkAndPublishRouterAssociatedtoVpnNotification.

private void checkAndPublishRouterAssociatedtoVpnNotification(Uuid routerId, Uuid vpnId) throws InterruptedException {
    RouterAssociatedToVpn routerAssociatedToVpn = new RouterAssociatedToVpnBuilder().setRouterId(routerId).setVpnId(vpnId).build();
    LOG.info("publishing notification upon association of router to VPN");
    notificationPublishService.putNotification(routerAssociatedToVpn);
}
Also used : RouterAssociatedToVpn(org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.RouterAssociatedToVpn) RouterAssociatedToVpnBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.RouterAssociatedToVpnBuilder)

Aggregations

RouterAssociatedToVpn (org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.RouterAssociatedToVpn)1 RouterAssociatedToVpnBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.neutronvpn.rev150602.RouterAssociatedToVpnBuilder)1