[gnuoy] Backout previous ipv6 merge as more work needs doing

This commit is contained in:
Liam Young 2015-01-27 09:20:00 +00:00
parent abd29e5000
commit 97bcb9a4e2
2 changed files with 4 additions and 22 deletions

View File

@ -114,18 +114,6 @@ options:
juju-myservice-0
If you're running multiple environments with the same services in them
this allows you to differentiate between them.
prefer-ipv6:
type: boolean
default: False
description: |
If True enables IPv6 support. The charm will expect network interfaces
to be configured with an IPv6 address. If set to False (default) IPv4
is expected.
.
NOTE: these charms do not currently support IPv6 privacy extension. In
order for this charm to function correctly, the privacy extension must be
disabled and a non-temporary address must be configured/available on
your network interface.
# Network configuration options
# by default all access is over 'private-address'
os-data-network:

View File

@ -32,7 +32,6 @@ from charmhelpers.contrib.hahelpers.apache import(
from charmhelpers.contrib.openstack.utils import (
configure_installation_source,
openstack_upgrade_available,
sync_db_with_multi_ipv6_addresses,
)
from charmhelpers.payload.execd import execd_preinstall
from charmhelpers.core.sysctl import create as create_sysctl
@ -139,11 +138,6 @@ def db_joined(relation_id=None):
'associated a postgresql one')
log(e, level=ERROR)
raise Exception(e)
if config('prefer-ipv6'):
sync_db_with_multi_ipv6_addresses(config('database'),
config('database-user'))
else:
relation_set(username=config('database-user'),
database=config('database'),
hostname=unit_get('private-address'),