-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Forget it, RTFM

> /provision.pl --username admin --password <whatever> service add \
>          <mynodelabel> \
>          <my-foreign-nodeid> \
>          <ip-address> \
>          <servicename>

replace mynodelabel with FOREIGN-SOURCE :) Thx for listening

Layer-8 prob solved

- -rt

On Aug 31, 2010, at 12:37 AM, Ronny Trommer wrote:

> Hi,
> 
> I play around with provisioning.pl, I would like add a new service to a 
> provisioned node. First I list the nodes to get the necessary informations 
> with
> 
>       ./provision.pl --username admin --password <whatever> list
> 
> this runs fine. Then I will add a service with the command
> 
>       ./provision.pl --username admin --password <whatever> service add \
>          <mynodelabel> \
>          <my-foreign-nodeid> \
>          <ip-address> \
>          <servicename>
> 
> I got the following error message
> 
>       304 Not Modified at ./provision.pl line 649
>               main::post(' 
> <mynodelabel>/nodes/<my-foreign-nodeid>/interfa...', 
> 'XML::Twig::Elt=HASH(0xa5640d4)') called at   
>       ./provision.pl line 378
>               main::cmd_service('add', ' <mynodelabel>', <my-foreign-nodeid>, 
> <ip-address>, '<servicename>') called at 
>       ./provision.pl line 110
> 
> Attention!: I'm running 1.8.4-SNAPSHOT *cough *cough :)
> 
> Version:      1.8.4-SNAPSHOT
> Server Time:  Tue Aug 31 00:35:15 CEST 2010
> Client Time:  Tue Aug 31 2010 00:36:12 GMT+0200 (CEST)
> Java Version: 1.6.0_06 Sun Microsystems Inc.
> Java Virtual Machine: 10.0-b22 Sun Microsystems Inc.
> Operating System:     Linux 2.6.18-028stab069.6-PAE (i386)
> Servlet Container:    jetty/6.1.24 (Servlet Spec 2.5)
> User Agent:   Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) 
> AppleWebKit/533.17.8 (KHTML, like Gecko) Version/5.0.1 Safari/533.17.8
> 
> Any suggestions Layer-8 probs possible here?
> 
> Thank you in advance
> 
> --
> Ronny Trommer (Germany)
> Web: http://www.open-factory.org
> IRC: irc.freenode.org - #opennms
> 
> PGP key: B1BCE829E38398A0
> Keyserver: keyserver.pgp.com
> 
> 
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
> 
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-devel mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom of this 
> page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel


- --
Ronny Trommer (Germany)
Web: http://www.open-factory.org
IRC: irc.freenode.org - #opennms

PGP key: B1BCE829E38398A0
Keyserver: keyserver.pgp.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iEYEARECAAYFAkx8M+sACgkQsbzoKeODmKAJkwCfSkwOX03HlX2zgn1F6g6DGJ9G
CcAAnj00L6RppFlKankP++Enf1S3yhAm
=4ZP/
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to