From 59936b742c3812afa5e35a2d2f8cd9111c8dc44d Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 22 Oct 2012 16:57:17 +0000 Subject: [PATCH] Migrate to new network.yml schema. --- etc/csc.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/etc/csc.conf b/etc/csc.conf index c458591..da9af42 100644 --- a/etc/csc.conf +++ b/etc/csc.conf @@ -1,4 +1,8 @@ [% TAGS [- -] %] +[% argv.role='lb'; argv.type='sip_ext'; PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_shared_ips'; sip_ext_ips = out -%] +[% IF !sip_ext_ips.size -%] +[% argv.role='lb'; argv.type='sip_ext'; PROCESS '/usr/lib/ngcp-ngcpcfg/get_all_ips'; sip_ext_ips = out -%] +[% END -%]