### Installing syft
```
-curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
+curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sudo sh -s -- -b /usr/local/bin
```
### Installing grype
-```
-curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin
+```cd
+curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sudo sh -s -- -b /usr/local/bin
```
## Usage
For validation purposes libyang is recommended.
Please follow the libyang [installation instructions](https://github.com/CESNET/libyang).
+## Installation
+
+```
+make virtual_env_4_oam
+source .oam/bin/activate
+
+pip install -r requirements.txt
+pip install -r requirements-test.txt
+```
+
+
## Usage
```
make virtual_env_4_oam
source .oam/bin/activate
+
python3 -m network_generation config.json
```
- [o-ran-network.svg](output/o-ran-network.svg)
- [o-ran-network.kml](output/o-ran-network.kml)
+## yang validation
+
+```
+pyang --lint \
+-p network_generation/model/yang \
+network_generation/model/yang/o-ran-sc-*.yang
+```
+
+```
+yanglint \
+-p network_generation/model/yang \
+network_generation/model/yang/o-ran-sc-*.yang
+```
+
## Output validation
```
assert o_ran_termination_point.name == "my-name"
assert o_ran_termination_point.administrativeState.value == "locked"
assert o_ran_termination_point.supporter == "my-supporter"
- assert len(str(o_ran_termination_point)) == 357
+ assert len(str(o_ran_termination_point)) == 328
o_ran_termination_point = ORanTerminationPoint(
{