From 28a436f0434f350e355a45f77ae672ae5738c2fd Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Mon, 4 Jan 2016 11:59:57 +0100 Subject: [PATCH] MT#17179 lib: return sorted result Change-Id: I4506f9d59ca3a438acef983cce45a1bada26c073 --- lib/get_all_adv_ips | 1 + lib/get_all_adv_ips_for_host | 1 + lib/get_all_cluster_set_ip_maps | 1 + lib/get_all_cluster_set_ip_maps_for_host | 1 + lib/get_all_cluster_set_shared_ip_maps | 1 + lib/get_all_cluster_set_shared_ip_maps_for_host | 1 + lib/get_all_ifaces_for_host | 2 +- lib/get_all_ips | 1 + lib/get_all_ips_for_host | 1 + lib/get_all_shared_ips | 1 + lib/get_all_shared_ips_for_host | 1 + lib/get_all_shared_v6ips | 1 + lib/get_all_shared_v6ips_for_host | 1 + lib/get_all_v6ips | 1 + lib/get_all_v6ips_for_host | 1 + 15 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/get_all_adv_ips b/lib/get_all_adv_ips index 3f60088b..1a4c03ee 100644 --- a/lib/get_all_adv_ips +++ b/lib/get_all_adv_ips @@ -28,3 +28,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%] diff --git a/lib/get_all_adv_ips_for_host b/lib/get_all_adv_ips_for_host index a4329604..e8cb87f8 100644 --- a/lib/get_all_adv_ips_for_host +++ b/lib/get_all_adv_ips_for_host @@ -19,3 +19,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%] diff --git a/lib/get_all_cluster_set_ip_maps b/lib/get_all_cluster_set_ip_maps index 70d9401b..482453b0 100644 --- a/lib/get_all_cluster_set_ip_maps +++ b/lib/get_all_cluster_set_ip_maps @@ -28,4 +28,5 @@ END; END; + out = out.sort; -%] diff --git a/lib/get_all_cluster_set_ip_maps_for_host b/lib/get_all_cluster_set_ip_maps_for_host index 04b052aa..7d618428 100644 --- a/lib/get_all_cluster_set_ip_maps_for_host +++ b/lib/get_all_cluster_set_ip_maps_for_host @@ -41,4 +41,5 @@ END; END; + out = out.sort; -%] diff --git a/lib/get_all_cluster_set_shared_ip_maps b/lib/get_all_cluster_set_shared_ip_maps index 6911311f..a9159446 100644 --- a/lib/get_all_cluster_set_shared_ip_maps +++ b/lib/get_all_cluster_set_shared_ip_maps @@ -34,4 +34,5 @@ END; END; + out = out.sort; -%] diff --git a/lib/get_all_cluster_set_shared_ip_maps_for_host b/lib/get_all_cluster_set_shared_ip_maps_for_host index e9eb0d7a..79c8f4ba 100644 --- a/lib/get_all_cluster_set_shared_ip_maps_for_host +++ b/lib/get_all_cluster_set_shared_ip_maps_for_host @@ -47,4 +47,5 @@ END; END; + out = out.sort; -%] diff --git a/lib/get_all_ifaces_for_host b/lib/get_all_ifaces_for_host index faba8ead..2b0ad49d 100644 --- a/lib/get_all_ifaces_for_host +++ b/lib/get_all_ifaces_for_host @@ -19,4 +19,4 @@ [% END -%] [% END -%] [% END -%] - +[% out = out.sort -%] diff --git a/lib/get_all_ips b/lib/get_all_ips index afa64bf2..12fcc0be 100644 --- a/lib/get_all_ips +++ b/lib/get_all_ips @@ -25,3 +25,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%] diff --git a/lib/get_all_ips_for_host b/lib/get_all_ips_for_host index b8bd474d..61e4276f 100644 --- a/lib/get_all_ips_for_host +++ b/lib/get_all_ips_for_host @@ -17,3 +17,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%] diff --git a/lib/get_all_shared_ips b/lib/get_all_shared_ips index 01c3ea81..f71d0a92 100644 --- a/lib/get_all_shared_ips +++ b/lib/get_all_shared_ips @@ -28,3 +28,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%] diff --git a/lib/get_all_shared_ips_for_host b/lib/get_all_shared_ips_for_host index 4a1faae4..a1458d68 100644 --- a/lib/get_all_shared_ips_for_host +++ b/lib/get_all_shared_ips_for_host @@ -19,3 +19,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%] diff --git a/lib/get_all_shared_v6ips b/lib/get_all_shared_v6ips index 159fefa4..5cda7ba6 100644 --- a/lib/get_all_shared_v6ips +++ b/lib/get_all_shared_v6ips @@ -37,3 +37,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%] diff --git a/lib/get_all_shared_v6ips_for_host b/lib/get_all_shared_v6ips_for_host index 54e3ecfe..65d040d1 100644 --- a/lib/get_all_shared_v6ips_for_host +++ b/lib/get_all_shared_v6ips_for_host @@ -28,3 +28,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%] diff --git a/lib/get_all_v6ips b/lib/get_all_v6ips index 2ff31187..fdaca91a 100644 --- a/lib/get_all_v6ips +++ b/lib/get_all_v6ips @@ -23,3 +23,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%] diff --git a/lib/get_all_v6ips_for_host b/lib/get_all_v6ips_for_host index afef6f6a..9ec75f83 100644 --- a/lib/get_all_v6ips_for_host +++ b/lib/get_all_v6ips_for_host @@ -20,3 +20,4 @@ [% END -%] [% END -%] [% END -%] +[% out = out.sort -%]