Actions
Bug #3077
closedGTS kind
Start date:
08/24/2012
Due date:
% Done:
0%
Estimated time:
Description
If we create a new gts with a bad 'kind' for example 'fanin_fanout' there is no errors. But in code it seems to be an enumerate type...
if the kind is bad, when we get_information from the GTS the kind is empty.
gec@vmware:/tools/TM/bin$ ./tm_xml_access CREATE_DEVICE "<devices><device device_type=\"gts\" name=\"gts999\" kind=\"fanin_fanout\" slot=\"1\" port=\"1\" host_port=\"1\" board_version=\"000\" firmware_version=\"000\" embd_soft_version=\"000\" host_soft_version=\"000\" mac_address=\"0x1F0F00\" status=\"off\"></device></devices>" The device <devices><device device_type="gts" name="gts999" kind="fanin_fanout" slot="1" port="1" host_port="1" board_version="000" firmware_version="000" embd_soft_version="000" host_soft_version="000" mac_address="0x1F0F00" status="off"></device></devices> was successfully created !! gec@vmware:/tools/TM/bin$ ./tm_xml_access GET_information gts999<devices><device device_type="gts" name="gts999" kind=" " slot="1" port="1" host_port="1" board_version="000" firmware_version="000" embd_soft_version="000" host_soft_version="000" mac_address="0x1F0F00" status="off"></device></devices> gec@vmware:/tools/TM/bin$ ./tm_xml_access CREATE_DEVICE "<devices><device device_type=\"gts\" name=\"gts998\" kind=\"fanin_fanout\" slot=\"1\" port=\"1\" host_port=\"1\" board_version=\"000\" firmware_version=\"000\" embd_soft_version=\"000\" host_soft_version=\"000\" mac_address=\"0x1F0F00\" status=\"off\"></device></devices>" The device <devices><device device_type="gts" name="gts998" kind="fanin_fanout" slot="1" port="1" host_port="1" board_version="000" firmware_version="000" embd_soft_version="000" host_soft_version="000" mac_address="0x1F0F00" status="off"></device></devices> was successfully created !! gec@vmware:/tools/TM/bin$ ./tm_xml_access GET_information gts998<devices><device device_type="gts" name="gts998" kind=" " slot="1" port="1" host_port="1" board_version="000" firmware_version="000" embd_soft_version="000" host_soft_version="000" mac_address="0x1F0F00" status="off"></device></devices>
Updated by Grave Xavier about 12 years ago
- Status changed from New to Closed
- Assigned To set to Grave Xavier
Actions