BUG 6396 vpp-renderer project migration to blueprint
[groupbasedpolicy.git] / renderers / vpp / src / main / java / org / opendaylight / controller / config / yang / config / vpp_provider / impl / GbpVppProviderInstance.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.config.yang.config.vpp_provider.impl;
10
11 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
12 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
13
14 public class GbpVppProviderInstance implements AutoCloseable {
15
16     private VppRenderer renderer;
17
18     public GbpVppProviderInstance (DataBroker dataBroker, BindingAwareBroker broker) {
19         renderer = new VppRenderer(dataBroker, broker);
20     }
21     @Override
22     public void close() throws Exception {
23         renderer.close();
24     }
25
26 }