* [LARTC] Re: TC Point & Click + XML
@ 2001-07-13 4:41 Michael T. Babcock
2001-07-13 13:27 ` David Talbot
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Michael T. Babcock @ 2001-07-13 4:41 UTC (permalink / raw)
To: lartc
On 12 Jul 2001 17:41:42 -0500, Nikolai Vladychevski wrote:
> But what I am trying to do is to release it for
> production where the end users would point & click for filter creation &
> bandwidth definition, so I think it will be an adventure, but I am
> accepting the risks... after all.... it's free code....
I've been working on an XML format for describing a traffic control
configuration in-house. We're working on a good way to describe the
rules and its not too hard since most of the settings are hierarchial.
We've eliminated the need for specifying parents by the inherentness of
nesting classes under cbq queues and queues under classes, but have a
few more things to iron out. I'll be posting what we come up with and
some code to turn it into TC statements when its more stable unless
there's outside interest in working on it.
Offering users a point-and-click QoS+TC environment was on our minds
when we realised that what we needed was a good configuration file
format to save the settings in.
--
Michael T. Babcock
http://www.fibrespeed.net/~mbabcock/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LARTC] Re: TC Point & Click + XML
2001-07-13 4:41 [LARTC] Re: TC Point & Click + XML Michael T. Babcock
@ 2001-07-13 13:27 ` David Talbot
2001-07-13 15:22 ` Michael T. Babcock
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: David Talbot @ 2001-07-13 13:27 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]
This would be wonderful... is it an OS project (And how far along is
it)? It always seemd to me that things like routing and rate limiting
rules would be better described by a configuration file than by a series
of command line commands.
-David Talbot
Michael T. Babcock wrote:
>On 12 Jul 2001 17:41:42 -0500, Nikolai Vladychevski wrote:
>
>>But what I am trying to do is to release it for
>>production where the end users would point & click for filter creation &
>>bandwidth definition, so I think it will be an adventure, but I am
>>accepting the risks... after all.... it's free code....
>>
>
>I've been working on an XML format for describing a traffic control
>configuration in-house. We're working on a good way to describe the
>rules and its not too hard since most of the settings are hierarchial.
>We've eliminated the need for specifying parents by the inherentness of
>nesting classes under cbq queues and queues under classes, but have a
>few more things to iron out. I'll be posting what we come up with and
>some code to turn it into TC statements when its more stable unless
>there's outside interest in working on it.
>
>Offering users a point-and-click QoS+TC environment was on our minds
>when we realised that what we needed was a good configuration file
>format to save the settings in.
>
[-- Attachment #2: Type: text/html, Size: 1654 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LARTC] Re: TC Point & Click + XML
2001-07-13 4:41 [LARTC] Re: TC Point & Click + XML Michael T. Babcock
2001-07-13 13:27 ` David Talbot
@ 2001-07-13 15:22 ` Michael T. Babcock
2001-07-13 15:53 ` Togan Muftuoglu
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Michael T. Babcock @ 2001-07-13 15:22 UTC (permalink / raw)
To: lartc
> This would be wonderful... is it an OS project (And how far along is it)?
> It always seemd to me that things like routing and rate limiting rules
> would be better described by a configuration file than by a series of
> command line commands.
A copy of an example XML description file is available at:
http://www.fibrespeed.net/~mbabcock/linux/qos_tc/tc.xml
Right now, its fairly specific to the options available in Linux tc, but
our goal was to come up with a schema that would be extendable
to other QoS configurations (like *BSD's)
--
Michael T. Babcock
CTO, FibreSpeed
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LARTC] Re: TC Point & Click + XML
2001-07-13 4:41 [LARTC] Re: TC Point & Click + XML Michael T. Babcock
2001-07-13 13:27 ` David Talbot
2001-07-13 15:22 ` Michael T. Babcock
@ 2001-07-13 15:53 ` Togan Muftuoglu
2001-07-13 18:49 ` David Talbot
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Togan Muftuoglu @ 2001-07-13 15:53 UTC (permalink / raw)
To: lartc
* Michael T. Babcock; <mbabcock@fibrespeed.net> on 13 Jul, 2001 wrote:
> > This would be wonderful... is it an OS project (And how far along is it)?
> > It always seemd to me that things like routing and rate limiting rules
> > would be better described by a configuration file than by a series of
> > command line commands.
>
> A copy of an example XML description file is available at:
> http://www.fibrespeed.net/~mbabcock/linux/qos_tc/tc.xml
> Right now, its fairly specific to the options available in Linux tc, but
> our goal was to come up with a schema that would be extendable
> to other QoS configurations (like *BSD's)
This is what I am getting
XML Parsing Error: syntax error Location:
http://www.fibrespeed.net/~mbabcock/linux/qos_tc/tc.xml Line Number 1,
Column 6:<?xml ?>
--
Togan Muftuoglu
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LARTC] Re: TC Point & Click + XML
2001-07-13 4:41 [LARTC] Re: TC Point & Click + XML Michael T. Babcock
` (2 preceding siblings ...)
2001-07-13 15:53 ` Togan Muftuoglu
@ 2001-07-13 18:49 ` David Talbot
2001-07-13 20:21 ` Michael T. Babcock
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: David Talbot @ 2001-07-13 18:49 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 707 bytes --]
Any source code available (and if so where?)? Is this a OS project, an
internal app, or a commercial app?
-David Talbot
Michael T. Babcock wrote:
>>This would be wonderful... is it an OS project (And how far along is it)?
>>It always seemd to me that things like routing and rate limiting rules
>>would be better described by a configuration file than by a series of
>>command line commands.
>>
>
>A copy of an example XML description file is available at:
>http://www.fibrespeed.net/~mbabcock/linux/qos_tc/tc.xml
>Right now, its fairly specific to the options available in Linux tc, but
>our goal was to come up with a schema that would be extendable
>to other QoS configurations (like *BSD's)
>
[-- Attachment #2: Type: text/html, Size: 1099 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LARTC] Re: TC Point & Click + XML
2001-07-13 4:41 [LARTC] Re: TC Point & Click + XML Michael T. Babcock
` (3 preceding siblings ...)
2001-07-13 18:49 ` David Talbot
@ 2001-07-13 20:21 ` Michael T. Babcock
2001-07-13 22:04 ` David Talbot
2001-07-15 1:40 ` Michael T. Babcock
6 siblings, 0 replies; 8+ messages in thread
From: Michael T. Babcock @ 2001-07-13 20:21 UTC (permalink / raw)
To: lartc
> Any source code available (and if so where?)?
Not in the open yet, no.
> Is this a OS project, an internal app, or a commercial app?
Open source, for commercial use. We want to be able to design traffic
control
configurations for our clients in a better way than the lists of TC commands
that
are typical -- so this will obviously give us commercial aid, but we will
release
the conversion tools under the GPL and the XML schema for free use. I'd
like to officially encourage contribution to the idea and any syntactic
problems
you foresee.
--
Michael T. Babcock
CTO, FibreSpeed
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LARTC] Re: TC Point & Click + XML
2001-07-13 4:41 [LARTC] Re: TC Point & Click + XML Michael T. Babcock
` (4 preceding siblings ...)
2001-07-13 20:21 ` Michael T. Babcock
@ 2001-07-13 22:04 ` David Talbot
2001-07-15 1:40 ` Michael T. Babcock
6 siblings, 0 replies; 8+ messages in thread
From: David Talbot @ 2001-07-13 22:04 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 2395 bytes --]
A schema that doesn't use the obscure referances of tc would probably be
far easier to use, something similar to:
<qos>
<class id="1:1" devicebandwidth="100mbit" ratelimit="256kbit"
device="eth0" bounded>
<filter srcip="192.168.0.1" destination="209.12.12.12"
destinationport="80"/>
<filter destinationip="10.0.0.1">
<route redirectto="10.0.1.1" redirectport="80"/>
</filter>
</class>
<filter destinationip="10.0.0.1">
<route redirectto="10.0.1.1" redirectport="443"/>
</filter>
<qos>
This is logically the way I've always thought of tc/iptables etc (It
makes sense to me that you would want to configure them both in the same
file. Basically using the syntax above, you define a class, then you
define filters to say when it should apply, and you can even set routing
decisions (iptables) when certain filters apply. It seems like it
wouldn't be hard to put together a perl script that could interpret the
above and wisk it into a series of iptables and tc commands that produce
the desired configuration.
Of course the example above means alot of things are implied such as the
average packet size and many of the other parts of TC that are "unknown"
(such as quantum, I still can't find and documentation as to what It
does, I just know it has to be 1514b). In cases such as the one
mentioned above, we could create "semi-intelligent defaults" but with
the ability for the person to define it if they really want to.
What do you think? Too dummied down to be useful?
-David Talbot
Michael T. Babcock wrote:
>>Any source code available (and if so where?)?
>>
>Not in the open yet, no.
>
>>Is this a OS project, an internal app, or a commercial app?
>>
>Open source, for commercial use. We want to be able to design traffic
>control
>configurations for our clients in a better way than the lists of TC commands
>that
>are typical -- so this will obviously give us commercial aid, but we will
>release
>the conversion tools under the GPL and the XML schema for free use. I'd
>like to officially encourage contribution to the idea and any syntactic
>problems
>you foresee.
>--
>Michael T. Babcock
>CTO, FibreSpeed
>
>
>_______________________________________________
>LARTC mailing list / LARTC@mailman.ds9a.nl
>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
>
>.
>
[-- Attachment #2: Type: text/html, Size: 3443 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [LARTC] Re: TC Point & Click + XML
2001-07-13 4:41 [LARTC] Re: TC Point & Click + XML Michael T. Babcock
` (5 preceding siblings ...)
2001-07-13 22:04 ` David Talbot
@ 2001-07-15 1:40 ` Michael T. Babcock
6 siblings, 0 replies; 8+ messages in thread
From: Michael T. Babcock @ 2001-07-15 1:40 UTC (permalink / raw)
To: lartc
David Talbot wrote:
> This is logically the way I've always thought of tc/iptables etc (It
> makes sense to me that you would want to configure them both in the
> same file).
On a Linux machine -- yes. However, doing XML schemas correctly means
that it should describe one thing well, and only that one thing. I'd
rather have an extensible schema that describes traffic control rules
perfectly than one that also describes routing and filtering half-heartedly.
> Of course the example above means alot of things are implied such as
> the average packet size and many of the other parts of TC that are
> "unknown" (such as quantum, I still can't find and documentation as to
> what It does, I just know it has to be 1514b). In cases such as the
> one mentioned above, we could create "semi-intelligent defaults" but
> with the ability for the person to define it if they really want to.
Quantum is the unit of an individual packet and should be set to the MTU
+ the ethernet header size (14 bytes).
--
Michael T. Babcock
CTO, FibreSpeed
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-07-15 1:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-13 4:41 [LARTC] Re: TC Point & Click + XML Michael T. Babcock
2001-07-13 13:27 ` David Talbot
2001-07-13 15:22 ` Michael T. Babcock
2001-07-13 15:53 ` Togan Muftuoglu
2001-07-13 18:49 ` David Talbot
2001-07-13 20:21 ` Michael T. Babcock
2001-07-13 22:04 ` David Talbot
2001-07-15 1:40 ` Michael T. Babcock
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.