Title: Automatic Interface Adapter Generation Methods using Interface BlendingDiagnosis Technologies
1Automatic Interface Adapter Generation Methods
using Interface Blending/Diagnosis Technologies
- Yu Miyoshi,
- Tatsuyuki Kimura,
- Yoshihiro Otsuka
- NTT Network Service Systems Laboratories
2Contents
- Introduction
- Issues in NMS development
- Interface blending/diagnosis
- Behavior of components
- Verification trials
- Conclusion
3Interface adapters
Network management system
API
User interface
Application function
Interface
CLI
NE
Different vendor, different specification
4An issue in NMS development
NMS development
NE development
Confirmation of specifications
Redesign
Redesign
Trial connection with NE
Start of service operation
5Blending Diagnosis
- Creation from existing adapter (Blending)
- Query to the target NE (Diagnosis)
6Adapter divided into three parts
! /usr/local/bin/expect log_user 0 set
timeout 5 set loginIP lindex argv 0 set
targetIfName lindex argv 1 set user lindex
argv 2 set loginPW lindex argv 3
append command "show ipv6 mld" spawn telnet
loginIP expect -re "Unknown
host" send_user " Unknown host " exit -1
-re "login " send "user\n"
timeout send_user " loginIP Login
Timeout \n exit -1 expect
-re "Password" send "loginPW\n"
exp_continue -re "(Error )."
send_user " loginIP Login Timeout \n" exit -1
-re "" send "terminal
pager off\n" expect -re "(Error
)." send_user " Command error " exit -1
timeout send_user " Timeout error
" exit -1 -re "" send
"command\n" expect -indices -re
(IPv6address)\\n\.\n\ (IPv6address)
send_user "expect_out(2,string),expect_out(
9,string)\n" -re "(Error )."
send_user " Command error " exit -1
timeout send_user " Timeout " exit -1
-re "" send "exit\n" close
7Adapter divided into connections
! /usr/local/bin/expect log_user 0 set
timeout 5 set loginIP lindex argv 0 set
targetIfName lindex argv 1 set user lindex
argv 2 set loginPW lindex argv 3
append command "show ipv6 mld" spawn telnet
loginIP expect -re "Unknown
host" send_user " Unknown host " exit -1
-re "login " send "user\n"
timeout send_user " loginIP Login
Timeout \n exit -1 expect
-re "Password" send "loginPW\n"
exp_continue -re "(Error )."
send_user " loginIP Login Timeout \n" exit -1
-re "" send "terminal
pager off\n" expect -re "(Error
)." send_user " Command error " exit -1
timeout send_user " Timeout error
" exit -1 -re "" send
"command\n" expect -indices -re
(IPaddress)\\n\.\n\ (IPaddress)
send_user "expect_out(2,string),expect_out(9,s
tring)\n" -re "(Error )."
send_user " Command error " exit -1
timeout send_user " Timeout " exit -1
-re "" send "exit\n" close
8Behavior of Blending
9Calibration rules (example)
- Using just existing commands of other adapters
- Modifying existing commands
- ( e.g., show ip ospf interface -gt show ip
interface ospf ) - Replacing defined equivalent words
- ( e.g., show ipv6 ospf interface -gt show
inet6 ospf3 interface )
10Behavior of Diagnosis
11Verification trials
prototype system
Modify input scripts
Replace the target NE
Test network
- We verified the effectiveness of our proposal for
adapters written by script language (Expect). - 3 vendor NEs, 3 functions (9 Script files).
- 9 script files includes 44 conversations.
12Results
First try
Second try
Conversations generated automatically
Conversations generated automatically
Target NE
Diagnosis success
Diagnosis success
Functions
1/2
4/5
2/2
5/5
Function 1
Vendor A
1/2
3/4
2/2
4/4
Function 2
1/2
2/4
2/2
4/4
Function 3
3/6
10/13
6/6
13/13
Subtotal A
1/2
5/6
2/2
6/6
Function 1
Vendor B
1/2
6/7
2/2
7/7
Function 2
1/2
5/6
2/2
6/6
Function 3
16/19
3/6
6/6
19/19
Subtotal B
3/4
4/4
1/2
2/2
Function 1
Vendor C
4/5
5/5
1/2
2/2
Function 2
3/3
3/3
1/1
1/1
Function 3
3/5
10/12
5/5
12/12
Subtotal C
Total
9/17 (53)
36/44 (82)
17/17 (100)
44/44 (100)
13Conclusion
- We propose the interface blending/diagnosis
technology. - alleviates the effort of NMS development
- We tested a prototype system to confirm its
feasibility. - obtain effective responses for all commands
- depended on the number of stored patterns
rules - Further study completion way
14Thank you.
Yu Miyoshi miyoshi.yu_at_lab.ntt.co.jp Tel
81-422-59-6748