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.
    • Constructor Detail

      • NetconfConfigGetter

        public NetconfConfigGetter()
    • Method Detail

      • getConfiguration

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