From 275d455dcd96ec4e1ae2d921fd38248b12433852 Mon Sep 17 00:00:00 2001 From: Martin Skorupski Date: Wed, 25 Sep 2024 14:37:28 +0200 Subject: [PATCH] Define the schema - update the validation part of the README Issue-ID: OAM-415 Change-Id: I9c9e80a20e1634dcc95e4c35dbf284e18b5198ac Signed-off-by: Martin Skorupski --- code/network-generator/README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/code/network-generator/README.md b/code/network-generator/README.md index 66a6326..e61d347 100644 --- a/code/network-generator/README.md +++ b/code/network-generator/README.md @@ -41,11 +41,16 @@ By default the generated files can be found in the 'output' folder: - [o-ran-network.svg](output/o-ran-network.svg) - [o-ran-network.kml](output/o-ran-network.kml) - ## Output validation ``` -yanglint -f json model/yang/ietf-network-topology.yang output/o-ran-network-operational.json +yanglint \ +network_generation/model/yang/ietf-network.yang \ +network_generation/model/yang/ietf-network-topology.yang \ +network_generation/model/yang/o-ran-common-identity-refs.yang \ +network_generation/model/yang/o-ran-sc-network.yang \ +\ +output/o-ran-network-operational.json ``` ## Development -- 2.16.6