diff options
author | 2019-01-11 07:45:19 +0100 | |
---|---|---|
committer | 2019-01-11 07:46:46 +0100 | |
commit | 8a72578cec9ffe5bf815e38918fd82b190f8af38 (patch) | |
tree | 38fc04ef4dab6431861119e63f4559d5ad59bd10 /src/plugins/yang/openconfig/openconfig-procmon.yang | |
parent | b70c4a3f70c08d93afb52ecb1bdd50a50feb1e1f (diff) |
Remove not supported openconfig yang modules.
Change-Id: I721def08356e64918424fdb889f545b64daeea88
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'src/plugins/yang/openconfig/openconfig-procmon.yang')
-rw-r--r-- | src/plugins/yang/openconfig/openconfig-procmon.yang | 165 |
1 files changed, 0 insertions, 165 deletions
diff --git a/src/plugins/yang/openconfig/openconfig-procmon.yang b/src/plugins/yang/openconfig/openconfig-procmon.yang deleted file mode 100644 index fa3bbde..0000000 --- a/src/plugins/yang/openconfig/openconfig-procmon.yang +++ /dev/null @@ -1,165 +0,0 @@ -module openconfig-procmon { - - yang-version "1"; - - // namespace - namespace "http://openconfig.net/yang/system/procmon"; - - prefix "oc-proc"; - - - // import some basic types - import openconfig-extensions { prefix oc-ext; } - import openconfig-types { prefix oc-types; } - - - // meta - organization "OpenConfig working group"; - - contact - "OpenConfig working group - www.openconfig.net"; - - description - "This module provides data definitions for process health - monitoring of one or more processes running on the system."; - - oc-ext:openconfig-version "0.3.0"; - - revision "2017-09-18" { - description - "Updated to use OpenConfig types modules"; - reference "0.3.0"; - } - - revision "2017-07-06" { - description - "Move to oc-inet types, add IETF attribution, add RADIUS - counters, changed password leaf names to indicate hashed"; - reference "0.2.0"; - } - - revision "2017-01-29" { - description - "Initial public release"; - reference "0.1.0"; - } - - - // grouping statements - - grouping procmon-processes-top { - description - "Top level grouping for attributes for processes."; - - container processes { - description - "Parameters related to all monitored processes"; - - list process { - key "pid"; - config false; - description - "List of monitored processes"; - - leaf pid { - type leafref { - path "../state/pid"; - } - description - "Reference to the process pid key"; - } - - container state { - config false; - description - "State parameters related to monitored processes"; - - uses procmon-process-attributes-state; - } - } - } - } - - grouping procmon-process-attributes-state { - description - "Attributes state definitions for a process"; - - leaf pid { - type uint64; - description - "The process pid"; - } - - leaf name { - type string; - description - "The process name"; - } - - leaf-list args { - type string; - description - "Current process command line arguments. Arguments with - a parameter (e.g., --option 10 or -option=10) should be - represented as a single element of the list with the - argument name and parameter together. Flag arguments, i.e., - those without a parameter should also be in their own list - element."; - } - - leaf start-time { - type uint64; - units "ns"; - description - "The time at which this process started, - reported as nanoseconds since the UNIX epoch. The - system must be synchronized such that the start-time - can be reported accurately, otherwise it should not be - reported."; - } - - leaf uptime { - type oc-types:timeticks64; - description - "Amount of time elapsed since this process started."; - } - - leaf cpu-usage-user { - type oc-types:timeticks64; - description - "CPU time consumed by this process in user mode."; - } - - leaf cpu-usage-system { - type oc-types:timeticks64; - description - "CPU time consumed by this process in kernel mode."; - } - - leaf cpu-utilization { - type oc-types:percentage; - description - "The percentage of CPU that is being used by the process."; - } - - leaf memory-usage { - type uint64; - units "bytes"; - description - "Bytes allocated and still in use by the process"; - } - - leaf memory-utilization { - type oc-types:percentage; - description - "The percentage of RAM that is being used by the process."; - } - } - - // augment statements - - // rpc statements - - // notification statements -} |