X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Futil%2Fxml%2FXmlNetconfConstants.java;h=4a6586cd1d8bf8ee0e9e4cbef66e62048cf1e5e6;hb=8f15fef884bc20239625850c4a2fcdaf36395526;hp=3e862faa7b34c96378002d17d79350fb0d4f45d7;hpb=9d2212483a4fca225d5ad58e7f924f58b638ddb6;p=controller.git diff --git a/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XmlNetconfConstants.java b/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XmlNetconfConstants.java index 3e862faa7b..4a6586cd1d 100644 --- a/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XmlNetconfConstants.java +++ b/opendaylight/netconf/netconf-util/src/main/java/org/opendaylight/controller/netconf/util/xml/XmlNetconfConstants.java @@ -7,7 +7,9 @@ */ package org.opendaylight.controller.netconf.util.xml; -public class XmlNetconfConstants { +public final class XmlNetconfConstants { + + private XmlNetconfConstants() {} public static final String MOUNTPOINTS = "mountpoints"; public static final String MOUNTPOINT = "mountpoint"; @@ -31,6 +33,10 @@ public class XmlNetconfConstants { public static final String RPC_REPLY_KEY = "rpc-reply"; public static final String RPC_ERROR = "rpc-error"; public static final String NAME_KEY = "name"; + public static final String NOTIFICATION_ELEMENT_NAME = "notification"; + + public static final String PREFIX = "prefix"; + // // public static final String RFC4741_TARGET_NAMESPACE = "urn:ietf:params:xml:ns:netconf:base:1.0"; @@ -39,4 +45,5 @@ public class XmlNetconfConstants { public static final String URN_IETF_PARAMS_XML_NS_YANG_IETF_NETCONF_MONITORING = "urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"; // TODO where to store namespace of config ? public static final String URN_OPENDAYLIGHT_PARAMS_XML_NS_YANG_CONTROLLER_CONFIG = "urn:opendaylight:params:xml:ns:yang:controller:config"; + public static final String GET = "get"; }