Committed by
Gerrit Code Review
Marking ConfigProvider as deprecated.
Change-Id: I875f6cfe8bca1e080d39a5bcc18154c9c03b3d41
Showing
3 changed files
with
7 additions
and
0 deletions
... | @@ -6,6 +6,8 @@ | ... | @@ -6,6 +6,8 @@ |
6 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 | 6 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 |
7 | . $ONOS_ROOT/tools/build/envDefaults | 7 | . $ONOS_ROOT/tools/build/envDefaults |
8 | 8 | ||
9 | +echo "This facility has been deprecated and will be removed in 1.6.0 (Goldeneye) release!!!" | ||
10 | + | ||
9 | node="${1:-$OCI}" | 11 | node="${1:-$OCI}" |
10 | file="${2:-$ONOS_ROOT/tools/test/topos/oe-linear-3.json}" | 12 | file="${2:-$ONOS_ROOT/tools/test/topos/oe-linear-3.json}" |
11 | url="${3:-config/topology}" | 13 | url="${3:-config/topology}" | ... | ... |
... | @@ -6,6 +6,8 @@ | ... | @@ -6,6 +6,8 @@ |
6 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 | 6 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 |
7 | . $ONOS_ROOT/tools/build/envDefaults | 7 | . $ONOS_ROOT/tools/build/envDefaults |
8 | 8 | ||
9 | +echo "This facility has been deprecated and will be removed in 1.6.0 (Goldeneye) release!!!" | ||
10 | + | ||
9 | nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2) | 11 | nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2) |
10 | 12 | ||
11 | for node in $nodes; do | 13 | for node in $nodes; do | ... | ... |
... | @@ -91,7 +91,10 @@ import static org.onosproject.net.device.DeviceEvent.Type.DEVICE_AVAILABILITY_CH | ... | @@ -91,7 +91,10 @@ import static org.onosproject.net.device.DeviceEvent.Type.DEVICE_AVAILABILITY_CH |
91 | 91 | ||
92 | /** | 92 | /** |
93 | * Provider of devices and links parsed from a JSON configuration structure. | 93 | * Provider of devices and links parsed from a JSON configuration structure. |
94 | + * | ||
95 | + * @deprecated in 1.5.0 (Falcon) | ||
94 | */ | 96 | */ |
97 | +@Deprecated | ||
95 | class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider { | 98 | class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider { |
96 | 99 | ||
97 | private final Logger log = LoggerFactory.getLogger(getClass()); | 100 | private final Logger log = LoggerFactory.getLogger(getClass()); | ... | ... |
-
Please register or login to post a comment