SSIA -- Petr Vobornik
From b6d9c653907ea2e6a68885780bce88cc61efee15 Mon Sep 17 00:00:00 2001 From: Petr Vobornik <pvobo...@redhat.com> Date: Tue, 30 Jun 2015 13:11:17 +0200 Subject: [PATCH] topology: make cn of new segment consistent with topology plugin
--- ipalib/plugins/topology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipalib/plugins/topology.py b/ipalib/plugins/topology.py index 04e7b6e302193f5bcbb77be017fdfb31c3fa1034..de5ceb97583c9a40b4fe3783ec0fa40e6c325d0f 100644 --- a/ipalib/plugins/topology.py +++ b/ipalib/plugins/topology.py @@ -69,7 +69,7 @@ class topologysegment(LDAPObject): primary_key=True, label=_('Segment name'), default_from=lambda iparepltoposegmentleftnode, iparepltoposegmentrightnode: - '%s-%s' % (iparepltoposegmentleftnode, iparepltoposegmentrightnode), + '%s-to-%s' % (iparepltoposegmentleftnode, iparepltoposegmentrightnode), normalizer=lambda value: value.lower(), doc=_('Arbitrary string identifying the segment'), ), -- 2.4.3
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code