Skip to content

Conversation

gaborigloi
Copy link
Contributor

Signed-off-by: Gabor Igloi gabor.igloi@citrix.com

Signed-off-by: Gabor Igloi <gabor.igloi@citrix.com>
…firewall script

Signed-off-by: Gabor Igloi <gabor.igloi@citrix.com>
@coveralls
Copy link

Coverage Status

Coverage increased (+0.003%) to 20.529% when pulling c897834 on gaborigloi:network_event_loop_alcotest into 530d5e8 on xapi-project:master.

Copy link
Contributor

@minishrink minishrink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor question, otherwise looks good.

in
let interfaces = List.map (fun network -> Db.Network.get_bridge ~__context ~self:network) allowed_connected_networks in
let interfaces = Xapi_stdext_std.Listext.List.setify interfaces in
let needs_firewall_update = match allowed_interfaces with
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this change the test behaviour?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I needed this because it failed after I changed the test, and I realized that it might send duplicated interfaces to the firewall script.

@gaborigloi gaborigloi merged commit df50b5e into xapi-project:master Apr 20, 2018
@gaborigloi gaborigloi deleted the network_event_loop_alcotest branch April 20, 2018 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants