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

# Retreive data from NEs
connect
#get
netconf --reply CT_get get --with_defaults report-all --filter-file interface_type_microwaveCarrierTermination_filter.xml
netconf --reply RLT_get get --with_defaults report-all --filter-file interface_type_microwaveRadioLinkTerminal_filter.xml
#get config
netconf --reply CT_get_config get-config --with_defaults report-all --source running --filter-file interface_type_microwaveCarrierTermination_filter.xml
netconf --reply RLT_get_config get-config --with_defaults report-all --source running --filter-file interface_type_microwaveRadioLinkTerminal_filter.xml
#close session
netconf close-session

# Formating data
table from_xml --reply CT_get --table CT_get --xsl-transform CT_transform.xsl
table from_xml --reply RLT_get --table RLT_get --xsl-transform RLT_transform.xsl
table from_xml --reply CT_get_config --table CT_get_config --xsl-transform CT_transform.xsl
table from_xml --reply RLT_get_config --table RLT_get_config --xsl-transform RLT_transform.xsl

table concat --table CT_get
table concat --table RLT_get
table concat --table CT_get_config
table concat --table RLT_get_config

table to_excel interfaces.xlsx --tables CT_get RLT_get CT_get_config RLT_get_config
quit
