Exemplo n.º 1
0
 def build_file(self):
     self.build_ip_maps()
     registry = Registry(config, self.conn)
     entries = self.conn.zk.get_children(self.registry.zk_ip_map_path)
     bundles = registry._ips_from_entries(entries)
     builder = IPtables(config, is_vpc=False, dry_run=True)
     builder.build(bundles)
Exemplo n.º 2
0
 def build_file(self):
     self.build_ip_maps()
     registry = Registry(config, self.conn)
     entries = self.conn.zk.get_children(self.registry.zk_ip_map_path)
     bundles = registry._ips_from_entries(entries)
     builder = IPtables(config, is_vpc=False, dry_run=True)
     builder.build(bundles)