Use of erlang in system test of AXD

  • Slides: 10
Download presentation
Use of erlang in system test of AXD 301 Karl Olsson

Use of erlang in system test of AXD 301 Karl Olsson

Erlang distribution Tools conf sssg x. AXE x. MG OTP test server dbg loading

Erlang distribution Tools conf sssg x. AXE x. MG OTP test server dbg loading of modules Configuration tool UNI traffic generator AXE 10 traffic simulator/generator Media gateway simulator Automatic test tool

AXD 301 20 19 18 17 16 15 14 13 12 11 10 9

AXD 301 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 CP SC CB CB CP SC ch om stby CP SC CB control processor, Unix, erlang Switch core Connection board ATM (32 x 2 Mb/s - 1 x 2, 5 Gb/s) CE (32 x. T 1 - 124 x. E 1) FR MPLS 0 1 2 … Sy S S 30 31 Si S S CP SC CB CB CP SC stby 16 ch Scalable 10 Gb - 160 Gb 0 -4 CP pairs/subrack

Erlang distribution 20 19 18 17 16 15 14 13 12 11 10 9

Erlang distribution 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 CP SC CB CB CP SC 10. 0. 1. 3 10. 0. 1. 2 ‘axd 301@cp 1 -19’ HUB ‘axd 301@cp 1 -1’ rpc: call/4 erlnode@stpc 57 WS (STPC) 10. 0. 1. 254 LAB LAN network

Tools - conf AXD 301 user interfaces AMS (http) snmp NO command line interface

Tools - conf AXD 301 user interfaces AMS (http) snmp NO command line interface %%% ------------------------------------%%% block_board(Subrack, Slot. No, Type) -> %%% ok | Other %%% Input: Subrack integer %%% Slot. No integer %%% Type cp 1, sc 2, clk 2, cp 19, sc 20, clk 20, atb, cb %%% Output: ok | Other %%% Exceptions: %%% Description: blocks a board %%% Example: conf: block_board(1, 11, atb). %%% Example: conf: block_board(1, 19, cp 19). %%% ------------------------------------block_board(Subrack, Slot. No, Type) -> {Em. Slot, Piu. Slot, Side} = case Type of cp 1 -> {1, 1, 1}; sc 2 -> {2, 2, 1}; clk 2 -> {2, 2, 2}; cp 19 -> {19, 1}; sc 20 -> {2, 20, 1}; clk 20 -> {2, 20, 2}; atb -> {Slot. No, 1}; cb -> {Slot. No, 2} end, Submit. Functions = {eqm. Lms. PIU, submit_open_piu}, Submit. Requests = [{action, eqm. Mi, piu. Table, [Subrack, Em. Slot, Piu. Slot, Side], null, [{"Block", 7, 2, null}], [{errors, rollback}]}], Submit. Properties = [{page. Source, {eqm. Lms. PIU, open_piu}}, {post. Action, 0}], rpc_call(Submit. Functions, Submit. Requests, Submit. Properties, "block_board ~p ~p ~p Successfull", [Subrack, Slot. No, Type], "block_board ~p ~p ~p UNSUCCESSFULL", [Subrack, Slot. No, Type], "block_board").

Tools - sssg WS with SUN ATM board sssg 1@sahix UNI AXD 301 ‘axd

Tools - sssg WS with SUN ATM board sssg 1@sahix UNI AXD 301 ‘axd 301@cp 1 -1’ UNI ‘axd 301@cp 1 -19’ sssg 2@sahiy HUB STPC erlnode@stpc LAB LAN network ATM ethernet

Engine Integral RSS PABX proprietary DSS 1/QSIG AXE 10 ISUP/C 7 AXE 10 other

Engine Integral RSS PABX proprietary DSS 1/QSIG AXE 10 ISUP/C 7 AXE 10 other Circuit emulation ATM ethernet AXE 10 Te. S RSS PABX propriety DSS 1/QSIG other PC AXD 301 ML ER AXD 301 MG

LAB LAN network STPC x. AXE Tools - x. AXE, x. MG x. AXE@stpcx

LAB LAN network STPC x. AXE Tools - x. AXE, x. MG x. AXE@stpcx AXE 10 ethernet Control link H. 248 (ATM) Circuit emulation ATM HUB x. MG ML x. MG@sahix MG 1 ML Mediation logic MG Media gateway MG 2 x. MG WS with SUN ATM board

OTP test server ‘axd 301@cp 1 -1’ ‘axd 301@cp 1 -19’ HUB STPCx ‘axd

OTP test server ‘axd 301@cp 1 -1’ ‘axd 301@cp 1 -19’ HUB STPCx ‘axd 301@cp 2 -1’ ‘axd 301@cp 1 -19’ rpc: call/4 testserver@stpcx rpc: call/4 gen_tcp slave@stpcy HUB STPCy LAB LAN network

testserver@stpcml x. AXE@stpcml STPCml ethernet Control link H. 248 Circuit emulation ATM ML Distribution

testserver@stpcml x. AXE@stpcml STPCml ethernet Control link H. 248 Circuit emulation ATM ML Distribution conf/snmp sssg x. AXE x. MG Erlang logs ‘axd 301@cp 1 -1’ x. MG@sahiy ‘axd 301@cp 1 -19’ x. MG sssg@sahix sssg MG 1 STPCmg 2 LAB LAN network MG 2 ‘axd 301@cp 1 -1’ ‘axd 301@cp 1 -19’ slave@stpcmg 1 slave@stpcmg 2 STPCmg 2