Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5837

CLI Script Support - Existing host with name containing _ not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • EAP 6.1.0.Alpha (7.2.0.Final)
    • CLI
    • None
    • Hide

      I have host controllers named:
      domain, station3_host1, station3_host2

      I can get to them in CLI shell using /host=station3_host1 for example

      using groovy:
      when I issue a cli.cmd("cd /host=domain") that works but if I put the other two in as the host name - it complains that it cannot find the host.

      a ("cd host") followed by an ("ls") shows them spelled exactly as they exist

      Show
      I have host controllers named: domain, station3_host1, station3_host2 I can get to them in CLI shell using /host=station3_host1 for example using groovy: when I issue a cli.cmd("cd /host=domain") that works but if I put the other two in as the host name - it complains that it cannot find the host. a ("cd host") followed by an ("ls") shows them spelled exactly as they exist

      I cannot access a host with the CLI object from scriptsupport package when the host name contains an underscore ("_"). Regular names work fine.

              olubyans@redhat.com Alexey Loubyansky
              jimrigsbee_jira Jim Rigsbee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: