Change N to int32 and M to uint32

Correction, because N can be negative, and M must be positive

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: I0819f23fa14dd774b7b0c760b5071d08d14e300b
This commit is contained in:
EstherLerouzic
2021-05-03 14:22:26 +02:00
parent 40bbb9b553
commit c80cf84ac6

View File

@@ -32,7 +32,7 @@ module gnpy-path-computation-simplified {
width";
reference "rfc7698";
leaf N {
type uint32;
type int32;
description
"Is used to determine the Nominal Central
Frequency. The set of nominal central frequencies
@@ -44,7 +44,7 @@ module gnpy-path-computation-simplified {
reference "rfc7698";
}
leaf M {
type int32;
type uint32;
description
"Is used to determine the slot width. A slot width
is constrained to be M x SWG (that is, M x 12.5 GHz),