WUGS-20 Graphical Monitor Wei Deng Applied Research Laboratory - - PDF document

wugs 20 graphical monitor
SMART_READER_LITE
LIVE PREVIEW

WUGS-20 Graphical Monitor Wei Deng Applied Research Laboratory - - PDF document

WUGS-20 Graphical Monitor Wei Deng Applied Research Laboratory Washington University, St. Louis wdeng@arl.wustl.edu Washington 1 WASHINGTON UNIVERSITY IN ST LOUIS Introduction Course project of CS577 Software project: Visualize


slide-1
SLIDE 1

1

1

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

WUGS-20 Graphical Monitor

Wei Deng Applied Research Laboratory Washington University, St. Louis

wdeng@arl.wustl.edu

2

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Introduction

  • Course project of CS577
  • Software project: Visualize information for

WUGS-20 Gigabit switching system

  • Software Architecture
  • Design Issues
  • Implementation
  • Future Extension
  • Demo slides
slide-2
SLIDE 2

2

3

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Software Architecture

Distributed structure Prober Switch Controller

Switch

retriever memory parser GUI

Switch side User side

TCP Socket request data

ATM socket AAL0

4

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Design Issues

  • ATM Socket (16 bytes data)
  • User Interactive Response Time
  • Data Structures
  • Keep the whole VXT and maintenance registers

for each port in local memory

  • For multicast calcualtion, need additional VXI
  • Multipoint connection calculation algorithm
  • Get information RC, CYC1,2, EADR, VXI1,2 from

memory

  • Using a recursive function
slide-3
SLIDE 3

3

5

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Multicast connection calculation

  • Routing Control (000 010 001 011 111)
  • External Routing Address
  • Recycling flags
  • Virtual Path / Circuit Identifier
  • Input (a item of in_port)
  • Output (array of (out_port, vxi) tuples)

6

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Implementation

  • GUI Implementation ( J

ava / Swing )

  • Retriever ( thread, TCP socket)
  • Parser (passive module, initiated by user

interaction)

  • Prober (ATM socket, TCP socket)
slide-4
SLIDE 4

4

7

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

GUI Layout

Switch Maintenance Registers Virtual Path/ Circuit Table

8

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

User Interaction

  • Mouse actions (currently only supported mode)
  • Clickable area : port, table entries

Information on GUI

  • Virtual Path / Circuit Table
  • Maintenance Registers
  • Link / Port Status
  • Statistical Information
slide-5
SLIDE 5

5

9

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Retriever Implementation

  • Using J

ava Thread, works asynchronously with GUI

  • Retrieved data stored in memory, share data
  • 2 threads, with different interval time between two

retrieve operations

  • Communicate with remote prober using TCP socket

10

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Parser Implementation

  • Working in passive mode, works like a filter
  • Transfer byte array data stored in meory to text

information which will be presented in GUI

slide-6
SLIDE 6

6

11

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Prober Implementation

  • Working in daemon mode, always listen to TCP

socket connections on designated TCP port

  • Can accept several connections simultaneously,

but can only execute one probe a time, because

  • f the restrictions in ATM socket
  • Acceptable commands
  • REG PORT FIELDNUM
  • TBL PORT

Return table entries whose Busy/ Idle bit = 1 every entry 18 bytes (16 + VXI) First VPT, then VCT, ends with VPTEND / VCTEND

12

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Extension and Enhancement

  • User modifiable graphical component (Table,

writable maintenance register fields) ⇒Graphical controller

  • Better representation of link load information for

each port

slide-7
SLIDE 7

7

13

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Snapshot 1

14

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Snapshot 2

slide-8
SLIDE 8

8

15

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Snapshot 3

16

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Snapshot 4

slide-9
SLIDE 9

9

17

Washington

WASHINGTON UNIVERSITY IN ST LOUIS

Snapshot 5