Skip to contentSkip to conversation

XML for tc hierarchy representation

LARTC Andre D. Correa 1 participant 2 messages Aug 15, 2005

lore
Share & tools
lore
#0 lore raw

Hi list, I would like to know about any proposed XML representation for tc objects hierarchy. I found something at "LTCM, a Linux QoS API Library" (http://artemis.av.it.pt/~ltcmmm/) that looks like a start, but any others are welcome.

I'm starting a project to automatically syncronize traffic shape rules between servers and thought XML is the best way to represent tc hierarchy.

Tks in advance for any information.

--------------------------------------------------------------------

Andre D. Correa, CISSP         |  Visite meus projetos pessoais:
andre.correa (at) pobox.com    |  Visit my personal projects:
http://andre.hiperlinks.com.br |  -http://malware.hiperlinks.com.br
Sao Paulo / SP / Brazil        |  -http://www.linuximq.net/

--------------------------------------------------------------------

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

In fact I'm just search for an XML representation of tc hierarchy. Although I could design my own, using a reviewed and "widely accepted" schema makes more sense to me. I'm not testing or planning to use LTCM.

Tks anyway...

Andre

Quoted 55 lines · Shane O'Hanlon

I just tried to get that code working some of the test programs worked some did not I could not find a versioning file. Have you had more success in getting it to work. I would like to get it too work.

Kernel 2.6.11.7

Here is the output of the test programs some failed some succeeded but I am sure its just my libs are not the correct version

output of e00
created dev_interface for eth0
pfifo qdisc {
limit: 0
}

output of e01
created dev_interface for eth0
failure: netlink failure

output of e02
created dev_interface for eth0
failure: netlink failure

output of e03
created dev_interface for eth0
failure: netlink failure

output of e04
created dev_interface for eth0
qdisc is of type pfifo

output of e05
failure: netlink failure

output of e06
fifo qdisc stars with limit = 100
failure: netlink failure

output of e07
creating root qdisc
failure: netlink failure

output of e08
qdisc 1:0

output of e09
creating root qdisc
failure: netlink failure

output of e10
creating root qdisc
failure: netlink failure

output of e11

Quoted 32 lines

output of e12
created dev_interface for eth0
failure: system reply: invalid arguments

Quoted 21 lines · Andre D. Correa

Hi list, I would like to know about any proposed XML representation for tc objects hierarchy. I found something at "LTCM, a Linux QoS API Library" (http://artemis.av.it.pt/~ltcmmm/) that looks like a start, but any others are welcome.

I'm starting a project to automatically syncronize traffic shape rules between servers and thought XML is the best way to represent tc hierarchy.

Tks in advance for any information.

--------------------------------------------------------------------

Andre D. Correa, CISSP         |  Visite meus projetos pessoais:
andre.correa (at) pobox.com    |  Visit my personal projects:
http://andre.hiperlinks.com.br |  -http://malware.hiperlinks.com.br
Sao Paulo / SP / Brazil        |  -http://www.linuximq.net/

--------------------------------------------------------------------

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

--------------------------------------------------------------------

Andre D. Correa, CISSP         |  Visite meus projetos pessoais:
andre.correa (at) pobox.com    |  Visit my personal projects:
http://andre.hiperlinks.com.br |  -http://malware.hiperlinks.com.br
Sao Paulo / SP / Brazil        |  -http://www.linuximq.net/

--------------------------------------------------------------------

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc