2 * Copyright (c) 2015 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
9 package org.opendaylight.netconf.api.util;
11 import com.google.common.collect.ImmutableSet;
15 * These constants mark operation service factories that are auto wired with netconf endpoint
16 * for config subsystem.
18 public final class NetconfConstants {
20 * TODO define marker interface in mapping-api that the serviceFactories in cofing subsystem
21 * will implement so we can check for services with instanceof instead of constants
23 public static final String SERVICE_NAME = "name";
24 public static final String CONFIG_NETCONF_CONNECTOR = "config-netconf-connector";
25 public static final String NETCONF_MONITORING = "ietf-netconf-monitoring";
26 public static final String NETCONF_NOTIFICATION = "ietf-netconf-notifications";
28 public static final Set<String> CONFIG_SERVICE_MARKERS = ImmutableSet.of(SERVICE_NAME, CONFIG_NETCONF_CONNECTOR,
29 NETCONF_MONITORING, NETCONF_NOTIFICATION);
31 private NetconfConstants() {