footprint.yang revision dbc30d32
1module footprint {
2  yang-version 1;
3  namespace "urn:opendaylight:params:xml:ns:yang:footprint";
4  prefix "footprint";
5
6  revision "2017-08-30" {
7    description "HC model for requesting current memory consumption";
8  }
9
10  container memory-footprint-state {
11    config false;
12
13    leaf footprint {
14        type uint32;
15        description "Memory footprint in kilobytes. Footprint is parsed as output of ps command, where RSS field is
16         read.
17
18         RSS is the Resident Set Size and is used to show how much memory is allocated to that process and is in RAM.
19         It does not include memory that is swapped out. It does include memory from shared libraries
20         as long as the pages from those libraries are actually in memory. It does include all stack and heap memory.";
21    }
22
23    leaf pid {
24        type uint32;
25        description "Process id of honeycomb";
26    }
27  }
28}
29