Error rendering rack examples

126 views
Skip to first unread message

Mark Birmingham

unread,
May 2, 2016, 6:39:26 PM5/2/16
to blockdiag-discuss
Hi,

Apologies if I missing something obvious. I get the following error trying to render any of the rack examples on the website.

$ nwdiag myrack.diag 
ERROR: got unexpected token: 1,1-1,8: Name 'rackdiag'


Here's my file - the simple rack example:

$ cat myrack.diag 
rackdiag {
  // define height of rack
  16U;

  // define rack items
  1: UPS [2U];
  3: DB Server
  4: Web Server
  5: Web Server
  6: Web Server
  7: Load Balancer
  8: L3 Switch
}

I'm using this version of nwdiag (installed via pip):

$ nwdiag --version
nwdiag 1.0.4

Any help is greatly appreciated.

Mark

Komiya Takeshi

unread,
May 5, 2016, 11:33:44 AM5/5/16
to blockdiag-discuss
Hi Mark,

nwdiag package contains three commands: nwdiag, packetdiag and rackdiag.
Please use rackdiag command instead to generate rack dialog images.

Thanks,

Takeshi KOMIYA

2016年5月3日火曜日 7時39分26秒 UTC+9 Mark Birmingham:

Mark Birmingham

unread,
May 5, 2016, 4:02:21 PM5/5/16
to blockdiag-discuss
Hi Takeshi,

Sorry - I didn't read the manual properly.

It now works perfectly!

Many thanks,
Mark
Reply all
Reply to author
Forward
0 new messages