Re: [Freeipa-devel] [PATCH] 885 topology: make cn of new segment consistent with topology plugin

2015-07-03 Thread Tomas Babej
On 07/02/2015 07:42 PM, David Kupka wrote:
 On 30/06/15 16:16, Petr Vobornik wrote:
 SSIA


 Works for me, ACK.
 

Pushed to master: 66ea322e7e01266cc916156860b684adb21c618d

-- 
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


Re: [Freeipa-devel] [PATCH] 885 topology: make cn of new segment consistent with topology plugin

2015-07-02 Thread David Kupka

On 30/06/15 16:16, Petr Vobornik wrote:

SSIA



Works for me, ACK.

--
David Kupka

--
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


[Freeipa-devel] [PATCH] 885 topology: make cn of new segment consistent with topology plugin

2015-06-30 Thread Petr Vobornik

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