#Ciscoconfparse -https://github.com/mpenning/ciscoconfparse Implements the ciscoconfparse library to create a basic sql from a configuration file of an olt. ####Install pip install --upgrade ciscoconfparse ####Run default ``` python runCreateSQL.py -cf=file.conf -on=zte -oma=ZTEv2 ``` ####Arguments ``` -cf or --config_file: Config file -on or --olt_name: OLT name -oma or --olt_model_analysis: OLT model analysis. Default ModelOltBase. ModelOltBase - ZTEv2 -oid or --olt_id: OLT id. Default 1 -db or --database_name: Database name. Default fd3_ftth -dbc or --database_name_client: Database name for table client. Default fd3_base -tid or --tenancy_id: Tenancy id. Default 2 -omid or --olt_model_id: OLT model id. Default 1 -vid or --init_vlan_id: Vlan id. Default 1 -tcontid or --init_tcont: Tcont id. Default 1 -tpid or --init_traffic_profile: Traffic profile id. Default 1 -nid or --init_nap: Nap id. Default 1 -cid or --init_client: Client id. Default 1 -pid or --init_profile: Profile id. Default 1 -onumid or --init_onu_model: ONU model id. Default 1 -onuid or --init_onus: ONU id. Default 1 -e or --errors: Show errors. Default 1 (TRUE) -d or --delete: Show delete from mysql. Default 1 (TRUE) -du or --duplicated: Show duplicated onu. Default 1 (TRUE) -ld or --load_disabled: Load disabled onus. Default 0 (FALSE) ``` ####UpdServicePortCmd.py Genera una SQL query para actualizar los service ports y la muestra en pantalla Marca de OLT soportada: Huawei ``` python UpdServicePortCmd.py -cf=file.conf ```