module ieee1906-dot1-nanosensor {
yang-version 1.1;
namespace
"urn:ieee:std:1906.1:yang:ieee1906-dot1-nanosensor";
prefix ieee1906-nanosensor;
import ietf-interfaces {
prefix if;
}
import ieee1906-dot1-components {
prefix components;
}
import ieee1906-dot1-components {
prefix definitions;
}
import ieee1906-dot1-types {
prefix types;
}
organization
"P1906.1.1/D1.0 Draft Standard Data Model for Nanoscale Communication Systems Working Group";
contact
"IEEE P1906.1.1 Working Group
Chair: Stephen F. Bush <bushsf@research.ge.com>
Secretary: Guillaume Mantelet <gmantelet@voltigeurnetworks.com>";
description
"This is an example illustrating how to refine the 1906.1 framework
to include specific details regarding Nanosensors. The framework
augments ietf-interface.yang module, this means that our nanosensor
can be now described as an IETF interface system.";
revision "2020-07-07" {
description "Initial version.";
}
feature nanosensor {
description
"This nanoscale interface is a nanosensor.";
}
identity impact-of-scale-on-resonance {
base types:non-standard-physics;
description
"Apparently, scale of the system has an impact on its resonance
its motion.";
}
identity radio-frequency-modulation {
base types:perturbation;
description
"The instantaneous frequency deviation in carrier waves
transport message acting in our model as a perturbation. In
this model, modulation is performed over oscillations in the
range of 20Khz – 300GHz, and beyond.";
}
grouping resonance-metrics {
description
"This is a placeholder for Resonance metrics being used as
non-standard physics in this model.";
container resonance-metrics {
when
"derived-from-or-self(../definitions:type-of-definition, 'impact-of-scale-on-resonance')";
description
"The parent component must have a leaf of type 'impact-of-
scale-on-resonance' in order to be eligible to use this
container.";
} // container resonance-metrics
} // grouping resonance-metrics
augment /if:interfaces/if:interface/components:nanoscale-interface/definitions:definitions/definitions:definition {
if-feature nanosensor;
description
"Augment nanoscale interface with the resonance defined
in nanosensor example.";
uses resonance-metrics;
}
} // module ieee1906-dot1-nanosensor