Repository navigation
Issue/718 default sg rule - #748
Conversation
mbuechse
left a comment
There was a problem hiding this comment.
Error handling should be improved (don't just swallow exceptions by printing something to stdout), assert statements should not be used in production, and I suppose the code can be made less redundant and more concise.
|
BTW, I noticed that the test script is incredibly noisy when --debug is used. Okay, probably fine. However, logging is not initialized, so the channel is not included in the log line. This should be changed -- please include the following line: logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO)And if logging.getLogger().setLevel(logging.DEBUG)Last not least, the output of the script is not usable in any way. What we need is the following:
Every other output should be on the debug or info channel. |
mbuechse
left a comment
There was a problem hiding this comment.
I massaged it a bit. LGTM -- please check whether it looks good to you, too.
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Katharina Trentau <[email protected]>
Signed-off-by: Matthias Büchse <[email protected]>
Signed-off-by: Matthias Büchse <[email protected]>
Signed-off-by: Matthias Büchse <[email protected]>
25e1c3c to
24760a7
Compare
This reverts commit 1092abe. Signed-off-by: Matthias Büchse <[email protected]>
232aec7 to
546c89d
Compare
added alternative test, because the current test only works for the latest versions of the network and compute services, though older versions are not depricated yet