Hi all,
I was just working with "flowadm" command today. What i found was the
following:
# flowadm add-flow -l e1000g1 -a transport=TCP -p maxbw=1500Mbps tcp-flow
# flowadm show-flow
NAME LINK ATTR VALUE
sctp-flow e1000g1
ip_version 4
transport sctp
tcp-flow e1000g1
ip_version 4
transport tcp
# flowadm show-flowprop tcp-flow
FLOW PROPERTY VALUE DEFAULT POSSIBLE
tcp-flow maxbw 1500 -- --
tcp-flow cpus ? -- --
tcp-flow priority ? -- --
tcp-flow fanout ? -- --
#flowadm show-flowprop
#
I mean to say that "flowadm show-flowprop" should show the properties
of
all flows. It was doing so when i was working with the earlier
archives.But now it is not working. The expected output is
FLOW PROPERTY VALUE DEFAULT POSSIBLE
sctp-flow maxbw ?
-- --
sctp-flow cpus
? -- --
sctp-flow priority
? -- --
sctp-flow fanout
? -- --
tcp-flow maxbw 1500
-- --
tcp-flow cpus ?
-- --
tcp-flow priority ?
-- --
tcp-flow fanout ?
-- --
Is this a bug?
Regards,
Samir
Hello Samir, Which bits are you using? On the latest daily bits 052908, "flowadm show-flowprop" works fine. ~Girish Samir Kumar Mishra wrote:> Hi all, > > I was just working with "flowadm" command today. What i found was the > following: > > # flowadm add-flow -l e1000g1 -a transport=TCP -p maxbw=1500Mbps tcp-flow > # flowadm show-flow > NAME LINK ATTR VALUE > sctp-flow e1000g1 > ip_version 4 > transport sctp > tcp-flow e1000g1 > ip_version 4 > transport tcp > > # flowadm show-flowprop tcp-flow > FLOW PROPERTY VALUE DEFAULT POSSIBLE > tcp-flow maxbw 1500 -- -- > tcp-flow cpus ? -- -- > tcp-flow priority ? -- -- > tcp-flow fanout ? -- -- > > #flowadm show-flowprop > # > > > I mean to say that "flowadm show-flowprop" should show the properties of > all flows. It was doing so when i was working with the earlier > archives.But now it is not working. The expected output is > FLOW PROPERTY VALUE DEFAULT POSSIBLE > sctp-flow maxbw ? > -- -- > sctp-flow cpus > ? -- -- > sctp-flow priority > ? -- -- > sctp-flow fanout > ? -- -- > tcp-flow maxbw 1500 > -- -- > tcp-flow cpus ? > -- -- > tcp-flow priority ? > -- -- > tcp-flow fanout ? > -- -- > > > Is this a bug? > > > Regards, > Samir > > _______________________________________________ > crossbow-discuss mailing list > crossbow-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss >
Samir: This is fixed in the current bits. -venu On Sun, 1 Jun 2008, Samir Kumar Mishra wrote:> Hi all, > > I was just working with "flowadm" command today. What i found was the > following: > > # flowadm add-flow -l e1000g1 -a transport=TCP -p maxbw=1500Mbps tcp-flow > # flowadm show-flow > NAME LINK ATTR VALUE > sctp-flow e1000g1 > ip_version 4 > transport sctp > tcp-flow e1000g1 > ip_version 4 > transport tcp > > # flowadm show-flowprop tcp-flow > FLOW PROPERTY VALUE DEFAULT POSSIBLE > tcp-flow maxbw 1500 -- -- > tcp-flow cpus ? -- -- > tcp-flow priority ? -- -- > tcp-flow fanout ? -- -- > > #flowadm show-flowprop > # > > > I mean to say that "flowadm show-flowprop" should show the properties of all > flows. It was doing so when i was working with the earlier archives.But now > it is not working. The expected output is > FLOW PROPERTY VALUE DEFAULT POSSIBLE > sctp-flow maxbw ? -- > -- > sctp-flow cpus ? > -- -- > sctp-flow priority ? > -- -- > sctp-flow fanout ? > -- -- > tcp-flow maxbw 1500 -- > -- > tcp-flow cpus ? > -- -- > tcp-flow priority ? > -- -- > tcp-flow fanout ? > -- -- > > > Is this a bug? > > > Regards, > Samir > >