Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Issues getting IP address from Paloaltos (Ankarloo, Gustaf)
--- Begin Message ---
I’m guessing it’s due to bad indentation.

No tabs, only 2 or 4 spaces.

 

I tried your settings in a yaml validator and it checks out.

 

- tag: 'bgtp-paloalto1.globe.com'

  driver: cli

  platform: PaloAlto

  only: '192.168.24.251'

  username: src-nm

  password: xxxxxxx

  ssh_master_opts:

  - “-o”

  - “StrictHostKeyChecking=no”

 

//Gustaf

 

 

From: Scott Golden <[email protected]> 
Sent: den 18 augusti 2022 19:55
To: [email protected]
Subject: [Netdisco] Issues getting IP address from Paloaltos

 


EXTERNAL SENDER: Do not click any links or open any attachments unless you
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE: Ne cliquez sur aucun lien et n’ouvrez aucune pièce
jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous
ayez l'assurance que le contenu provient d'une source sûre.

 

I have added 

 

    

   - tag: 'bgtp-paloalto1.globe.com
<https://urldefense.com/v3/__http:/bgtp-paloalto1.globe.com__;!!AaIhyw!s0hEp
fq4SKmvIreX0dBof3mxD85qkwN_3mS_j3aHahlL5pIKQP7KbyiXyANjlN_JWYvzk-VF5JkAADu5D
Ts-ctqf$> '

     driver: cli

     platform: PaloAlto

     only: '192.168.24.251'

     username: src-nm

     password: xxxxxxxx

     ssh_master_opts:

        - "-o"

        - "StrictHostKeyChecking=no"

 

 

To my deployment.yml file

 

When I do a 

 

#netdisco-do arpnip -d bgtp-paloalto1

 

I get the following error

 

Unable to parse the configuration file:
/home/netdisco/environments/deployment.yml: YAML::XS::Load Error: The
problem:

 

    did not find expected '-' indicator

 

was found at document: 1, line: 39, column: 4

while parsing a block collection at line: 28, column: 3

 at /home/netdisco/perl5/lib/perl5/Dancer/Config.pm line 232.

 
Dancer::Config::load_settings_from_yaml('/home/netdisco/environments/deploym
ent.yml', 'YAML') called at /home/netdisco/perl5/lib/perl5/Dancer/Config.pm
line 205

                             Dancer::Config::load('Dancer::Config') called
at /home/netdisco/perl5/lib/perl5/Dancer.pm line 274

                             Dancer::import('Dancer', ':script') called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             App::Netdisco::Util::DNS::BEGIN() called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             eval {...} called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             require App/Netdisco/Util/DNS.pm called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DeviceAuth.pm line 4

                             App::Netdisco::Util::DeviceAuth::BEGIN() called
at /home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             eval {...} called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             require App/Netdisco/Util/DeviceAuth.pm called
at /home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4

                             App::Netdisco::Configuration::BEGIN() called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             eval {...} called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             require App/Netdisco/Configuration.pm called at
/home/netdisco/perl5/lib/perl5/App/Netdisco.pm line 8

                             App::Netdisco::BEGIN() called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             eval {...} called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             require App/Netdisco.pm called at
/home/netdisco/perl5/bin/netdisco-do line 37

                             main::BEGIN() called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

                             eval {...} called at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5

BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DNS.pm line 5.

Compilation failed in require at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DeviceAuth.pm line 4.

BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Util/DeviceAuth.pm line 4.

Compilation failed in require at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4.

BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/App/Netdisco/Configuration.pm line 4.

Compilation failed in require at
/home/netdisco/perl5/lib/perl5/App/Netdisco.pm line 8.

BEGIN failed--compilation aborted at
/home/netdisco/perl5/lib/perl5/App/Netdisco.pm line 8.

Compilation failed in require at /home/netdisco/perl5/bin/netdisco-do line
37.

BEGIN failed--compilation aborted at /home/netdisco/perl5/bin/netdisco-do
line 37.

 

 

 

Please assist

 

Scott Golden
Senior Systems Analyst
O: 617.929.2702 | M:978.340.8207 
[email protected] <mailto:[email protected]>    




 

 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to