Sandro Bonazzola has posted comments on this change.

Change subject: network: firewalld: fixed firewall-cmd support
......................................................................


Patch Set 1: (4 inline comments)

....................................................
File src/plugins/otopi/network/firewalld.py
Line 42: 
Line 43:     """
Line 44: 
Line 45:     FIREWALLD_SERVICES_DIR = '/etc/firewalld/services'
Line 46:     _ZONE_RE = re.compile(r'\w+')
Done
Line 47:     _INTERFACE_RE = re.compile(
Line 48:         flags=re.VERBOSE,
Line 49:         pattern=r"""
Line 50:             \s+


Line 42
Line 43
Line 44
Line 45
Line 46
Done


Line 71:             ret = ''.join(stdout).find('--permanent') != -1
Line 72:         return ret
Line 73: 
Line 74:     def _get_firewalld_cmd_version(self):
Line 75:         rc, stdout, stderr = self.execute(
Done
Line 76:             (
Line 77:                 self.command.get('firewall-cmd'),
Line 78:                 '--version',
Line 79:             ),


Line 77:                 self.command.get('firewall-cmd'),
Line 78:                 '--version',
Line 79:             ),
Line 80:         )
Line 81:         return stdout[0].split('.')
Done
Line 82: 
Line 83:     def _get_active_zones(self):
Line 84:         rc, stdout, stderr = self.execute(
Line 85:             (


-- 
To view, visit http://gerrit.ovirt.org/16094
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I5fe22c1f05dc98bc71a6ffd6fe28549721cda4f1
Gerrit-PatchSet: 1
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
Gerrit-Reviewer: Alex Lourie <alou...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgold...@redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to