2 * Copyright (c) 2014, 2015 Red Hat, 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
9 package org.opendaylight.netvirt.openstack.netvirt;
11 import org.opendaylight.netvirt.openstack.netvirt.api.Constants;
13 import com.google.common.collect.Lists;
14 import com.google.common.collect.Maps;
16 import java.util.Queue;
17 import java.util.concurrent.ConcurrentMap;
19 public class NodeConfiguration {
20 private java.util.Queue<Integer> internalVlans = Lists.newLinkedList();
21 private ConcurrentMap<String, Integer> tenantVlanMap = Maps.newConcurrentMap();
23 public NodeConfiguration() {
24 for (int i = 1; i < Constants.MAX_VLAN; i++) {
30 public Queue<Integer> getInternalVlans() {
34 public ConcurrentMap<String, Integer> getTenantVlanMap() {