2 * Copyright (c) 2014 Cisco Systems, 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
8 package org.opendaylight.controller.netconf.cli.commands;
11 import org.opendaylight.controller.netconf.cli.io.IOUtil;
12 import org.opendaylight.yangtools.yang.common.QName;
14 public class CommandConstants {
16 // Local command ids are defined here, this links the implementation to the rpc definition in yang
17 // Better way needs to be found to provide this link instead of hardcoded QNames (e.g. yang extension)
18 public static final QName HELP_QNAME = QName.create(URI.create("netconf:cli"), IOUtil.parseDate("2014-05-22"), "help");
19 public static final QName CLOSE_QNAME = QName.create(HELP_QNAME, "close");
20 public static final QName CONNECT_QNAME = QName.create(HELP_QNAME, "connect");
21 public static final QName DISCONNECT_QNAME = QName.create(CONNECT_QNAME, "disconnect");
23 public static final QName ARG_HANDLER_EXT_QNAME = QName.create(
24 URI.create("urn:ietf:params:xml:ns:netconf:base:1.0:cli"), IOUtil.parseDate("2014-05-26"),
27 public static final QName NETCONF_BASE_QNAME = QName.create("urn:ietf:params:xml:ns:netconf:base:1.0", "2011-06-01",