pcp
[Top] [All Lists]

pcp updates: pmdasimple.py

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: pmdasimple.py
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 22 Mar 2013 02:26:03 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1003825337.23472741.1363933546864.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 qa/110                                       |    1 
 qa/560                                       |    1 
 qa/628                                       |    3 
 qa/715                                       |  103 +++++++++++
 qa/715.out                                   |   56 ++++++
 qa/716                                       |   50 +++++
 qa/716.out                                   |   86 ++++++++++
 qa/717                                       |  103 +++++++++++
 qa/717.out                                   |   56 ++++++
 qa/718                                       |   50 +++++
 qa/718.out                                   |   86 ++++++++++
 qa/group                                     |   15 +
 src/include/builddefs.in                     |   29 +++
 src/include/pcp/impl.h                       |   42 ++--
 src/include/pcp/pmda.h                       |   44 ++---
 src/pmcd/pmdaproc.sh                         |   91 ++++++++--
 src/pmdas/elasticsearch/pmdaelasticsearch.pl |    4 
 src/pmdas/simple/.gitignore                  |    2 
 src/pmdas/simple/GNUmakefile                 |    8 
 src/pmdas/simple/Install                     |    2 
 src/pmdas/simple/Remove                      |    4 
 src/pmdas/simple/help                        |    8 
 src/pmdas/simple/pmdasimple.pl               |   13 -
 src/pmdas/simple/pmdasimple.py               |  232 +++++++++++++++++++++++++++
 src/pmdas/simple/pmns                        |    4 
 src/pmnscomp/pmnscomp.c                      |    8 
 26 files changed, 1003 insertions(+), 98 deletions(-)

commit 42b9339ae7755eb8861e9054a19f9a553cdd76be
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Mar 22 17:24:26 2013 +1100

    Initial implementation of pmdasimple in python
    
    Updates to the install and build processes to support python
    PMDAs in general, plus initial version of the simple PMDA as
    a python script.

commit 8351b3a82e78eca2c311b582d6ac5524f5d12a24
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Mar 22 17:08:32 2013 +1100

    Update gitignore file for local pmdasimple shlib build

commit 952a48977f78870f3ca3d51b1c93b9ba6b0e2b99
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Mar 22 13:54:07 2013 +1100

    Prepare potentially affected QA tests for arrival of python PMDAs

commit 5e5ee8257948a0877dff257c56a4477122d9cdce
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Mar 22 13:49:16 2013 +1100

    Add initial python PMDA module checkout via pmdasimple.py
    
    Adds test 717 and 718 to exercise various aspects of a real
    python PMDA installation (via pmdasimple.py) and responses
    to various PDU requests.

commit 8157af4ae3037a19598b92a879c26935c00d94de
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Mar 22 13:42:23 2013 +1100

    Correct an issue in the pmdasimple help text file
    
    Found while looking into addition of the python PMDA module.
    
    The indom numbering for the color and time indoms were not
    zero-indexed as they should be, but rather were indexed from
    one on.  This numbering is zero-based for both the C and perl
    implementations.
    
    QA test 716 now exercises this area, as well as adding further
    checking to the descriptor handling in the perl implemenation.

commit 3f84a9f5292b518c64ab88834a890e3fa40ceb34
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Mar 22 13:22:18 2013 +1100

    Correct an issue in the perl implementation of pmdasimple
    
    Found while looking into addition of the python PMDA module.
    
    The timeslices hash was not been manipulated correctly, hence
    the perl implementation was not correctly handling updates to
    the simple.conf file.
    
    QA test 715 now exercises this area.

commit ee71ed1fc9315eac888b800d2f7a1b840ad0e9d0
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Mar 21 11:50:59 2013 +1100

    Further namespace trickery to get clean header separation
    
    Earlier commit didnt quite work, so now making use of a neat
    trick I recently picked up from Dave about using a typedef
    with the same name as the associated struct.
    
    Also removed the very poorly named "pn_s" struct from impl.h
    and replaced it with the same scheme.  Very slight risk of a
    3rd party build fallout as a result, but I seriously doubt it
    and leaving it seems more likely to cause a conflict someday.

commit c6a39a78f74b36396d603c63308f90ea55d480a1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Mar 21 10:55:38 2013 +1100

    Remove accidental use of anonymous hash in pmdaelasticsearch

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: pmdasimple.py, Nathan Scott <=