Uni Add cmd CLI implmentation
[unimgr.git] / impl / src / main / java / org / opendaylight / unimgr / impl / UnimgrConstants.java
1 /*
2  * Copyright (c) 2015 CableLabs and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.unimgr.impl;
9
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;
13
14 public class UnimgrConstants {
15
16     public static final TopologyId OVSDB_TOPOLOGY_ID = new TopologyId(new Uri("ovsdb:1"));
17
18     public static final TopologyId UNI_TOPOLOGY_ID = new TopologyId(new Uri("unimgr:uni"));
19
20     public static final TopologyId EVC_TOPOLOGY_ID = new TopologyId(new Uri("unimgr:evc"));
21
22     public static final String UNI_PREFIX = "uni://";
23
24     public static final String OVSDB_PREFIX = "ovsdb://";
25
26     public static final Integer OVSDB_PORT = new Integer(6640);
27
28     public static final Integer OPENFLOW_PORT = new Integer(6633);
29
30     public static final Ipv4Address LOCAL_IP = new Ipv4Address("127.0.0.1");
31
32     public static final String DEFAULT_BRIDGE_NAME = "br0";
33
34 //    public static final String DEFAULT_BRIDGE2_NAME = "br2";
35
36     public static final String DEFAULT_BRIDGE_NODE_ID_SUFFIX = "/bridge/";
37
38     public static final String DEFAULT_INTERNAL_IFACE = "eth1";
39
40     public static final String DEFAULT_TUNNEL_IFACE = "eth1";
41
42     public static final String DEFAULT_GRE_NAME = "gre";
43 }