Add yang trees

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: I98a16ebea347ff4913840cf6f563c34ebcf8f8d9
This commit is contained in:
EstherLerouzic
2025-09-26 11:52:56 +02:00
parent f2039fbe1c
commit 09221504d7
7 changed files with 3048 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,21 @@
module: gnpy-edfa-config
+--rw edfa-config
+--rw f_min decimal64
+--rw f_max decimal64
+--ro nf_ripple* decimal64
+--ro dgt* decimal64
+--ro gain_ripple* decimal64
+--ro nf_fit_coeff* [coef_order]
+--ro coef_order uint8
+--ro nf_coef? decimal64
augment /gapi:api/gapi:extra-configs:
+--rw edfa-config
+--rw f_min decimal64
+--rw f_max decimal64
+--ro nf_ripple* decimal64
+--ro dgt* decimal64
+--ro gain_ripple* decimal64
+--ro nf_fit_coeff* [coef_order]
+--ro coef_order uint8
+--ro nf_coef? decimal64

View File

@@ -0,0 +1,602 @@
module: gnpy-eqpt-config
+--rw equipment
+--rw library-information
| +--rw name? string
| +--rw content-schema
| | +--rw module* module-with-revision-date
| +--rw description* string
| +--rw contact* string
| +--rw organization? string
| +--rw revision* [date]
| +--rw date string
| +--rw description? string
+--rw Edfa* [type_variety]
| +--rw type_variety string
| +--rw other_name* string
| +--rw f_min? decimal64
| +--rw f_max? decimal64
| +--rw allowed_for_design? boolean
| +--rw gain_flatmax? decimal64
| +--rw gain_min? decimal64
| +--rw extended_gain_range? decimal64
| +--rw p_max? decimal64
| +--rw type_def? identityref
| +--rw raman? boolean
| +--rw out_voa_auto? boolean
| +--rw in_voa_auto? boolean
| +--rw voa_step? decimal64
| +--rw pmd? decimal64
| +--rw pdl? decimal64
| +--rw (type_of_model)?
| +--:(variable_gain)
| | +--rw nf_min? decimal64
| | +--rw nf_max? decimal64
| | +--rw default_config_from_json? string
| +--:(fixed_gain)
| | +--rw nf0? decimal64
| +--:(openroadm)
| | +--rw nf_coef* [coef_order]
| | +--rw coef_order uint8
| | +--rw nf_coef? decimal64
| +--:(dual_stage)
| | +--rw preamp_variety? union
| | +--rw booster_variety? union
| +--:(multi_band)
| | +--rw amplifiers* string
| +--:(advanced_model)
| +--rw advanced_config_from_json? string
+--rw Fiber* [type_variety]
| +--rw type_variety string
| +--rw dispersion? decimal64
| +--rw gamma? decimal64
| +--rw pmd_coef? decimal64
| +--rw effective_area? decimal64
| +--rw loss_coef_lut* [freq]
| | +--rw freq decimal64
| | +--rw loss_coef_value? decimal64
| +--rw (ref_freq_or_wl)?
| +--:(frequency)
| | +--rw ref_frequency? decimal64
| +--:(wavelength)
| +--rw ref_wavelength? decimal64
+--rw RamanFiber* [type_variety]
| +--rw type_variety string
| +--rw dispersion? decimal64
| +--rw gamma? decimal64
| +--rw pmd_coef? decimal64
| +--rw effective_area? decimal64
| +--rw loss_coef_lut* [freq]
| | +--rw freq decimal64
| | +--rw loss_coef_value? decimal64
| +--rw (ref_freq_or_wl)?
| | +--:(frequency)
| | | +--rw ref_frequency? decimal64
| | +--:(wavelength)
| | +--rw ref_wavelength? decimal64
| +--rw raman_efficiency* [frequency_offset]
| +--rw cr? decimal64
| +--rw frequency_offset decimal64
+--ro Span* []
| +--ro power_mode? boolean
| +--ro delta_power_range_dict_db
| | +--ro min_value? decimal64
| | +--ro max_value? decimal64
| | +--ro step? decimal64
| +--ro max_length? decimal64
| +--ro max_loss? decimal64
| +--ro max_fiber_lineic_loss_for_raman? decimal64
| +--ro target_extended_gain? decimal64
| +--ro length_units? string
| +--ro padding? decimal64
| +--ro EOL? decimal64
| +--ro con_in? decimal64
| +--ro con_out? decimal64
| +--ro span_loss_ref? decimal64
| +--ro power_slope? decimal64
| +--ro voa_margin? decimal64
| +--ro voa_step? decimal64
+--rw Roadm* [type_variety]
| +--rw type_variety string
| +--rw (target_type)?
| | +--:(constant_power)
| | | +--rw target_pch_out_db? decimal64
| | +--:(constant_psd)
| | | +--rw target_psd_out_mWperGHz? decimal64
| | +--:(constant_psw)
| | +--rw target_out_mWperSlotWidth? decimal64
| +--rw add_drop_osnr? decimal64
| +--rw pmd? decimal64
| +--rw pdl? decimal64
| +--rw restrictions
| | +--rw preamp_variety_list* string
| | +--rw booster_variety_list* string
| +--rw roadm-path-impairments* [roadm-path-impairments-id]
| +--rw roadm-path-impairments-id uint32
| +--rw (impairment-type)?
| +--:(roadm-express-path)
| | +--ro roadm-express-path* []
| | +--ro frequency-range
| | | +--ro lower-frequency union
| | | +--ro upper-frequency union
| | +--ro roadm-pmd? union
| | +--ro roadm-cd? l0-types:decimal-5-or-null
| | +--ro roadm-pdl? l0-types:power-loss-or-null
| | +--ro roadm-inband-crosstalk? l0-types:decimal-2-or-null
| | +--ro roadm-maxloss? l0-types:power-loss-or-null
| | +--ro roadm-osnr? l0-types:snr-or-null
| +--:(roadm-add-path)
| | +--ro roadm-add-path* []
| | +--ro frequency-range
| | | +--ro lower-frequency union
| | | +--ro upper-frequency union
| | +--ro roadm-pmd? union
| | +--ro roadm-cd? l0-types:decimal-5-or-null
| | +--ro roadm-pdl? l0-types:power-loss-or-null
| | +--ro roadm-inband-crosstalk? l0-types:decimal-2-or-null
| | +--ro roadm-maxloss? l0-types:power-loss-or-null
| | +--ro roadm-pmax? l0-types:power-dbm-or-null
| | +--ro roadm-osnr? l0-types:snr-or-null
| | +--ro roadm-noise-figure? l0-types:decimal-5-or-null
| +--:(roadm-drop-path)
| +--ro roadm-drop-path* []
| +--ro frequency-range
| | +--ro lower-frequency union
| | +--ro upper-frequency union
| +--ro roadm-pmd? union
| +--ro roadm-cd? l0-types:decimal-5-or-null
| +--ro roadm-pdl? l0-types:power-loss-or-null
| +--ro roadm-inband-crosstalk? l0-types:decimal-2-or-null
| +--ro roadm-maxloss? l0-types:power-loss-or-null
| +--ro roadm-minloss? l0-types:power-loss-or-null
| +--ro roadm-typloss? l0-types:power-loss-or-null
| +--ro roadm-pmin? l0-types:power-dbm-or-null
| +--ro roadm-pmax? l0-types:power-dbm-or-null
| +--ro roadm-ptyp? l0-types:power-dbm-or-null
| +--ro roadm-osnr? l0-types:snr-or-null
| +--ro roadm-noise-figure? l0-types:decimal-5-or-null
+--ro SI* []
| +--ro f_min? decimal64
| +--ro f_max? decimal64
| +--ro spacing? decimal64
| +--ro power_dbm? decimal64
| +--ro power_range_dict_db
| | +--ro min_value? decimal64
| | +--ro max_value? decimal64
| | +--ro step? decimal64
| +--ro type_variety? string
| +--ro sys_margins? decimal64
| +--ro use_si_channel_count_for_design? boolean
| +--ro baud_rate? decimal64
| +--ro tx_osnr? decimal64
| +--ro roll_off? union
| +--ro tx_power_dbm? decimal64
+--rw Transceiver* [type_variety]
+--rw type_variety string
+--rw other_name* string
+--rw comment? string
+--rw frequency
| +--rw min? decimal64
| +--rw max? decimal64
+--rw mode* [format]
+--rw format string
+--rw other_name* string
+--rw OSNR? decimal64
+--rw min_spacing? decimal64
+--rw bit_rate? decimal64
+--rw cost? decimal64
+--rw baud_rate? decimal64
+--rw tx_osnr? decimal64
+--rw roll_off? union
+--rw tx_power_dbm? decimal64
+--ro penalties* []
| +--ro chromatic_dispersion? decimal64
| +--ro pmd? decimal64
| +--ro pdl? decimal64
| +--ro rx-channel-power-value? decimal64
| +--ro penalty_value? decimal64
+--rw equalization_offset_db? decimal64
+--rw tx-channel-power-min? decimal64
+--rw tx-channel-power-max? decimal64
+--rw rx-channel-power-min? decimal64
+--rw rx-channel-power-max? decimal64
augment /gapi:api:
+--rw equipment
+--rw library-information
| +--rw name? string
| +--rw content-schema
| | +--rw module* module-with-revision-date
| +--rw description* string
| +--rw contact* string
| +--rw organization? string
| +--rw revision* [date]
| +--rw date string
| +--rw description? string
+--rw Edfa* [type_variety]
| +--rw type_variety string
| +--rw other_name* string
| +--rw f_min? decimal64
| +--rw f_max? decimal64
| +--rw allowed_for_design? boolean
| +--rw gain_flatmax? decimal64
| +--rw gain_min? decimal64
| +--rw extended_gain_range? decimal64
| +--rw p_max? decimal64
| +--rw type_def? identityref
| +--rw raman? boolean
| +--rw out_voa_auto? boolean
| +--rw in_voa_auto? boolean
| +--rw voa_step? decimal64
| +--rw pmd? decimal64
| +--rw pdl? decimal64
| +--rw (type_of_model)?
| +--:(variable_gain)
| | +--rw nf_min? decimal64
| | +--rw nf_max? decimal64
| | +--rw default_config_from_json? string
| +--:(fixed_gain)
| | +--rw nf0? decimal64
| +--:(openroadm)
| | +--rw nf_coef* [coef_order]
| | +--rw coef_order uint8
| | +--rw nf_coef? decimal64
| +--:(dual_stage)
| | +--rw preamp_variety? union
| | +--rw booster_variety? union
| +--:(multi_band)
| | +--rw amplifiers* string
| +--:(advanced_model)
| +--rw advanced_config_from_json? string
+--rw Fiber* [type_variety]
| +--rw type_variety string
| +--rw dispersion? decimal64
| +--rw gamma? decimal64
| +--rw pmd_coef? decimal64
| +--rw effective_area? decimal64
| +--rw loss_coef_lut* [freq]
| | +--rw freq decimal64
| | +--rw loss_coef_value? decimal64
| +--rw (ref_freq_or_wl)?
| +--:(frequency)
| | +--rw ref_frequency? decimal64
| +--:(wavelength)
| +--rw ref_wavelength? decimal64
+--rw RamanFiber* [type_variety]
| +--rw type_variety string
| +--rw dispersion? decimal64
| +--rw gamma? decimal64
| +--rw pmd_coef? decimal64
| +--rw effective_area? decimal64
| +--rw loss_coef_lut* [freq]
| | +--rw freq decimal64
| | +--rw loss_coef_value? decimal64
| +--rw (ref_freq_or_wl)?
| | +--:(frequency)
| | | +--rw ref_frequency? decimal64
| | +--:(wavelength)
| | +--rw ref_wavelength? decimal64
| +--rw raman_efficiency* [frequency_offset]
| +--rw cr? decimal64
| +--rw frequency_offset decimal64
+--ro Span* []
| +--ro power_mode? boolean
| +--ro delta_power_range_dict_db
| | +--ro min_value? decimal64
| | +--ro max_value? decimal64
| | +--ro step? decimal64
| +--ro max_length? decimal64
| +--ro max_loss? decimal64
| +--ro max_fiber_lineic_loss_for_raman? decimal64
| +--ro target_extended_gain? decimal64
| +--ro length_units? string
| +--ro padding? decimal64
| +--ro EOL? decimal64
| +--ro con_in? decimal64
| +--ro con_out? decimal64
| +--ro span_loss_ref? decimal64
| +--ro power_slope? decimal64
| +--ro voa_margin? decimal64
| +--ro voa_step? decimal64
+--rw Roadm* [type_variety]
| +--rw type_variety string
| +--rw (target_type)?
| | +--:(constant_power)
| | | +--rw target_pch_out_db? decimal64
| | +--:(constant_psd)
| | | +--rw target_psd_out_mWperGHz? decimal64
| | +--:(constant_psw)
| | +--rw target_out_mWperSlotWidth? decimal64
| +--rw add_drop_osnr? decimal64
| +--rw pmd? decimal64
| +--rw pdl? decimal64
| +--rw restrictions
| | +--rw preamp_variety_list* string
| | +--rw booster_variety_list* string
| +--rw roadm-path-impairments* [roadm-path-impairments-id]
| +--rw roadm-path-impairments-id uint32
| +--rw (impairment-type)?
| +--:(roadm-express-path)
| | +--ro roadm-express-path* []
| | +--ro frequency-range
| | | +--ro lower-frequency union
| | | +--ro upper-frequency union
| | +--ro roadm-pmd? union
| | +--ro roadm-cd? l0-types:decimal-5-or-null
| | +--ro roadm-pdl? l0-types:power-loss-or-null
| | +--ro roadm-inband-crosstalk? l0-types:decimal-2-or-null
| | +--ro roadm-maxloss? l0-types:power-loss-or-null
| +--:(roadm-add-path)
| | +--ro roadm-add-path* []
| | +--ro frequency-range
| | | +--ro lower-frequency union
| | | +--ro upper-frequency union
| | +--ro roadm-pmd? union
| | +--ro roadm-cd? l0-types:decimal-5-or-null
| | +--ro roadm-pdl? l0-types:power-loss-or-null
| | +--ro roadm-inband-crosstalk? l0-types:decimal-2-or-null
| | +--ro roadm-maxloss? l0-types:power-loss-or-null
| | +--ro roadm-pmax? l0-types:power-dbm-or-null
| | +--ro roadm-osnr? l0-types:snr-or-null
| | +--ro roadm-noise-figure? l0-types:decimal-5-or-null
| +--:(roadm-drop-path)
| +--ro roadm-drop-path* []
| +--ro frequency-range
| | +--ro lower-frequency union
| | +--ro upper-frequency union
| +--ro roadm-pmd? union
| +--ro roadm-cd? l0-types:decimal-5-or-null
| +--ro roadm-pdl? l0-types:power-loss-or-null
| +--ro roadm-inband-crosstalk? l0-types:decimal-2-or-null
| +--ro roadm-maxloss? l0-types:power-loss-or-null
| +--ro roadm-minloss? l0-types:power-loss-or-null
| +--ro roadm-typloss? l0-types:power-loss-or-null
| +--ro roadm-pmin? l0-types:power-dbm-or-null
| +--ro roadm-pmax? l0-types:power-dbm-or-null
| +--ro roadm-ptyp? l0-types:power-dbm-or-null
| +--ro roadm-osnr? l0-types:snr-or-null
| +--ro roadm-noise-figure? l0-types:decimal-5-or-null
+--ro SI* []
| +--ro f_min? decimal64
| +--ro f_max? decimal64
| +--ro spacing? decimal64
| +--ro power_dbm? decimal64
| +--ro power_range_dict_db
| | +--ro min_value? decimal64
| | +--ro max_value? decimal64
| | +--ro step? decimal64
| +--ro type_variety? string
| +--ro sys_margins? decimal64
| +--ro use_si_channel_count_for_design? boolean
| +--ro baud_rate? decimal64
| +--ro tx_osnr? decimal64
| +--ro roll_off? union
| +--ro tx_power_dbm? decimal64
+--rw Transceiver* [type_variety]
+--rw type_variety string
+--rw other_name* string
+--rw comment? string
+--rw frequency
| +--rw min? decimal64
| +--rw max? decimal64
+--rw mode* [format]
+--rw format string
+--rw other_name* string
+--rw OSNR? decimal64
+--rw min_spacing? decimal64
+--rw bit_rate? decimal64
+--rw cost? decimal64
+--rw baud_rate? decimal64
+--rw tx_osnr? decimal64
+--rw roll_off? union
+--rw tx_power_dbm? decimal64
+--ro penalties* []
| +--ro chromatic_dispersion? decimal64
| +--ro pmd? decimal64
| +--ro pdl? decimal64
| +--ro rx-channel-power-value? decimal64
| +--ro penalty_value? decimal64
+--rw equalization_offset_db? decimal64
+--rw tx-channel-power-min? decimal64
+--rw tx-channel-power-max? decimal64
+--rw rx-channel-power-min? decimal64
+--rw rx-channel-power-max? decimal64
augment /gapi:api/gapi:extra-eqpts:
+--rw equipment
+--rw library-information
| +--rw name? string
| +--rw content-schema
| | +--rw module* module-with-revision-date
| +--rw description* string
| +--rw contact* string
| +--rw organization? string
| +--rw revision* [date]
| +--rw date string
| +--rw description? string
+--rw Edfa* [type_variety]
| +--rw type_variety string
| +--rw other_name* string
| +--rw f_min? decimal64
| +--rw f_max? decimal64
| +--rw allowed_for_design? boolean
| +--rw gain_flatmax? decimal64
| +--rw gain_min? decimal64
| +--rw extended_gain_range? decimal64
| +--rw p_max? decimal64
| +--rw type_def? identityref
| +--rw raman? boolean
| +--rw out_voa_auto? boolean
| +--rw in_voa_auto? boolean
| +--rw voa_step? decimal64
| +--rw pmd? decimal64
| +--rw pdl? decimal64
| +--rw (type_of_model)?
| +--:(variable_gain)
| | +--rw nf_min? decimal64
| | +--rw nf_max? decimal64
| | +--rw default_config_from_json? string
| +--:(fixed_gain)
| | +--rw nf0? decimal64
| +--:(openroadm)
| | +--rw nf_coef* [coef_order]
| | +--rw coef_order uint8
| | +--rw nf_coef? decimal64
| +--:(dual_stage)
| | +--rw preamp_variety? union
| | +--rw booster_variety? union
| +--:(multi_band)
| | +--rw amplifiers* string
| +--:(advanced_model)
| +--rw advanced_config_from_json? string
+--rw Fiber* [type_variety]
| +--rw type_variety string
| +--rw dispersion? decimal64
| +--rw gamma? decimal64
| +--rw pmd_coef? decimal64
| +--rw effective_area? decimal64
| +--rw loss_coef_lut* [freq]
| | +--rw freq decimal64
| | +--rw loss_coef_value? decimal64
| +--rw (ref_freq_or_wl)?
| +--:(frequency)
| | +--rw ref_frequency? decimal64
| +--:(wavelength)
| +--rw ref_wavelength? decimal64
+--rw RamanFiber* [type_variety]
| +--rw type_variety string
| +--rw dispersion? decimal64
| +--rw gamma? decimal64
| +--rw pmd_coef? decimal64
| +--rw effective_area? decimal64
| +--rw loss_coef_lut* [freq]
| | +--rw freq decimal64
| | +--rw loss_coef_value? decimal64
| +--rw (ref_freq_or_wl)?
| | +--:(frequency)
| | | +--rw ref_frequency? decimal64
| | +--:(wavelength)
| | +--rw ref_wavelength? decimal64
| +--rw raman_efficiency* [frequency_offset]
| +--rw cr? decimal64
| +--rw frequency_offset decimal64
+--ro Span* []
| +--ro power_mode? boolean
| +--ro delta_power_range_dict_db
| | +--ro min_value? decimal64
| | +--ro max_value? decimal64
| | +--ro step? decimal64
| +--ro max_length? decimal64
| +--ro max_loss? decimal64
| +--ro max_fiber_lineic_loss_for_raman? decimal64
| +--ro target_extended_gain? decimal64
| +--ro length_units? string
| +--ro padding? decimal64
| +--ro EOL? decimal64
| +--ro con_in? decimal64
| +--ro con_out? decimal64
| +--ro span_loss_ref? decimal64
| +--ro power_slope? decimal64
| +--ro voa_margin? decimal64
| +--ro voa_step? decimal64
+--rw Roadm* [type_variety]
| +--rw type_variety string
| +--rw (target_type)?
| | +--:(constant_power)
| | | +--rw target_pch_out_db? decimal64
| | +--:(constant_psd)
| | | +--rw target_psd_out_mWperGHz? decimal64
| | +--:(constant_psw)
| | +--rw target_out_mWperSlotWidth? decimal64
| +--rw add_drop_osnr? decimal64
| +--rw pmd? decimal64
| +--rw pdl? decimal64
| +--rw restrictions
| | +--rw preamp_variety_list* string
| | +--rw booster_variety_list* string
| +--rw roadm-path-impairments* [roadm-path-impairments-id]
| +--rw roadm-path-impairments-id uint32
| +--rw (impairment-type)?
| +--:(roadm-express-path)
| | +--ro roadm-express-path* []
| | +--ro frequency-range
| | | +--ro lower-frequency union
| | | +--ro upper-frequency union
| | +--ro roadm-pmd? union
| | +--ro roadm-cd? l0-types:decimal-5-or-null
| | +--ro roadm-pdl? l0-types:power-loss-or-null
| | +--ro roadm-inband-crosstalk? l0-types:decimal-2-or-null
| | +--ro roadm-maxloss? l0-types:power-loss-or-null
| +--:(roadm-add-path)
| | +--ro roadm-add-path* []
| | +--ro frequency-range
| | | +--ro lower-frequency union
| | | +--ro upper-frequency union
| | +--ro roadm-pmd? union
| | +--ro roadm-cd? l0-types:decimal-5-or-null
| | +--ro roadm-pdl? l0-types:power-loss-or-null
| | +--ro roadm-inband-crosstalk? l0-types:decimal-2-or-null
| | +--ro roadm-maxloss? l0-types:power-loss-or-null
| | +--ro roadm-pmax? l0-types:power-dbm-or-null
| | +--ro roadm-osnr? l0-types:snr-or-null
| | +--ro roadm-noise-figure? l0-types:decimal-5-or-null
| +--:(roadm-drop-path)
| +--ro roadm-drop-path* []
| +--ro frequency-range
| | +--ro lower-frequency union
| | +--ro upper-frequency union
| +--ro roadm-pmd? union
| +--ro roadm-cd? l0-types:decimal-5-or-null
| +--ro roadm-pdl? l0-types:power-loss-or-null
| +--ro roadm-inband-crosstalk? l0-types:decimal-2-or-null
| +--ro roadm-maxloss? l0-types:power-loss-or-null
| +--ro roadm-minloss? l0-types:power-loss-or-null
| +--ro roadm-typloss? l0-types:power-loss-or-null
| +--ro roadm-pmin? l0-types:power-dbm-or-null
| +--ro roadm-pmax? l0-types:power-dbm-or-null
| +--ro roadm-ptyp? l0-types:power-dbm-or-null
| +--ro roadm-osnr? l0-types:snr-or-null
| +--ro roadm-noise-figure? l0-types:decimal-5-or-null
+--ro SI* []
| +--ro f_min? decimal64
| +--ro f_max? decimal64
| +--ro spacing? decimal64
| +--ro power_dbm? decimal64
| +--ro power_range_dict_db
| | +--ro min_value? decimal64
| | +--ro max_value? decimal64
| | +--ro step? decimal64
| +--ro type_variety? string
| +--ro sys_margins? decimal64
| +--ro use_si_channel_count_for_design? boolean
| +--ro baud_rate? decimal64
| +--ro tx_osnr? decimal64
| +--ro roll_off? union
| +--ro tx_power_dbm? decimal64
+--rw Transceiver* [type_variety]
+--rw type_variety string
+--rw other_name* string
+--rw comment? string
+--rw frequency
| +--rw min? decimal64
| +--rw max? decimal64
+--rw mode* [format]
+--rw format string
+--rw other_name* string
+--rw OSNR? decimal64
+--rw min_spacing? decimal64
+--rw bit_rate? decimal64
+--rw cost? decimal64
+--rw baud_rate? decimal64
+--rw tx_osnr? decimal64
+--rw roll_off? union
+--rw tx_power_dbm? decimal64
+--ro penalties* []
| +--ro chromatic_dispersion? decimal64
| +--ro pmd? decimal64
| +--ro pdl? decimal64
| +--ro rx-channel-power-value? decimal64
| +--ro penalty_value? decimal64
+--rw equalization_offset_db? decimal64
+--rw tx-channel-power-min? decimal64
+--rw tx-channel-power-max? decimal64
+--rw rx-channel-power-min? decimal64
+--rw rx-channel-power-max? decimal64

View File

@@ -0,0 +1,265 @@
module: gnpy-network-topology
+--rw topology
+--rw elements* [uid]
| +--rw uid string
| +--rw type identityref
| +--rw type_variety? string
| +--rw metadata
| | +--rw location
| | +--rw city? union
| | +--rw region? union
| | +--rw latitude? Coordinate
| | +--rw longitude? Coordinate
| +--rw operational
| | +--rw (ramanfiber)?
| | +--:(RamanFiber)
| | | +--rw temperature? decimal64
| | | +--rw raman_pumps* [frequency]
| | | +--rw power? decimal64
| | | +--rw frequency decimal64
| | | +--rw propagation_direction? identityref
| | +--:(Edfa)
| | +--rw gain_target? union
| | +--rw tilt_target? union
| | +--rw out_voa? union
| | +--rw in_voa? union
| | +--rw delta_p? union
| | +--rw f_min? decimal64
| | +--rw f_max? decimal64
| +--rw (element-type)?
| +--:(FiberRoadm)
| | +--rw params
| | +--rw (fiberroadmfused)?
| | +--:(Fiber)
| | | +--rw length decimal64
| | | +--rw pmd_coef? decimal64
| | | +--rw (ref_freq_or_wl)?
| | | | +--:(frequency)
| | | | | +--rw ref_frequency? decimal64
| | | | +--:(wavelength)
| | | | +--rw ref_wavelength? decimal64
| | | +--rw (dispersion-vector-or-scalar)?
| | | | +--:(scalar)
| | | | | +--rw dispersion? decimal64
| | | | | +--rw dispersion_slope? decimal64
| | | | +--:(vector)
| | | | +--rw dispersion_per_frequency* [frequency]
| | | | +--rw frequency decimal64
| | | | +--rw dispersion? decimal64
| | | +--rw effective_area? decimal64
| | | +--rw gamma? decimal64
| | | +--rw raman_coefficient
| | | | +--rw reference_frequency? decimal64
| | | | +--rw g0_per_frequency* [frequency_offset]
| | | | +--rw frequency_offset decimal64
| | | | +--rw g0? decimal64
| | | +--rw lumped_losses* [position]
| | | | +--rw position decimal64
| | | | +--rw loss decimal64
| | | +--rw (loss_coef-vector-or-scalar)?
| | | | +--:(scalar)
| | | | | +--rw loss_coef decimal64
| | | | +--:(vector)
| | | | +--rw loss_coef_per_frequency* [frequency]
| | | | +--rw frequency decimal64
| | | | +--rw loss_coef_value? decimal64
| | | +--rw length_units identityref
| | | +--rw att_in? decimal64
| | | +--rw con_in? union
| | | +--rw con_out? union
| | +--:(RoadmTransceiver)
| | | +--rw design_bands* [f_min]
| | | | +--rw f_min decimal64
| | | | +--rw f_max? decimal64
| | | | +--rw (parameter-used-for-design)?
| | | | +--:(spacing)
| | | | | +--rw spacing? decimal64
| | | | +--:(number-of-channels)
| | | | +--rw number-of-channels? uint16
| | | +--rw per_degree_design_bands_targets* [degree_uid]
| | | | +--rw degree_uid -> ../../../../elements/uid
| | | | +--rw design_bands* [f_min]
| | | | +--rw f_min decimal64
| | | | +--rw f_max? decimal64
| | | | +--rw (parameter-used-for-design)?
| | | | +--:(spacing)
| | | | | +--rw spacing? decimal64
| | | | +--:(number-of-channels)
| | | | +--rw number-of-channels? uint16
| | | +--rw (roadm)?
| | | +--:(roadm)
| | | +--rw (target_type)?
| | | | +--:(constant_power)
| | | | | +--rw target_pch_out_db? decimal64
| | | | +--:(constant_psd)
| | | | | +--rw target_psd_out_mWperGHz? decimal64
| | | | +--:(constant_psw)
| | | | +--rw target_out_mWperSlotWidth? decimal64
| | | +--rw restrictions
| | | | +--rw preamp_variety_list* string
| | | | +--rw booster_variety_list* string
| | | +--rw per_degree_power_targets* [degree_uid]
| | | | +--rw degree_uid -> ../../../../elements/uid
| | | | +--rw (per_degree_target_type)?
| | | | +--:(constant_power)
| | | | | +--rw per_degree_pch_out_db? decimal64
| | | | +--:(constant_psd)
| | | | | +--rw per_degree_psd_out_mWperGHz? decimal64
| | | | +--:(constant_psw)
| | | | +--rw per_degree_psd_out_mWperSlotWidth? decimal64
| | | +--rw per_degree_impairments* [from_degree to_degree]
| | | +--rw from_degree -> ../../../../elements/uid
| | | +--rw to_degree -> ../../../../elements/uid
| | | +--rw impairment_id? uint32
| | +--:(Fused)
| | | +--rw loss? union
| | +--:(Multiband_amplifier)
| | +--rw variety_list* string
| +--:(Multiband_amplifier)
| +--rw amplifiers* [type_variety]
| +--rw type_variety string
| +--rw operational
| +--rw gain_target? union
| +--rw tilt_target? union
| +--rw out_voa? union
| +--rw in_voa? union
| +--rw delta_p? union
| +--rw f_min? decimal64
| +--rw f_max? decimal64
+--rw connections* [from_node to_node]
| +--rw from_node -> ../../elements/uid
| +--rw to_node -> ../../elements/uid
+--rw network_name? string
augment /gapi:api:
+--rw topology
+--rw elements* [uid]
| +--rw uid string
| +--rw type identityref
| +--rw type_variety? string
| +--rw metadata
| | +--rw location
| | +--rw city? union
| | +--rw region? union
| | +--rw latitude? Coordinate
| | +--rw longitude? Coordinate
| +--rw operational
| | +--rw (ramanfiber)?
| | +--:(RamanFiber)
| | | +--rw temperature? decimal64
| | | +--rw raman_pumps* [frequency]
| | | +--rw power? decimal64
| | | +--rw frequency decimal64
| | | +--rw propagation_direction? identityref
| | +--:(Edfa)
| | +--rw gain_target? union
| | +--rw tilt_target? union
| | +--rw out_voa? union
| | +--rw in_voa? union
| | +--rw delta_p? union
| | +--rw f_min? decimal64
| | +--rw f_max? decimal64
| +--rw (element-type)?
| +--:(FiberRoadm)
| | +--rw params
| | +--rw (fiberroadmfused)?
| | +--:(Fiber)
| | | +--rw length decimal64
| | | +--rw pmd_coef? decimal64
| | | +--rw (ref_freq_or_wl)?
| | | | +--:(frequency)
| | | | | +--rw ref_frequency? decimal64
| | | | +--:(wavelength)
| | | | +--rw ref_wavelength? decimal64
| | | +--rw (dispersion-vector-or-scalar)?
| | | | +--:(scalar)
| | | | | +--rw dispersion? decimal64
| | | | | +--rw dispersion_slope? decimal64
| | | | +--:(vector)
| | | | +--rw dispersion_per_frequency* [frequency]
| | | | +--rw frequency decimal64
| | | | +--rw dispersion? decimal64
| | | +--rw effective_area? decimal64
| | | +--rw gamma? decimal64
| | | +--rw raman_coefficient
| | | | +--rw reference_frequency? decimal64
| | | | +--rw g0_per_frequency* [frequency_offset]
| | | | +--rw frequency_offset decimal64
| | | | +--rw g0? decimal64
| | | +--rw lumped_losses* [position]
| | | | +--rw position decimal64
| | | | +--rw loss decimal64
| | | +--rw (loss_coef-vector-or-scalar)?
| | | | +--:(scalar)
| | | | | +--rw loss_coef decimal64
| | | | +--:(vector)
| | | | +--rw loss_coef_per_frequency* [frequency]
| | | | +--rw frequency decimal64
| | | | +--rw loss_coef_value? decimal64
| | | +--rw length_units identityref
| | | +--rw att_in? decimal64
| | | +--rw con_in? union
| | | +--rw con_out? union
| | +--:(RoadmTransceiver)
| | | +--rw design_bands* [f_min]
| | | | +--rw f_min decimal64
| | | | +--rw f_max? decimal64
| | | | +--rw (parameter-used-for-design)?
| | | | +--:(spacing)
| | | | | +--rw spacing? decimal64
| | | | +--:(number-of-channels)
| | | | +--rw number-of-channels? uint16
| | | +--rw per_degree_design_bands_targets* [degree_uid]
| | | | +--rw degree_uid -> ../../../../elements/uid
| | | | +--rw design_bands* [f_min]
| | | | +--rw f_min decimal64
| | | | +--rw f_max? decimal64
| | | | +--rw (parameter-used-for-design)?
| | | | +--:(spacing)
| | | | | +--rw spacing? decimal64
| | | | +--:(number-of-channels)
| | | | +--rw number-of-channels? uint16
| | | +--rw (roadm)?
| | | +--:(roadm)
| | | +--rw (target_type)?
| | | | +--:(constant_power)
| | | | | +--rw target_pch_out_db? decimal64
| | | | +--:(constant_psd)
| | | | | +--rw target_psd_out_mWperGHz? decimal64
| | | | +--:(constant_psw)
| | | | +--rw target_out_mWperSlotWidth? decimal64
| | | +--rw restrictions
| | | | +--rw preamp_variety_list* string
| | | | +--rw booster_variety_list* string
| | | +--rw per_degree_power_targets* [degree_uid]
| | | | +--rw degree_uid -> ../../../../elements/uid
| | | | +--rw (per_degree_target_type)?
| | | | +--:(constant_power)
| | | | | +--rw per_degree_pch_out_db? decimal64
| | | | +--:(constant_psd)
| | | | | +--rw per_degree_psd_out_mWperGHz? decimal64
| | | | +--:(constant_psw)
| | | | +--rw per_degree_psd_out_mWperSlotWidth? decimal64
| | | +--rw per_degree_impairments* [from_degree to_degree]
| | | +--rw from_degree -> ../../../../elements/uid
| | | +--rw to_degree -> ../../../../elements/uid
| | | +--rw impairment_id? uint32
| | +--:(Fused)
| | | +--rw loss? union
| | +--:(Multiband_amplifier)
| | +--rw variety_list* string
| +--:(Multiband_amplifier)
| +--rw amplifiers* [type_variety]
| +--rw type_variety string
| +--rw operational
| +--rw gain_target? union
| +--rw tilt_target? union
| +--rw out_voa? union
| +--rw in_voa? union
| +--rw delta_p? union
| +--rw f_min? decimal64
| +--rw f_max? decimal64
+--rw connections* [from_node to_node]
| +--rw from_node -> ../../elements/uid
| +--rw to_node -> ../../elements/uid
+--rw network_name? string

View File

@@ -0,0 +1,235 @@
module: gnpy-path-computation
+--rw services
| +--rw path-request* [request-id]
| | +--rw request-id string
| | +--rw bidirectional boolean
| | +--rw source? string
| | +--rw destination? string
| | +--rw src-tp-id? string
| | +--rw dst-tp-id? string
| | +--rw explicit-route-objects
| | | +--ro route-object-include-exclude* [index]
| | | +--ro explicit-route-usage? identityref
| | | +--ro index uint32
| | | +--ro (subobject-type)?
| | | +--:(num-unnum-hop)
| | | | +--ro num-unnum-hop
| | | | +--ro node-id? string
| | | | +--ro link-tp-id? string
| | | | +--ro hop-type? te-hop-type
| | | +--:(label)
| | | | +--ro label-hop* [N]
| | | | +--ro N union
| | | | +--ro M? union
| | | +--:(hop-attribute)
| | | +--ro (hop-type)?
| | | +--:(tsp)
| | | | +--ro transponder
| | | | +--ro transponder-type? string
| | | | +--ro transponder-mode? string
| | | +--:(regen)
| | | +--ro regenerator
| | | +--ro transponder-type? string
| | | +--ro transponder-mode? string
| | +--rw path-constraints
| | +--rw te-bandwidth
| | +--rw technology? string
| | +--rw trx_type string
| | +--rw trx_mode? union
| | +--rw effective-freq-slot* [N]
| | | +--rw N union
| | | +--rw M? union
| | +--rw spacing decimal64
| | +--rw max-nb-of-channel? union
| | +--rw output-power? union
| | +--rw tx_power? union
| | +--rw path_bandwidth decimal64
| +--rw synchronization* [synchronization-id]
| +--rw synchronization-id string
| +--rw svec
| +--rw relaxable? boolean
| +--rw disjointness? te-path-disjointness
| +--rw request-id-number* string
+--rw responses
+--rw response* [response-id]
+--rw response-id string
+--rw path-properties
| +--rw path-metric* [metric-type]
| | +--rw metric-type identityref
| | +--rw accumulative-value? union
| +--rw z-a-path-metric* [metric-type]
| | +--rw metric-type identityref
| | +--rw accumulative-value? union
| +--ro path-route-objects* []
| +--ro path-route-object
| +--ro index? uint32
| +--ro (subobject-type)?
| +--:(num-unnum-hop)
| | +--ro num-unnum-hop
| | +--ro node-id? string
| | +--ro link-tp-id? string
| | +--ro hop-type? te-hop-type
| +--:(label)
| | +--ro label-hop* [N]
| | +--ro N union
| | +--ro M? union
| +--:(hop-attribute)
| +--ro (hop-type)?
| +--:(tsp)
| | +--ro transponder
| | +--ro transponder-type? string
| | +--ro transponder-mode? string
| +--:(regen)
| +--ro regenerator
| +--ro transponder-type? string
| +--ro transponder-mode? string
+--rw no-path
+--rw no-path? identityref
+--rw path-properties
+--rw path-metric* [metric-type]
| +--rw metric-type identityref
| +--rw accumulative-value? union
+--rw z-a-path-metric* [metric-type]
| +--rw metric-type identityref
| +--rw accumulative-value? union
+--ro path-route-objects* []
+--ro path-route-object
+--ro index? uint32
+--ro (subobject-type)?
+--:(num-unnum-hop)
| +--ro num-unnum-hop
| +--ro node-id? string
| +--ro link-tp-id? string
| +--ro hop-type? te-hop-type
+--:(label)
| +--ro label-hop* [N]
| +--ro N union
| +--ro M? union
+--:(hop-attribute)
+--ro (hop-type)?
+--:(tsp)
| +--ro transponder
| +--ro transponder-type? string
| +--ro transponder-mode? string
+--:(regen)
+--ro regenerator
+--ro transponder-type? string
+--ro transponder-mode? string
augment /gapi:api:
+--rw services
| +--rw path-request* [request-id]
| | +--rw request-id string
| | +--rw bidirectional boolean
| | +--rw source? string
| | +--rw destination? string
| | +--rw src-tp-id? string
| | +--rw dst-tp-id? string
| | +--rw explicit-route-objects
| | | +--ro route-object-include-exclude* [index]
| | | +--ro explicit-route-usage? identityref
| | | +--ro index uint32
| | | +--ro (subobject-type)?
| | | +--:(num-unnum-hop)
| | | | +--ro num-unnum-hop
| | | | +--ro node-id? string
| | | | +--ro link-tp-id? string
| | | | +--ro hop-type? te-hop-type
| | | +--:(label)
| | | | +--ro label-hop* [N]
| | | | +--ro N union
| | | | +--ro M? union
| | | +--:(hop-attribute)
| | | +--ro (hop-type)?
| | | +--:(tsp)
| | | | +--ro transponder
| | | | +--ro transponder-type? string
| | | | +--ro transponder-mode? string
| | | +--:(regen)
| | | +--ro regenerator
| | | +--ro transponder-type? string
| | | +--ro transponder-mode? string
| | +--rw path-constraints
| | +--rw te-bandwidth
| | +--rw technology? string
| | +--rw trx_type string
| | +--rw trx_mode? union
| | +--rw effective-freq-slot* [N]
| | | +--rw N union
| | | +--rw M? union
| | +--rw spacing decimal64
| | +--rw max-nb-of-channel? union
| | +--rw output-power? union
| | +--rw tx_power? union
| | +--rw path_bandwidth decimal64
| +--rw synchronization* [synchronization-id]
| +--rw synchronization-id string
| +--rw svec
| +--rw relaxable? boolean
| +--rw disjointness? te-path-disjointness
| +--rw request-id-number* string
+--rw responses
+--rw response* [response-id]
+--rw response-id string
+--rw path-properties
| +--rw path-metric* [metric-type]
| | +--rw metric-type identityref
| | +--rw accumulative-value? union
| +--rw z-a-path-metric* [metric-type]
| | +--rw metric-type identityref
| | +--rw accumulative-value? union
| +--ro path-route-objects* []
| +--ro path-route-object
| +--ro index? uint32
| +--ro (subobject-type)?
| +--:(num-unnum-hop)
| | +--ro num-unnum-hop
| | +--ro node-id? string
| | +--ro link-tp-id? string
| | +--ro hop-type? te-hop-type
| +--:(label)
| | +--ro label-hop* [N]
| | +--ro N union
| | +--ro M? union
| +--:(hop-attribute)
| +--ro (hop-type)?
| +--:(tsp)
| | +--ro transponder
| | +--ro transponder-type? string
| | +--ro transponder-mode? string
| +--:(regen)
| +--ro regenerator
| +--ro transponder-type? string
| +--ro transponder-mode? string
+--rw no-path
+--rw no-path? identityref
+--rw path-properties
+--rw path-metric* [metric-type]
| +--rw metric-type identityref
| +--rw accumulative-value? union
+--rw z-a-path-metric* [metric-type]
| +--rw metric-type identityref
| +--rw accumulative-value? union
+--ro path-route-objects* []
+--ro path-route-object
+--ro index? uint32
+--ro (subobject-type)?
+--:(num-unnum-hop)
| +--ro num-unnum-hop
| +--ro node-id? string
| +--ro link-tp-id? string
| +--ro hop-type? te-hop-type
+--:(label)
| +--ro label-hop* [N]
| +--ro N union
| +--ro M? union
+--:(hop-attribute)
+--ro (hop-type)?
+--:(tsp)
| +--ro transponder
| +--ro transponder-type? string
| +--ro transponder-mode? string
+--:(regen)
+--ro regenerator
+--ro transponder-type? string
+--ro transponder-mode? string

View File

@@ -0,0 +1,35 @@
module: gnpy-sim-params
+--rw sim-params
+--rw raman_params
| +--rw flag? boolean
| +--rw order? uint16
| +--rw method? identityref
| +--rw result_spatial_resolution? decimal64
| +--rw solver_spatial_resolution? decimal64
+--rw nli_params
+--rw method? identityref
+--rw dispersion_tolerance? decimal64
+--rw phase_shift_tolerance? decimal64
+--rw (computation)?
+--:(explicit-channels)
| +--rw computed_channels* uint16
+--:(nb_of_channels)
+--rw computed_number_of_channels? uint16
augment /gapi:api:
+--rw sim-params
+--rw raman_params
| +--rw flag? boolean
| +--rw order? uint16
| +--rw method? identityref
| +--rw result_spatial_resolution? decimal64
| +--rw solver_spatial_resolution? decimal64
+--rw nli_params
+--rw method? identityref
+--rw dispersion_tolerance? decimal64
+--rw phase_shift_tolerance? decimal64
+--rw (computation)?
+--:(explicit-channels)
| +--rw computed_channels* uint16
+--:(nb_of_channels)
+--rw computed_number_of_channels? uint16

View File

@@ -0,0 +1,23 @@
module: gnpy-spectrum
+--rw spectrum* [f_min]
+--rw f_min decimal64
+--rw f_max decimal64
+--rw slot_width decimal64
+--rw delta_pdb? decimal64
+--rw baud_rate? decimal64
+--rw tx_osnr? decimal64
+--rw roll_off? union
+--rw tx_power_dbm? decimal64
+--rw label? string
augment /gapi:api:
+--rw spectrum* [f_min]
+--rw f_min decimal64
+--rw f_max decimal64
+--rw slot_width decimal64
+--rw delta_pdb? decimal64
+--rw baud_rate? decimal64
+--rw tx_osnr? decimal64
+--rw roll_off? union
+--rw tx_power_dbm? decimal64
+--rw label? string