#include <interconnect_diagnostics_link_optical_power.h>
◆ InterconnectDiagnosticsLinkOpticalPower() [1/2]
google_compute_api::InterconnectDiagnosticsLinkOpticalPower::InterconnectDiagnosticsLinkOpticalPower |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ InterconnectDiagnosticsLinkOpticalPower() [2/2]
google_compute_api::InterconnectDiagnosticsLinkOpticalPower::InterconnectDiagnosticsLinkOpticalPower |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~InterconnectDiagnosticsLinkOpticalPower()
google_compute_api::InterconnectDiagnosticsLinkOpticalPower::~InterconnectDiagnosticsLinkOpticalPower |
( |
| ) |
|
|
virtual |
◆ clear_state()
void google_compute_api::InterconnectDiagnosticsLinkOpticalPower::clear_state |
( |
| ) |
|
|
inline |
Clears the 'state
' attribute.
◆ clear_value()
void google_compute_api::InterconnectDiagnosticsLinkOpticalPower::clear_value |
( |
| ) |
|
|
inline |
Clears the 'value
' attribute.
◆ get_state()
const StringPiece google_compute_api::InterconnectDiagnosticsLinkOpticalPower::get_state |
( |
| ) |
const |
|
inline |
Get the value of the 'state
' attribute.
◆ get_value()
float google_compute_api::InterconnectDiagnosticsLinkOpticalPower::get_value |
( |
| ) |
const |
|
inline |
Get the value of the 'value
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::InterconnectDiagnosticsLinkOpticalPower::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_state()
bool google_compute_api::InterconnectDiagnosticsLinkOpticalPower::has_state |
( |
| ) |
const |
|
inline |
Determine if the 'state
' attribute was set.
- Returns
- true if the '
state
' attribute was set.
◆ has_value()
bool google_compute_api::InterconnectDiagnosticsLinkOpticalPower::has_value |
( |
| ) |
const |
|
inline |
Determine if the 'value
' attribute was set.
- Returns
- true if the '
value
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_state()
void google_compute_api::InterconnectDiagnosticsLinkOpticalPower::set_state |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'state
' attribute.
The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include:
- OK
- The value has not crossed a warning threshold.
- LOW_WARNING
- The value has crossed below the low warning threshold.
- HIGH_WARNING
- The value has crossed above the high warning threshold.
- LOW_ALARM
- The value has crossed below the low alarm threshold.
- HIGH_ALARM
- The value has crossed above the high alarm threshold.
- Parameters
-
◆ set_value()
void google_compute_api::InterconnectDiagnosticsLinkOpticalPower::set_value |
( |
float |
value | ) |
|
|
inline |
Change the 'value
' attribute.
Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.
- Parameters
-
The documentation for this class was generated from the following files: