opensand
opensand copied to clipboard
opensand-cli/opensand-network does not work out properly
I tried to evaluate and carry out the configurations, through both opensand itself or opensand-network. But it failed on schemas. I have no idea about how it failed. There is no any clue or reference for this. I'm afraid the documentation is still too obscure and lack of information. The development team need to give a TRULY referable documentation for users. But for now, no matter the opensand-cli or opensand-network or opensand-deploy is completely a disaster to read.
opensand:
root@server:~/opensand/opensand-network/opensand_cli/ip/gw# opensand -i ~/opensand/opensand-network/opensand_cli/ip/gw/infrastructure_updated.xml -t ~/opensand/opensand-network/opensand_cli/ip/gw/topology_updated.xml -p ~/opensand/opensand-network/opensand_cli/ip/gw/profile.xml
/root/opensand/opensand-network/opensand_cli/ip/gw/infrastructure_updated.xml:17: element entity_gw_net_acc: Schemas validity error : Element 'entity_gw_net_acc': Missing child element(s). Expected is one of ( entity_id, tap_iface, mac_address, interconnect_params ).
/root/opensand/opensand-network/opensand_cli/ip/gw/infrastructure_updated.xml:19: element entity_gw_phy: Schemas validity error : Element 'entity_gw_phy': Missing child element(s). Expected is one of ( entity_id, interconnect_params ).
/root/opensand/opensand-network/opensand_cli/ip/gw/profile.xml:4: element network: Schemas validity error : Element 'network': This element is not expected. Expected is ( control_plane ).
opensand: error: impossible to validate entity profile in /root/opensand/opensand-network/opensand_cli/ip/gw/profile.xml.
opensand-network:
root@server:~/opensand/opensand-network/opensand_cli/ip/gw# opensand-network launch gw 1 ~/opensand/opensand-network/opensand_cli/ip/gw/topology_updated.xml ~/opensand/opensand-network/opensand_cli/ip/gw/infrastructure_updated.xml ~/opensand/opensand-network/opensand_cli/ip/gw/profile.xml
/root/opensand/opensand-network/opensand_cli/ip/gw/infrastructure_updated.xml:17: element entity_gw_net_acc: Schemas validity error : Element 'entity_gw_net_acc': Missing child element(s). Expected is one of ( entity_id, tap_iface, mac_address, interconnect_params ).
/root/opensand/opensand-network/opensand_cli/ip/gw/infrastructure_updated.xml:19: element entity_gw_phy: Schemas validity error : Element 'entity_gw_phy': Missing child element(s). Expected is one of ( entity_id, interconnect_params ).
/root/opensand/opensand-network/opensand_cli/ip/gw/profile.xml:4: element network: Schemas validity error : Element 'network': This element is not expected. Expected is ( control_plane ).
[2025-02-25 11:16:04.062][ERROR][opensand][configuration][OpenSandModelConf.cpp:readProfile():754] parse error when reading profile file
opensand: error: impossible to validate entity profile in /root/opensand/opensand-network/opensand_cli/ip/gw/profile.xml.
[2025-02-25 11:16:04.062][CRITICAL][opensand][default][opensand.cpp:main():63] gw1: failed to init the process
Traceback (most recent call last):
File "/usr/bin/opensand-network", line 406, in <module>
main(**args)
File "/usr/bin/opensand-network", line 172, in launch
subprocess.run(command, check=True)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ip', 'netns', 'exec', 'gw1', 'opensand', '-v', '-i', '/root/opensand/opensand-network/opensand_cli/ip/gw/infrastructure_updated.xml', '-t', '/root/opensand/opensand-network/opensand_cli/ip/gw/topology_updated.xml', '-p', '/root/opensand/opensand-network/opensand_cli/ip/gw/profile.xml']' returned non-zero exit status 15.