set feedback_to_output true
ne load ne.yaml
# set logging_config logging_config.yaml

# Retreive data from NEs
connect
netconf --reply PORT_get get --with_defaults report-all --filter-file ethernet_filter.xml
netconf --reply PORT_get_config get-config --with_defaults report-all --source running --filter-file ethernet_filter.xml

netconf close-session

# Formating data
table from_xml --reply PORT_get --table PORT_get  --xsl-transform ethernet_transform.xsl
table from_xml --reply PORT_get_config --table PORT_get_config  --xsl-transform ethernet_transform.xsl

table concat --table PORT_get
table concat --table PORT_get_config
table to_excel ethernet.xlsx --tables PORT_get PORT_get_config
quit
