Fix namespaces for netconf monitoring extensions.
[controller.git] / opendaylight / netconf / netconf-monitoring / src / main / java / org / opendaylight / controller / netconf / monitoring / MonitoringConstants.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. 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.controller.netconf.monitoring;
9
10 public class MonitoringConstants {
11
12     public static final String MODULE_NAME = "ietf-netconf-monitoring";
13     public static final String MODULE_REVISION = "2010-10-04";
14
15     public static final String NAMESPACE = "urn:ietf:params:xml:ns:yang:" + MODULE_NAME;
16     public static final String EXTENSION_NAMESPACE = NAMESPACE + "-extension";
17
18     public static final String EXTENSION_NAMESPACE_PREFIX = "ncme";
19
20     public static final String URI = String.format("%s?module=%s&revision=%s", NAMESPACE, MODULE_NAME, MODULE_REVISION);
21
22     public static final String NETCONF_MONITORING_XML_ROOT_ELEMENT = "netconf-state";
23 }