Download
implementation and bandwidth consumption evaluation of snmp to web services gateways n.
Skip this Video
Loading SlideShow in 5 Seconds..
Implementation and Bandwidth Consumption Evaluation of SNMP to Web Services Gateways PowerPoint Presentation
Download Presentation
Implementation and Bandwidth Consumption Evaluation of SNMP to Web Services Gateways

Implementation and Bandwidth Consumption Evaluation of SNMP to Web Services Gateways

282 Vues Download Presentation
Télécharger la présentation

Implementation and Bandwidth Consumption Evaluation of SNMP to Web Services Gateways

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Informática UFRGS Implementation and Bandwidth Consumption Evaluation of SNMP to Web Services Gateways Ricardo Neisse Ricardo Vianna Lisandro Zambenedetti Granville Maria Janilce Bosquiroli Almeida Liane Margarida Rockenback Tarouco Federal University of Rio Grande do Sul, Brazil

  2. Outline • Introduction • Web Services based management architecture • Type of gateways • Bandwidth consumption analysis • Conclusions and future work Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  3. Introduction • SNMP x new management challenges • XML applied in network management • NETConf • SNMP to XML gateways • Web Services • … Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  4. Web Services BasedManagement Architecture UDDI Look up WS based network managemend system Publish (WSDL) Network administrator Invoke (SOAP) SNMP to WS gateway WS based network management system SNMP Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  5. Web Services Gateways • Provide access to device information through Web Services • Two types: • Protocol-level • Object-level Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  6. Protocol Level Gateways • Map SNMP operations (Get, GetNext, Set) into Web Service calls • E.g. function Get ($ip, $community, $oid) function GetNext ($ip, $community, $oid) function Set ($ip, $community, $oid, $newvalue) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  7. Object Level Gateways • Map each MIB object to a WS operation • E.g. function GetSysLocation ($ip, $community) function SetSysLocation ($ip, $community, $newvalue) function GetIfAdminStatus ($ip, $community, $index=-1) function SetIfAdminStatus ($ip, $community, $index, $newvalue) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  8. Protocol level: Similar to SNMP Manager is forced to know the MIB structure New MIBs are supported without modifications in the gateway Dynamic creation is not required to protocol level gateways Object level: Operations and bindings are described in WSDL Changes in the MIB reflect in the gateway Gateway dynamic creation Protocol x Object Level Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  9. System for Gateway Dynamic Creation • Implemented in PHP • Generates object level gateways and WSDL descriptions from SMI MIB definitions • Uses LIBSMI to parse SMI files and NuSOAP to support Web Services Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  10. Gateway Dynamic Creation SNMP to Web Service Gateway: require_once('nusoap.php'); $server = new soap_server(); ... $server->register('ifOutOctets'); function ifOutOctets($ip, $str_com, $index=-1){ if($ip=='' or $str_com=='') return new soap_fault(‘1','client',‘Invalid Parameters'); else { $res = snmpwalk($ip, $str_com, '.1.3.6.1.2.1.2.2.1.16'); if($index>-1) return $res[$index]; else return $res; } } ... $server->service($HTTP_RAW_POST_DATA); Web-based network management station Web server SMIDUMP (LIBSMI) Instrumentation (PHP SAX parser) New gateway (PHP Script) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  11. Bandwidth Consumption Evaluation • SNMP versus WS protocol-level and object-level gateways • Web Service gateways over: • HTTP and HTTPS • With and without Compression (zlib) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  12. Test Scenario Points of measurement SNMP SOAP Web Service based network management system SNMP to WS Gateway Linux (Apache) Linux (NetSNMP) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  13. SNMP Test Agent • Configure the number of objects to return in wsTableRows • SNMP data: oid.1 (integer 1) oid.2 (integer 2) ... oid.n (integer n) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  14. Results (1): GetNext Operation of Protocol Based Gateway Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  15. Results (2): GetWSColumn Operation of Object Based Gateway Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  16. Results (3): GetNext Operation of Protocol-Level Gateway with Compression Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  17. Results (4): GetWSColumn Operation of Object Based Gateway with Compression Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  18. Conclusions • SNMP to Web Services gateways implementation • Object-level gateways do not require previous knowledge about object definitions • Object-level gateways always perform better than protocol-level gateways and perform better than SNMP when return: Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  19. Future Work • Analysis of performance and memory required by gateways • Web Services Management Architecture • Configuration (NetConf) • Delegation (Script MIB) Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  20. Thank you! • Q&A? • Contact information: Ricardo Neisse neisse@inf.ufrgs.br Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil

  21. Web Services Background UDDI Look up Publish SOAP Web Service Client Invoke WSDL described service Ricardo Neisse Institute of Informatics, Federal University of Rio Grande do Sul, Brazil