Interface ConfigGetter

  • All Superinterfaces:
    Behaviour, HandlerBehaviour

    public interface ConfigGetter
    extends HandlerBehaviour
    Behaviour that gets the configuration of the specified type from the device. This is a temporary development tool for use until yang integration is complete. This is not a properly specified behavior. DO NOT USE AS AN EXAMPLE.
    • Method Detail

      • getConfiguration

        java.lang.String getConfiguration​(java.lang.String type)
        Returns the string representation of a device configuration, returns a failure string if the configuration cannot be retrieved.
        Parameters:
        type - the type of configuration to get (i.e. running).
        Returns:
        string representation of the configuration or an error string.