~james-page/charms/trusty/percona-cluster/network-splits

« back to all changes in this revision

Viewing changes to hooks/percona_utils.py

  • Committer: james.page at ubuntu
  • Date: 2014-07-02 08:44:54 UTC
  • Revision ID: james.page@ubuntu.com-20140702084454-eg0nmqib8h8vd4rt
Add support for access-network

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    for relid in relation_ids('cluster'):
94
94
        for unit in related_units(relid):
95
95
            hosts.append(get_host_ip(relation_get('private-address',
96
 
                                     unit, relid)))
 
96
                                                  unit, relid)))
97
97
    return hosts
98
98
 
99
99
SQL_SST_USER_SETUP = "GRANT RELOAD, LOCK TABLES, REPLICATION CLIENT ON *.*" \