Package org.onosproject.net.behaviour
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetConfiguration(java.lang.String type)Returns the string representation of a device configuration, returns a failure string if the configuration cannot be retrieved.- 
Methods inherited from interface org.onosproject.net.driver.HandlerBehaviour
handler, setHandler 
 - 
 
 - 
 
- 
- 
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.
 
 
 - 
 
 -