Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-413

Management node OS object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.3
    • vcld (backend)
    • None

    Description

      It would be useful to create a Linux OS object that could operate on the management node's OS. This would allow the code in the Linux.pm module to be used to control the management node OS, reducing duplication. There are several places where code to list files, copy files, etc on the management node could be replaced by the code in Linux.pm.

      To accomplish this, a ManagementNode.pm object would be created as a subclass of Linux.pm. A DataStructure object would be created containing computer data for the managment node. The subroutines in Linux.pm should be modified to call Linux.pm::execute rather than calling run_ssh_command directly. Many already do this. ManagementNode.pm would implement its own execute subroutine which would call run_command.

      The management node OS object should be available via $self->mn_os.

      Attachments

        Activity

          People

            arkurth Andrew Kurth
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: