Class NetconfConfigGetter

  • All Implemented Interfaces:
    org.onosproject.net.behaviour.ConfigGetter, org.onosproject.net.driver.Behaviour, org.onosproject.net.driver.HandlerBehaviour

    public class NetconfConfigGetter
    extends org.onosproject.net.driver.AbstractHandlerBehaviour
    implements org.onosproject.net.behaviour.ConfigGetter
    Gets the configuration of the specified type from the specified device. If a failure occurs it returns the error string found in UNABLE_TO_READ_CONFIG. This is a temporary development tool for use until yang integration is complete. This is not a properly specified behavior implementation. DO NOT USE AS AN EXAMPLE.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getConfiguration​(java.lang.String type)  
      • Methods inherited from class org.onosproject.net.driver.AbstractHandlerBehaviour

        handler, setHandler
      • Methods inherited from class org.onosproject.net.driver.AbstractBehaviour

        data, setData
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.onosproject.net.driver.Behaviour

        data, setData
      • Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour

        handler, setHandler
    • Field Detail

      • UNABLE_TO_READ_CONFIG

        public static final java.lang.String UNABLE_TO_READ_CONFIG
        See Also:
        Constant Field Values
    • Constructor Detail

      • NetconfConfigGetter

        public NetconfConfigGetter()
    • Method Detail

      • getConfiguration

        public java.lang.String getConfiguration​(java.lang.String type)
        Specified by:
        getConfiguration in interface org.onosproject.net.behaviour.ConfigGetter