diff options
author | Lukas Larsson <[email protected]> | 2018-06-13 15:47:58 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2018-06-14 10:16:42 +0200 |
commit | c527ba3a2bed6e60d8a832e7977c3d8e8476a504 (patch) | |
tree | afa0a005906da538b6b08b9f099d1c9ba095c73f /lib/otp_mibs | |
parent | d0252a3cef9330eb0d8cc252cce79f6f8df26e03 (diff) | |
download | otp-c527ba3a2bed6e60d8a832e7977c3d8e8476a504.tar.gz otp-c527ba3a2bed6e60d8a832e7977c3d8e8476a504.tar.bz2 otp-c527ba3a2bed6e60d8a832e7977c3d8e8476a504.zip |
Deprecate otp_mibs
Diffstat (limited to 'lib/otp_mibs')
-rw-r--r-- | lib/otp_mibs/doc/src/otp_mib.xml | 5 | ||||
-rw-r--r-- | lib/otp_mibs/src/otp_mib.erl | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/otp_mibs/doc/src/otp_mib.xml b/lib/otp_mibs/doc/src/otp_mib.xml index 681ce9fa2d..adf3b00c7b 100644 --- a/lib/otp_mibs/doc/src/otp_mib.xml +++ b/lib/otp_mibs/doc/src/otp_mib.xml @@ -34,7 +34,10 @@ <p>The SNMP application should be used to start an SNMP agent. Then the API functions below can be used to load/unload the OTP-MIB into/from the agent. The instrumentation of the OTP-MIB uses - Mnesia, hence Mnesia must be started prior to loading the OTP-MIB.</p> + Mnesia, hence Mnesia must be started prior to loading the OTP-MIB.</p> + <warning> + <p>This application has been deprecated and will be removed in a furture release.</p> + </warning> </description> <funcs> <func> diff --git a/lib/otp_mibs/src/otp_mib.erl b/lib/otp_mibs/src/otp_mib.erl index 1431818be4..d18afd9bbd 100644 --- a/lib/otp_mibs/src/otp_mib.erl +++ b/lib/otp_mibs/src/otp_mib.erl @@ -36,6 +36,9 @@ %% Exported for internal use via rpc -export([get_erl_node/1, get_appls/1]). +-deprecated([{load,1,eventually}, + {unload,1,eventually}]). + %% Shadow tables -record(erlNodeTable, {erlNodeId, erlNodeName, erlNodeMachine, erlNodeVersion, |