-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File not found: MalPredictFlowStatsfile.txt #1
Comments
Hi, I have made a mistake, the filename shouldn't be MalPredictFlowStatsfile. It should PredictFlowStatsFile.txt. If you remove 'Mal' it will work. Thanks for bringing it to my attention. On a different note, if the procedure is not clear here it is, (may be I should update my readme file.)
|
Also be careful while calling data_cleaning_port and data_cleaning_flow methods, paths can be confusing. |
I appreciate your response, thank you! |
For step 5 Is that the only thing you have to change in collectstats? Or do you also change the output file names to have "Mal" at the beginning? Otherwise running it a second time and writing to the same FlowStatsFile results in there being another header added ( Like so:
Which then causes a parsing error in the IDS app |
Hi, No, you don't have to change the file name to 'mal'. I see the cause of error. Every time we create a new topology and run CollectStats.py, '' dp_id,port_no,rx_bytes,rx_pkts,tx_bytes,tx_pkts '' this header is added to the PortStats.txt file as it is in the constructor of CollectStats.py. I need to modify this code such that I will only write it once. This will be the case in FlowStatsFile.txt file as well. Thanks. I will modify the code and get back to you. |
Hey there,
When trying to run this code,
CollectStats.py
runs perfectly howeverIDS_RyuApp.py
returns a file not found error forMalPredictFlowStatsfile.txt
.I notice in the code it tries to open this file but it is never created. Is there a remedy for this?
Thanks in advance
The text was updated successfully, but these errors were encountered: