Hi Chen,
sorry for the delayed answer. I was on vacation. Please use the list
because other developers can also help you. Regarding your questions
see my comments below.
Best regards,
Hakan
Am 11.08.2015 15:37, schrieb Xu Chen:
Hi Hakan,
Thank you for your instructions.
I followed your step to start the communication. I
tried several BWCTL MPs. However I met two kinds of errors.
One is like this:
<nmwg:metadata
id="return_iperf-metadata"><nmwg:eventType>error.mp.bwctl</nmwg:eventType></nmwg:metadata><nmwg:data
metadataIdRef="return_iperf-metadata"
id="data_return_iperf-metadata"><nmwgr:datum>BWCTL
Error: bwctl: getaddrinfo(): Name or service not known bwctl:
I2AddrAddrInfo failed bwctl: Unable to connect to
dst</nmwgr:datum></nmwg:data></nmwg:message></soapenv:Body></soapenv:Envelope>
It seems that your request message is not defined. You send your
request message (NMWG request) to a BWCTL MP. This MP pars your
rquest message with the parameters and execute the bwctl.
1. Please send me your request message.
2. Which BWCTL MP do you want to use?
3. the source and destination where you want to measue.
Then I will send you a example of the execute a bwctl measurement
for this path.
Another is:
HTTP Error: 500, Can't connect to bwctl.ucsc.edu:8090
(connect: Connection refused)
Not sure but on bwctl.ucsc.edu ther is
no BWCTL MP running. Therefore you cannot send your measurement
request to this endpoint. You can use this endpoint only as a source
or destination in your request message.
Do you know what the problem is? Do I miss to config
something in the template?
Thanks,
Chen
On Jul 3, 2015, at 4:19 AM, Hakan Calim <> wrote:
HI Chen,
there are no documents which describing this communication
process. I attached two templates which you can use as a
request message to OWAMP MP or BWCTL MP. In the template
are all parameters which are actually supported by OPPD.
I also added the perfsonar client which can send this
message to OPPD. It is written in perl. Have a look on it
maybe it can help you to develop your request client in
python or in which language you prefer to develop the
client.
To check the perfsonar-client:
1. Go to the oppd bin folder in your toolkit installation:
# cd /opt/perfsonar_ps/oppd_mp/bin/
2. Copy there the perfsonar-client.pl and
template-bwctl-mp.xml
3. Start a request to a BWCTL MP
# ./perfsonar-client.pl -u
http://<hostname-of-bwctl-mp>:8090/services/MP/BWCTL
-f template-bwctl-mp.xml
Hope this helps.
Best regards,
Hakan
Am 02.07.2015 19:43, schrieb Xu Chen:
Hi Dan & Hakan,
Thank you for your reply. That’s what I am looking for.
By the way, do you have any OPPD tutorials or documents
I can read to start?
Best,
Chen
On Jul 2, 2015, at
12:47 PM, Hakan Calim <>
wrote:
Hi Chen,
as far as I understood your problem what you can do is
to use OPPD to start your test. To send your request,
you can use every language which supports HTTP and
XML. So you send your test request to OPPD by HTTP
with SOAP message and get the result as a SOAP
message. Hope this answers your question.
Best regards,
Hakan
Am 01.07.2015 19:40, schrieb Daniel Doyle:
Chen,
Currently there is no API for adding a new regular
test in the standard toolkit. There is another
effort in the pS community called "OPPD" which was
designed to support on demand testing among other
things. I do not believe there is any formal API
documentation for this, however, so I'm forwarding
your request to the developer list so that one of
the devs that works on the OPPD suite can work with
you.
-Dan
On Jun 29, 2015, at 11:46 AM, Xu Chen <>
wrote:
Hello all,
I googled perfSONAR APIs and only found APIs for
reading and writing data from MA.
As I mentioned in previous emails, is there a way
to start a new regular test (throughput, ping) in
Python or other language? Does perfSONAR provide
such APIs?
Thanks,
Chen
On Jun 25, 2015,
at 10:08 AM, Xu Chen <>
wrote:
Hi Dan,
I mean the regular test, such as throughput and
ping.
Chen
On Jun 25,
2015, at 10:03 AM, Daniel Doyle <>
wrote:
Hi Chen,
Can you clarify what you mean by "start a
measurement"? You want to spin up an ad hoc
test or create a new regular test or...?
-Dan
On Jun 25, 2015, at 9:58 AM, Xu Chen <>
wrote:
Hi all,
I have a question when starting a perfSONAR
measurement. Does perfSONAR provide APIs to
start a measurement in Python or other
languages?
Thanks,
Chen
Dan Doyle
GlobalNOC Software Developer
1-812-856-3892
Dan Doyle
GlobalNOC Software Developer
1-812-856-3892
<perfsonar-client.pl><template-bwctl-mp.xml><template-owamp-mp.xml>
|