From 4294ba153022cd0417a736d294c9e5bcdc027a95 Mon Sep 17 00:00:00 2001 From: JordanKeo45 Date: Wed, 20 Nov 2024 08:22:30 -0400 Subject: [PATCH] Adds HL4/8 support for dalias and dmap --- dalias/example_config/HL4 | 4 ++++ dalias/example_config/HL8 | 8 ++++++++ tools/dmap | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 dalias/example_config/HL4 create mode 100644 dalias/example_config/HL8 diff --git a/dalias/example_config/HL4 b/dalias/example_config/HL4 new file mode 100644 index 0000000..37e3575 --- /dev/null +++ b/dalias/example_config/HL4 @@ -0,0 +1,4 @@ +1-1 +1-2 +1-3 +1-4 \ No newline at end of file diff --git a/dalias/example_config/HL8 b/dalias/example_config/HL8 new file mode 100644 index 0000000..34a5cf0 --- /dev/null +++ b/dalias/example_config/HL8 @@ -0,0 +1,8 @@ +1-1 +1-2 +1-3 +1-4 +2-1 +2-2 +2-3 +2-4 \ No newline at end of file diff --git a/tools/dmap b/tools/dmap index 6aded8b..0d034f2 100755 --- a/tools/dmap +++ b/tools/dmap @@ -693,7 +693,7 @@ def alias_destroyinator(server,alias_template,phy_order): ############################################################################### def alias_hl4(server,alias_template): vdev_id_str = "" - hl4_order = [4,3,2,1] + hl4_order = [1,2,3,4] for i in range(0,len(hl4_order)): vdev_id_str += ( @@ -712,7 +712,7 @@ def alias_hl4(server,alias_template): ############################################################################### def alias_hl8(server,alias_template): vdev_id_str = "" - hl4_order = [4,3,2,1] + hl4_order = [1,2,3,4] for i in range(0,len(hl4_order)): vdev_id_str += (