2 * Copyright (c) 2015 Huawei, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
9 package org.opendaylight.nemo.renderer.cli;
\r
11 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
\r
12 import org.slf4j.Logger;
\r
13 import org.slf4j.LoggerFactory;
\r
16 * NEMO renderer that uses CLI to implement an overlay network
\r
17 * using traditional network devices.
\r
19 * @author Zhigang Ji
\r
21 public class CliRenderer implements AutoCloseable {
\r
22 private static final Logger LOG = LoggerFactory.getLogger(CliRenderer.class);
\r
24 private final DataBroker dataBroker;
\r
26 public CliRenderer(DataBroker dataBroker) {
\r
29 this.dataBroker = dataBroker;
\r
31 LOG.info("Initialized the NEMO CLI renderer.");
\r
37 public void close() throws Exception {
\r