Overview

This tutorial demonstrates how to use the Element Service Set to access the properties of the network element.

Requirements/Prerequisites

To see the Element Property attributes of a network element, your application must have the following information available:

Steps In Detail

Get an Element Property

Create a connection to the network element. Get the element properties of the network element.

element_property = tutorial.get_network_element().properties
tutorial.get_element_property_attributes(element_property)

Element Property Attributes

Get the processor of the element property of the network element.

processor = element_property.processor

Get the product ID (PID) of the element property of the network element.

product_id = element_property.product_id

Get the serial number of the element property of the network element.

serial_no = element_property.SerialNo

Get the description of the element property of the network element.

sys_descr = element_property.sys_descr

Get the system name of the element property of the network element.

sys_name = element_property.sys_name

Get the system uptime of the element property of the network element.

sys_uptime = element_property.sys_uptime

Result

Congratulations! Now you are able to get the property and the property attributes of the network element.

To try out this tutorial code by compiling and running it, you can find the code located at: <SDK Location>/python/tutorials/element/ElementProcessTutorial.py.