Offset 1, 36 lines modified | Offset 1, 36 lines modified | ||
1 | HEADERIMMUTABLE:·0000003a00000e0e0000003f0000000700000dfe0000001000000064000000080000000000000001000003e8000000060000000200000001000003e9000000060000001300000001000003ea000000060000001a00000001000003ec000000090000002100000001000003ed000000090000004300000001000003ee00000004000000c000000001000003ef00000006000000c400000001000003f100000004000000e000000001000003f600000006000000e400000001000003f800000009000000f700000001000003fc000000060000010f00000001000003fd000000060000013300000001000003fe000000060000013900000001000004040000000400000140000000020000040600000003000001480000000200000409000000030000014c000000020000040a0000000400000150000000020000040b0000000800000158000000020000040c00000008000001da000000020000040d00000004000001dc000000020000040f00000008000001e4000000020000041000000008000001ee000000020000041400000006000001f80000000100000415000000040000021c00000002000004170000000800000224000000020000041800000004000002500000000700000419000000080000026c000000070000041a00000008000002fb000000070000042800000006000003270000000·✂ | 1 | HEADERIMMUTABLE:·0000003a00000e0e0000003f0000000700000dfe0000001000000064000000080000000000000001000003e8000000060000000200000001000003e9000000060000001300000001000003ea000000060000001a00000001000003ec000000090000002100000001000003ed000000090000004300000001000003ee00000004000000c000000001000003ef00000006000000c400000001000003f100000004000000e000000001000003f600000006000000e400000001000003f800000009000000f700000001000003fc000000060000010f00000001000003fd000000060000013300000001000003fe000000060000013900000001000004040000000400000140000000020000040600000003000001480000000200000409000000030000014c000000020000040a0000000400000150000000020000040b0000000800000158000000020000040c00000008000001da000000020000040d00000004000001dc000000020000040f00000008000001e4000000020000041000000008000001ee000000020000041400000006000001f80000000100000415000000040000021c00000002000004170000000800000224000000020000041800000004000002500000000700000419000000080000026c000000070000041a00000008000002fb000000070000042800000006000003270000000·✂ |
2 | HEADERI18NTABLE:· | 2 | HEADERI18NTABLE:· |
3 | ·-·C | 3 | ·-·C |
4 | SIGSIZE:·7582 | 4 | SIGSIZE:·7582 |
5 |
SIGMD5:· |
5 | SIGMD5:·a1f5ea81153d1e1b92aafc1520cc4e5a |
6 |
SHA1HEADER:· |
6 | SHA1HEADER:·fac2266485343cc36b98bb0c1d975e0b67cd4349 |
7 | NAME:·fence-agents-amt | 7 | NAME:·fence-agents-amt |
8 | VERSION:·4.0.16 | 8 | VERSION:·4.0.16 |
9 | RELEASE:·2.fc23 | 9 | RELEASE:·2.fc23 |
10 | SUMMARY:·Fence·agent·for·Intel·AMT·devices | 10 | SUMMARY:·Fence·agent·for·Intel·AMT·devices |
11 | DESCRIPTION:·The·fence-agents-amt·package·contains·a·fence·agent·for·AMT·compatibile·devices·that·are·accessed·via·3rd·party·software. | 11 | DESCRIPTION:·The·fence-agents-amt·package·contains·a·fence·agent·for·AMT·compatibile·devices·that·are·accessed·via·3rd·party·software. |
12 |
BUILDTIME:·1457058 |
12 | BUILDTIME:·1457058984 |
13 | BUILDHOST:·profitbricks-build3-amd64 | 13 | BUILDHOST:·profitbricks-build3-amd64 |
14 | SIZE:·4631 | 14 | SIZE:·4631 |
15 | LICENSE:·GPLv2+·and·LGPLv2+ | 15 | LICENSE:·GPLv2+·and·LGPLv2+ |
16 | GROUP:·System·Environment/Base | 16 | GROUP:·System·Environment/Base |
17 | URL:·http://sourceware.org/cluster/wiki/ | 17 | URL:·http://sourceware.org/cluster/wiki/ |
18 | OS:·linux | 18 | OS:·linux |
19 | ARCH:·x86_64 | 19 | ARCH:·x86_64 |
20 | FILESIZES:· | 20 | FILESIZES:· |
21 | ·-·3280·-·1351 | 21 | ·-·3280·-·1351 |
22 | FILEMODES:· | 22 | FILEMODES:· |
23 | ·-·33261·-·33188 | 23 | ·-·33261·-·33188 |
24 | FILERDEVS:· | 24 | FILERDEVS:· |
25 | ·-·0·-·0 | 25 | ·-·0·-·0 |
26 | FILEMTIMES:· | 26 | FILEMTIMES:· |
27 |
·-·145705878 |
27 | ·-·1457058978·-·1457058978 |
28 | FILEMD5S:· | 28 | FILEMD5S:· |
29 |
·-· |
29 | ·-·e64920953b59970a14d0502cb0a4816c1b252732ed36467566c4260651bf10c5·-·d3f33f8c21e49becc073338d6250284b4cad64d9a29fd38264f3686c45dcd53f |
30 | FILELINKTOS:· | 30 | FILELINKTOS:· |
31 | ·-··-· | 31 | ·-··-· |
32 | FILEFLAGS:· | 32 | FILEFLAGS:· |
33 | ·-·0·-·2 | 33 | ·-·0·-·2 |
34 | FILEUSERNAME:· | 34 | FILEUSERNAME:· |
35 | ·-·root·-·root | 35 | ·-·root·-·root |
36 | FILEGROUPNAME:· | 36 | FILEGROUPNAME:· |
Offset 1, 2 lines modified | Offset 1, 2 lines modified | ||
1 |
-rwxr-xr-x···1········0········0·····3280·2016-03-04·02:3 |
1 | -rwxr-xr-x···1········0········0·····3280·2016-03-04·02:36:18.000000·./usr/sbin/fence_amt |
2 |
-rw-r--r--···1········0········0·····1351·2016-03-04·02:3 |
2 | -rw-r--r--···1········0········0·····1351·2016-03-04·02:36:18.000000·./usr/share/man/man8/fence_amt.8.gz |
Offset 5, 15 lines modified | Offset 5, 15 lines modified | ||
5 | from·pipes·import·quote | 5 | from·pipes·import·quote |
6 | sys.path.append("/usr/share/fence") | 6 | sys.path.append("/usr/share/fence") |
7 | from·fencing·import·* | 7 | from·fencing·import·* |
8 | from·fencing·import·fail_usage,·is_executable,·run_command,·run_delay | 8 | from·fencing·import·fail_usage,·is_executable,·run_command,·run_delay |
9 | #BEGIN_VERSION_GENERATION | 9 | #BEGIN_VERSION_GENERATION |
10 | RELEASE_VERSION="4.0.16" | 10 | RELEASE_VERSION="4.0.16" |
11 |
BUILD_DATE="(built·Fri·Mar·4·02:3 |
11 | BUILD_DATE="(built·Fri·Mar·4·02:36:05·UTC·2016)" |
12 | REDHAT_COPYRIGHT="Copyright·(C)·Red·Hat,·Inc.·2004-2010·All·rights·reserved." | 12 | REDHAT_COPYRIGHT="Copyright·(C)·Red·Hat,·Inc.·2004-2010·All·rights·reserved." |
13 | #END_VERSION_GENERATION | 13 | #END_VERSION_GENERATION |
14 | def·get_power_status(_,·options): | 14 | def·get_power_status(_,·options): |
15 | » output·=·amt_run_command(options,·create_command(options,·"status")) | 15 | » output·=·amt_run_command(options,·create_command(options,·"status")) |
16 | » match·=·re.search('Powerstate:[\\s]*(..)',·str(output)) | 16 | » match·=·re.search('Powerstate:[\\s]*(..)',·str(output)) |
17 | » status·=·match.group(1)·if·match·else·None | 17 | » status·=·match.group(1)·if·match·else·None |