2 * Copyright (c) 2015 CableLabs 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.unimgr.impl;
10 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Ipv4Address;
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Uri;
12 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId;
14 public class UnimgrConstants {
16 public static final TopologyId OVSDB_TOPOLOGY_ID = new TopologyId(new Uri("ovsdb:1"));
18 public static final TopologyId UNI_TOPOLOGY_ID = new TopologyId(new Uri("unimgr:uni"));
20 public static final TopologyId EVC_TOPOLOGY_ID = new TopologyId(new Uri("unimgr:evc"));
22 public static final String OVSDB_PREFIX = "ovsdb://";
24 public static final Integer OVSDB_PORT = new Integer(6640);
26 public static final Integer OPENFLOW_PORT = new Integer(6633);
28 public static final Ipv4Address LOCAL_IP = new Ipv4Address("127.0.0.1");
30 public static final String DEFAULT_BRIDGE_NAME = "br0";
32 // public static final String DEFAULT_BRIDGE2_NAME = "br2";
34 public static final String DEFAULT_BRIDGE_NODE_ID_SUFFIX = "/bridge/";
36 public static final String DEFAULT_INTERNAL_IFACE = "eth1";
38 public static final String DEFAULT_TUNNEL_IFACE = "eth1";
40 public static final String DEFAULT_GRE_NAME = "gre";