2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.web;
10 import org.opendaylight.controller.sal.core.Node;
13 * Information about a node connected to a controller to send to the UI frontend
16 public class NodeBean {
17 private final String node;
18 private final String description;
20 public NodeBean(Node node) {
21 this(node, node.toString());
24 public NodeBean(Node node, String description) {
25 this.node = node.toString();
26 this.description = description;