blob: 277c957df43f284d46e7590dc02d4a980e6130fa [file] [log] [blame]
package net.onrc.onos.core.topology;
// TODO give me a better name.
/**
* Interface common to Topology element interfaces.
*/
public interface ITopologyElement {
// TODO The term Type is a bit confusing, may rename to something like layer
/**
* Returns the type of topology element.
*
* @return the type of the topology element
*/
public String getType();
/**
* Returns the config state of topology element.
*
* @return ConfigState
*/
public ConfigState getConfigState();
/**
* Returns the status of topology element.
*
* @return AdminStatus
*/
public AdminStatus getStatus();
}