mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-19 11:21:13 +02:00
Marking ConfigProvider as deprecated.
Change-Id: I875f6cfe8bca1e080d39a5bcc18154c9c03b3d41
This commit is contained in:
parent
8baf44783b
commit
f9879c5f6a
@ -6,6 +6,8 @@
|
|||||||
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
|
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
|
||||||
. $ONOS_ROOT/tools/build/envDefaults
|
. $ONOS_ROOT/tools/build/envDefaults
|
||||||
|
|
||||||
|
echo "This facility has been deprecated and will be removed in 1.6.0 (Goldeneye) release!!!"
|
||||||
|
|
||||||
node="${1:-$OCI}"
|
node="${1:-$OCI}"
|
||||||
file="${2:-$ONOS_ROOT/tools/test/topos/oe-linear-3.json}"
|
file="${2:-$ONOS_ROOT/tools/test/topos/oe-linear-3.json}"
|
||||||
url="${3:-config/topology}"
|
url="${3:-config/topology}"
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
|
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
|
||||||
. $ONOS_ROOT/tools/build/envDefaults
|
. $ONOS_ROOT/tools/build/envDefaults
|
||||||
|
|
||||||
|
echo "This facility has been deprecated and will be removed in 1.6.0 (Goldeneye) release!!!"
|
||||||
|
|
||||||
nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2)
|
nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2)
|
||||||
|
|
||||||
for node in $nodes; do
|
for node in $nodes; do
|
||||||
|
@ -91,7 +91,10 @@ import static org.onosproject.net.device.DeviceEvent.Type.DEVICE_AVAILABILITY_CH
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Provider of devices and links parsed from a JSON configuration structure.
|
* Provider of devices and links parsed from a JSON configuration structure.
|
||||||
|
*
|
||||||
|
* @deprecated in 1.5.0 (Falcon)
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider {
|
class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider {
|
||||||
|
|
||||||
private final Logger log = LoggerFactory.getLogger(getClass());
|
private final Logger log = LoggerFactory.getLogger(getClass());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user