2 * Copyright (C) 2014 Red Hat, Inc.
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 * Authors : Dave Tucker
10 package org.opendaylight.ovsdb.openstack.netvirt;
12 import org.opendaylight.ovsdb.openstack.netvirt.api.Constants;
14 import com.google.common.collect.Lists;
15 import com.google.common.collect.Maps;
17 import java.util.Queue;
18 import java.util.concurrent.ConcurrentMap;
20 public class NodeConfiguration {
21 private java.util.Queue<Integer> internalVlans = Lists.newLinkedList();
22 private ConcurrentMap<String, Integer> tenantVlanMap = Maps.newConcurrentMap();
24 public NodeConfiguration() {
25 for (int i = 1; i < Constants.MAX_VLAN; i++) {
31 public Queue<Integer> getInternalVlans() {
35 public ConcurrentMap<String, Integer> getTenantVlanMap() {