Spaces:
Runtime error
Runtime error
Commit 路
c9c4ff9
1
Parent(s): b1aea4c
Adicion Acuerdo Definitivo 4G (23G existente)
Browse files
app.py
CHANGED
|
@@ -157,7 +157,7 @@ def main():
|
|
| 157 |
else:
|
| 158 |
st.error('Ingrese APN NAME 3')
|
| 159 |
|
| 160 |
-
menu = st.selectbox('Escoga el tipo de Acuerdo', ['Acuerdo Pruebas 2G & 3G', 'Acuerdo Definitivo 2G & 3G', 'Acuerdo Pruebas 4G', 'Acuerdo Definitivo 4G (2G & 3G Existente)'])
|
| 161 |
|
| 162 |
#----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| 163 |
|
|
@@ -689,7 +689,7 @@ def main():
|
|
| 689 |
st.text('ZNBI:ITU=4:TT=0,NP=7,NAI=4,:'+cc+nc+':2:;')
|
| 690 |
|
| 691 |
st.subheader('Pruebas de resoluci贸n de APN')
|
| 692 |
-
st.markdown('Ver unidad IPDU ')
|
| 693 |
st.text('ZUSI:IPDU;')
|
| 694 |
st.text('ZKAI:IPDU,1;')
|
| 695 |
st.text('ZDDS:IPDU;')
|
|
@@ -735,7 +735,7 @@ def main():
|
|
| 735 |
return nueva_imsi
|
| 736 |
|
| 737 |
imsiToHSS = st.text_input('Ingresar el valor del ultimo registro campo mappingId')
|
| 738 |
-
if bool(imsiToHSS) == True:
|
| 739 |
imsiToHSS = int(imsiToHSS) + 1
|
| 740 |
imsiToHSS = str(imsiToHSS)
|
| 741 |
st.success('Valor Ingresado')
|
|
@@ -752,7 +752,7 @@ def main():
|
|
| 752 |
st.write('cmm imsiToHss create --plmnName "'+PLMNname+'-TEMP" --mappingId "'+imsiToHSS+'" --mappingType "ALL" --subscriberDbType "EPC-Capability" --loadBalance "all" --shutdown "false" --hssGrpListName "hssGrp_DRAUIO01_DRAGYE01" --minMsin '+imsiMenor_new+' --maxMsin '+imsiMayor_new+' --draDestRealmFqdnName "FQDN_'+PLMNname+'"')
|
| 753 |
|
| 754 |
else:
|
| 755 |
-
st.warning('Ingrese un valor')
|
| 756 |
|
| 757 |
st.markdown(':red[**Validaciones**]')
|
| 758 |
st.text('cmm imsiToHss list -c plmnName -c mappingId')
|
|
@@ -826,6 +826,7 @@ def main():
|
|
| 826 |
st.text('cmm imsiToHss list -c plmnName -c mappingId')
|
| 827 |
|
| 828 |
imsiToHSS_rollback = st.text_input('Ingresar el valor del registro campo mappingId que desea eliminar')
|
|
|
|
| 829 |
if bool(imsiToHSS_rollback) == True:
|
| 830 |
imsiToHSS_rollback = str(imsiToHSS_rollback)
|
| 831 |
st.success('Valor Ingresado')
|
|
@@ -864,6 +865,264 @@ def main():
|
|
| 864 |
else:
|
| 865 |
st.error('Ingrese el nombre de la PLMN')
|
| 866 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 867 |
|
| 868 |
|
| 869 |
|
|
|
|
| 157 |
else:
|
| 158 |
st.error('Ingrese APN NAME 3')
|
| 159 |
|
| 160 |
+
menu = st.selectbox('Escoga el tipo de Acuerdo', ['Acuerdo Pruebas 2G & 3G', 'Acuerdo Definitivo 2G & 3G', 'Acuerdo Pruebas 4G', 'Acuerdo Definitivo 4G (2G & 3G Existente)', 'Pruebas VOLTE (con 4G Previo)'])
|
| 161 |
|
| 162 |
#----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| 163 |
|
|
|
|
| 689 |
st.text('ZNBI:ITU=4:TT=0,NP=7,NAI=4,:'+cc+nc+':2:;')
|
| 690 |
|
| 691 |
st.subheader('Pruebas de resoluci贸n de APN')
|
| 692 |
+
st.markdown('**Ver unidad IPDU** ')
|
| 693 |
st.text('ZUSI:IPDU;')
|
| 694 |
st.text('ZKAI:IPDU,1;')
|
| 695 |
st.text('ZDDS:IPDU;')
|
|
|
|
| 735 |
return nueva_imsi
|
| 736 |
|
| 737 |
imsiToHSS = st.text_input('Ingresar el valor del ultimo registro campo mappingId')
|
| 738 |
+
if bool(imsiToHSS) == True and bool(imsiMenor) and bool(imsiMayor)== True:
|
| 739 |
imsiToHSS = int(imsiToHSS) + 1
|
| 740 |
imsiToHSS = str(imsiToHSS)
|
| 741 |
st.success('Valor Ingresado')
|
|
|
|
| 752 |
st.write('cmm imsiToHss create --plmnName "'+PLMNname+'-TEMP" --mappingId "'+imsiToHSS+'" --mappingType "ALL" --subscriberDbType "EPC-Capability" --loadBalance "all" --shutdown "false" --hssGrpListName "hssGrp_DRAUIO01_DRAGYE01" --minMsin '+imsiMenor_new+' --maxMsin '+imsiMayor_new+' --draDestRealmFqdnName "FQDN_'+PLMNname+'"')
|
| 753 |
|
| 754 |
else:
|
| 755 |
+
st.warning('Ingrese un valor y/o las IMSIS del acuerdo')
|
| 756 |
|
| 757 |
st.markdown(':red[**Validaciones**]')
|
| 758 |
st.text('cmm imsiToHss list -c plmnName -c mappingId')
|
|
|
|
| 826 |
st.text('cmm imsiToHss list -c plmnName -c mappingId')
|
| 827 |
|
| 828 |
imsiToHSS_rollback = st.text_input('Ingresar el valor del registro campo mappingId que desea eliminar')
|
| 829 |
+
|
| 830 |
if bool(imsiToHSS_rollback) == True:
|
| 831 |
imsiToHSS_rollback = str(imsiToHSS_rollback)
|
| 832 |
st.success('Valor Ingresado')
|
|
|
|
| 865 |
else:
|
| 866 |
st.error('Ingrese el nombre de la PLMN')
|
| 867 |
|
| 868 |
+
st.subheader('Habilitar los par谩metros de 4G al acuerdo existente')
|
| 869 |
+
col101, col102 = st.columns(2)
|
| 870 |
+
with col101:
|
| 871 |
+
st.markdown('Asociaci贸n:')
|
| 872 |
+
st.markdown(' ')
|
| 873 |
+
st.markdown(' ')
|
| 874 |
+
st.markdown(' ')
|
| 875 |
+
st.markdown(' ')
|
| 876 |
+
st.markdown(' ')
|
| 877 |
+
st.markdown(' ')
|
| 878 |
+
st.markdown(' ')
|
| 879 |
+
st.markdown('Modificaci贸n del par谩metro Mobile Network Code Length: ')
|
| 880 |
+
st.markdown('APN Correction Logic: ')
|
| 881 |
+
|
| 882 |
+
with col102:
|
| 883 |
+
st.text('ZMXN:'+PLMNname_Def+',HSS:DEST='+epc+':;')
|
| 884 |
+
st.text('ZMXN:'+PLMNname_Def+',MISC:VOCTRL=OFF,;')
|
| 885 |
+
st.text('ZMXN:'+PLMNname_Def+',ROAM:NIMSCTRL=HRT,;')
|
| 886 |
+
st.text('ZMXN:'+PLMNname_Def+',ROAM:IMSCTRL=NOT,;')
|
| 887 |
+
if len(mnc) == '2':
|
| 888 |
+
mncl = 'SHORT'
|
| 889 |
+
else:
|
| 890 |
+
mncl = 'LONG'
|
| 891 |
+
st.text('ZMXN:'+PLMNname_Def+',MISC:MNCL='+mncl+',;')
|
| 892 |
+
st.text('ZMXN:'+PLMNname_Def+',MAPN:OPT=1,::;')
|
| 893 |
+
|
| 894 |
+
st.subheader('Verificar par谩metros de autenticaci贸n de Gb e lu')
|
| 895 |
+
col81, col82 = st.columns(2)
|
| 896 |
+
with col81:
|
| 897 |
+
st.markdown('Autenticaci贸n 2G (Gb): ')
|
| 898 |
+
st.markdown('Autenticaci贸n 3G (lu): ')
|
| 899 |
+
|
| 900 |
+
with col82:
|
| 901 |
+
st.text('ZMXN:'+PLMNname_Def+',AUTH:;')
|
| 902 |
+
st.text('ZMXN:'+PLMNname_Def+',AUTHIU:;')
|
| 903 |
+
|
| 904 |
+
st.subheader('Habilitar roaming en 3G')
|
| 905 |
+
col91, col92 = st.columns(2)
|
| 906 |
+
with col91:
|
| 907 |
+
st.markdown(':red[Comprobaci贸n:] ')
|
| 908 |
+
st.markdown(':red[Verificar la PLMN: ] ')
|
| 909 |
+
|
| 910 |
+
with col92:
|
| 911 |
+
st.text('ZMXN:'+PLMNname_Def+',NACC:;')
|
| 912 |
+
st.text('ZMXN:'+PLMNname_Def+',ALL:;')
|
| 913 |
+
|
| 914 |
+
st.markdown(':red[**Verificar NRD y n煤mero de d铆gitos de DIA**]')
|
| 915 |
+
st.text('PLMN: '+ PLMNname)
|
| 916 |
+
nrd = str(len(mcc+mnc))
|
| 917 |
+
st.text('NRD: '+nrd)
|
| 918 |
+
dia = cc+nc
|
| 919 |
+
st.text('DIA: '+dia)
|
| 920 |
+
|
| 921 |
+
st.subheader('Crear An谩lisis de IMSI')
|
| 922 |
+
if bool(imsiMenor) == True:
|
| 923 |
+
st.text('ZCFC:IMSI='+imsiMenor+',PLMN='+PLMNname_Def+',:NP=E214,TON=INT,SRD=1,NRD='+nrd+',SAD=1,DIA='+dia+',:;')
|
| 924 |
+
|
| 925 |
+
else:
|
| 926 |
+
print(' ')
|
| 927 |
+
|
| 928 |
+
st.subheader('Verificar el an谩lisis de IMSI: ')
|
| 929 |
+
colP141, colP142 = st.columns(2)
|
| 930 |
+
|
| 931 |
+
with colP141:
|
| 932 |
+
st.markdown(':red[**_Verificar el an谩lisis de IMSI:_**] ')
|
| 933 |
+
st.markdown(':red[**_Verificar si el IMSI ANALISIS de la PLMNs est谩 incluido en la PLMN DUMMYPLMN:_**] ')
|
| 934 |
+
st.markdown(':red[**_Verificaci贸n GT creado:_**] ')
|
| 935 |
+
|
| 936 |
+
with colP142:
|
| 937 |
+
st.text('ZCFI:TYPE=IMSI:DIG='+mcc+mnc+';')
|
| 938 |
+
st.text('ZCFI:TYPE=IMSI:DIG='+mcc+mnc+':ALL;')
|
| 939 |
+
st.text('ZNBI:ITU=4:TT=0,NP=7,NAI=4,:'+cc+nc+':2:;')
|
| 940 |
+
|
| 941 |
+
with st.expander('CREACION VOLTE'):
|
| 942 |
+
st.warning('Nota: Este campo se debe configurar siempre y cuando se solicite VOLTE.')
|
| 943 |
+
st.subheader('Configuraciones VOLTE')
|
| 944 |
+
colP151, colP152 = st.columns(2)
|
| 945 |
+
|
| 946 |
+
with colP151:
|
| 947 |
+
st.markdown('Par谩metros de Roaming Basados en QoS espec铆ficos de PLMN: ')
|
| 948 |
+
st.markdown('Modificaci贸n de los conjuntos de c贸digos de causas PLMN: ')
|
| 949 |
+
st.markdown('Modificaci贸n del Estado IMEI desde Par谩metros EIR: ')
|
| 950 |
+
st.markdown('Modificaci贸n del Par谩metro de Contro de Itinerancia: ')
|
| 951 |
+
st.markdown('Modificaci贸n de varios Par谩metros MME: ')
|
| 952 |
+
|
| 953 |
+
with colP152:
|
| 954 |
+
st.text('ZMXN:'+PLMNname_Def+',MAXQOS:DWNMAX=2048,UPMAX=256,UPBR=256,DWNBR=512,PVUL=N,::;')
|
| 955 |
+
st.text('ZMXN:'+PLMNname_Def+',PCCS:GBREC=GBSET-1,IUREC=IUSET-1,::;')
|
| 956 |
+
st.text('ZMXN:'+PLMNname_Def+',IMEICH:AUNK=ON,::;')
|
| 957 |
+
st.text('ZMXN:'+PLMNname_Def+',ROAM:IMSCTRL=HRT,:;')
|
| 958 |
+
st.text('ZMXN:'+PLMNname_Def+',MISC:VOCTRL=ON,::;')
|
| 959 |
+
|
| 960 |
+
st.subheader('Pruebas de resoluci贸n de APN')
|
| 961 |
+
st.markdown('**Ver unidad IPDU** ')
|
| 962 |
+
st.text('ZUSI:IPDU;')
|
| 963 |
+
st.text('ZKAI:IPDU,1;')
|
| 964 |
+
st.text('ZDDS:IPDU;')
|
| 965 |
+
st.text('dig @169.254.255.128 NAPTR '+apnName1+'.apn.'+apnOperadorIden)
|
| 966 |
+
st.text('dig @169.254.255.128 NAPTR '+apnName2+'.apn.'+apnOperadorIden)
|
| 967 |
+
st.text('dig @169.254.255.128 NAPTR '+apnName3+'.apn.'+apnOperadorIden)
|
| 968 |
+
|
| 969 |
+
st.text('--------------------------------------------------------------------------------------------------------------------------------------')
|
| 970 |
+
|
| 971 |
+
st.subheader('CONFIGURACIONES CMM')
|
| 972 |
+
st.subheader('Creaci贸n CMM plmn create')
|
| 973 |
+
#col131, col132 = st.columns(2)
|
| 974 |
+
new_mnc = 0
|
| 975 |
+
if len(mnc) == 2:
|
| 976 |
+
new_mnc = str(0)+mnc
|
| 977 |
+
print(new_mnc)
|
| 978 |
+
else:
|
| 979 |
+
new_mnc = mnc
|
| 980 |
+
print(new_mnc)
|
| 981 |
+
st.markdown('**_Creaci贸n de la plmnParam:_**')
|
| 982 |
+
print(' ')
|
| 983 |
+
st.write('cmm plmn create --name "'+PLMNname_Def+'" --description "'+str(mcc)+'_'+new_mnc+'_'+PLMNname_Def+'" --mnc "'+mnc+'" --mcc "'+mcc+'" --validateImeiEir "false" --plmnType "Other Network" --obtainImeiSv "None" --mncDigits "2/3Digits" --initiateLcsEmergency "Do not initiate" --sbcEnabled "false"')
|
| 984 |
+
print(' ')
|
| 985 |
+
st.markdown(':red[**_Verficaci贸n si la PLMN fue creada correctamente:_**] ')
|
| 986 |
+
print(' ')
|
| 987 |
+
st.write('cmm plmn list -c name -c mcc -c mnc | grep '+mcc+' | grep '+mnc)
|
| 988 |
+
st.write('cmm plmn show '+PLMNname_Def+' | egrep -i "name|description|validateImeiEir|plmnType|mnc|obtainImeiSv|mcc|mncDigits|initiateLcsEmergency|sbcEnabled"')
|
| 989 |
+
|
| 990 |
+
|
| 991 |
+
with st.expander('CREACION draDestFqdn'):
|
| 992 |
+
st.warning('Nota: Este campo se debe configurar siempre y cuando el EPC sea diferente en el mnc y mcc al de la plmn. Caso contrario omitir esta secci贸n.')
|
| 993 |
+
st.text('cmm draDestFqdn create --draDestFqdnName "FQDN_'+PLMNname_Def+'" --draDestFqdnStr "'+epc+'"')
|
| 994 |
+
st.markdown(':red[VALIDACIONES CREACION FQDN]')
|
| 995 |
+
st.text('cmm draDestFqdn list -c draDestFqdnName -c draDestFqdnStr')
|
| 996 |
+
|
| 997 |
+
|
| 998 |
+
st.subheader('CREACION imsiToHSS')
|
| 999 |
+
st.markdown('Se debe ingresar al equipo y revisar cual es el ultimo registro del campo mappingId.')
|
| 1000 |
+
st.text('cmm imsiToHss list -c plmnName -c mappingId')
|
| 1001 |
+
|
| 1002 |
+
def eliminar_imsis(cadena, num_caracteres):
|
| 1003 |
+
nueva_imsi = cadena[num_caracteres:]
|
| 1004 |
+
return nueva_imsi
|
| 1005 |
+
|
| 1006 |
+
imsiToHSS = st.text_input('Ingresar el valor del ultimo registro campo mappingId')
|
| 1007 |
+
if bool(imsiToHSS) == True and bool(imsiMenor) and bool(imsiMayor)== True:
|
| 1008 |
+
imsiToHSS = int(imsiToHSS) + 1
|
| 1009 |
+
imsiToHSS = str(imsiToHSS)
|
| 1010 |
+
st.success('Valor Ingresado')
|
| 1011 |
+
|
| 1012 |
+
st.markdown('**Crear imsiToHSS**')
|
| 1013 |
+
st.write('cmm imsiToHss create --plmnName "'+PLMNname_Def+'" --mappingId "'+imsiToHSS+'" --mappingType "ALL" --subscriberDbType "EPC-Capability" --loadBalance "all" --shutdown "false" --hssGrpListName "hssGrp_DRAUIO01_DRAGYE01"')
|
| 1014 |
+
|
| 1015 |
+
with st.expander('CREACION imsiToHSS draDestFqdn'):
|
| 1016 |
+
st.warning('Nota: Ocupar el siguiente comando si se tiene creado draDestFqdn.')
|
| 1017 |
+
st.write('cmm imsiToHss create --plmnName "'+PLMNname_Def+'" --mappingId "'+imsiToHSS+'" --mappingType "ALL" --subscriberDbType "EPC-Capability" --loadBalance "all" --shutdown "false" --hssGrpListName "hssGrp_DRAUIO01_DRAGYE01" --draDestRealmFqdnName "FQDN_'+PLMNname+'"')
|
| 1018 |
+
|
| 1019 |
+
else:
|
| 1020 |
+
st.warning('Ingrese un valor y/o las IMSIS del acuerdo')
|
| 1021 |
+
|
| 1022 |
+
st.markdown(':red[**Validaciones**]')
|
| 1023 |
+
st.text('cmm imsiToHss list -c plmnName -c mappingId')
|
| 1024 |
+
st.text('cmm imsiToHss show '+imsiToHSS)
|
| 1025 |
+
|
| 1026 |
+
st.subheader('CREACION uePlmnServices')
|
| 1027 |
+
st.write('cmm uePlmnServices create --name "'+PLMNname_Def+' --description "'+str(mcc)+'_'+new_mnc+'_'+PLMNname_Def+' --lteTreatAsHomeSubscriber "false" --servedPlmnName "TEMECUADOR" --mpdnconn "true" --lteRoamingAllowed "true" --uePlmnName "'+PLMNname_Def+' --apnCorrectionStandalone "receivedFromHss" --svcAgreementProfileName "ROAM_2G3G4G_VOPSnot" --restNasMappingProfileName "DEF_REST_NAS_MAP_PROF" --apnCorrectionAttach "receivedFromHss" --diamNasMappingProfileName "DEF_DIAM_NAS_MAP_PROF"')
|
| 1028 |
+
st.markdown(':red[**Validaciones**]')
|
| 1029 |
+
st.write('cmm uePlmnServices show '+PLMNname_Def+' | egrep -i "name|description|lteTreatAsHomeSubscriber|servedPlmnName|mpdnconn|lteRoamingAllowed|uePlmnName|apnCorrectionStandalone|svcAgreementProfileName|restNasMappingProfileName|apnCorrectionAttach|diamNasMappingProfileName"')
|
| 1030 |
+
st.write('cmm uePlmnServices list | grep '+PLMNname_Def)
|
| 1031 |
+
|
| 1032 |
+
with st.expander('CREACION VOLTE'):
|
| 1033 |
+
st.warning('Nota: Este campo se debe configurar siempre y cuando se solicite VOLTE.')
|
| 1034 |
+
|
| 1035 |
+
st.markdown('**Activar VOLTE en PLMN** '+PLMNname_Def)
|
| 1036 |
+
|
| 1037 |
+
st.text('cmm uePlmnServices modify '+PLMNname_Def+' --svcAgreementProfileName ROAM_2G3G4G_VOPSyes')
|
| 1038 |
+
|
| 1039 |
+
#ROLLBACK#####################################################
|
| 1040 |
+
|
| 1041 |
+
st.text('______________________')
|
| 1042 |
+
st.header(':red[ROLLBACK]')
|
| 1043 |
+
st.text('______________________')
|
| 1044 |
+
st.subheader('Configuraciones MME, SGSN')
|
| 1045 |
+
|
| 1046 |
+
st.subheader('Habilitar par谩metros de 4G al acuerdo existente')
|
| 1047 |
+
col121, col122 = st.columns(2)
|
| 1048 |
+
with col121:
|
| 1049 |
+
st.markdown('Asociaci贸n PLMN HSS para la entrada DNS: ')
|
| 1050 |
+
st.markdown('Roaming Control Parameter: ')
|
| 1051 |
+
st.markdown('An谩lisis de Global Title :red[verificaci贸n:] ')
|
| 1052 |
+
|
| 1053 |
+
with col122:
|
| 1054 |
+
st.text('ZMXN:'+PLMNname_Def+',HSS:DEST=0:;')
|
| 1055 |
+
st.text('ZMXN:'+PLMNname_Def+',ROAM:NIMSCTRL=NOT,;')
|
| 1056 |
+
st.text('ZNBI:ITU=4:TT=0,NP=7,NAI=4,:'+cc+nc+':2:;')
|
| 1057 |
+
|
| 1058 |
+
st.subheader(':red[Borrar An谩lisis de IMSI]')
|
| 1059 |
+
if bool(imsiMenor) == True:
|
| 1060 |
+
st.text('ZCFD:TYPE=IMSI:DIG='+imsiMenor+':;')
|
| 1061 |
+
|
| 1062 |
+
st.subheader('Configurar IMSIs de Prueba')
|
| 1063 |
+
if bool(imsiMenor) == True:
|
| 1064 |
+
st.text('ZCFC:IMSI='+imsiMenor+',PLMN='+PLMNname_Def+'-TEMP,:NP=E214,TON=INT,SRD=1,NRD='+nrd+',SAD=1,DIA='+dia+',:;')
|
| 1065 |
+
else:
|
| 1066 |
+
print(' ')
|
| 1067 |
+
if bool(imsiMayor) == True:
|
| 1068 |
+
st.text('ZCFC:IMSI='+imsiMayor+',PLMN='+PLMNname_Def+'-TEMP,:NP=E214,TON=INT,SRD=1,NRD='+nrd+',SAD=1,DIA='+dia+',:;')
|
| 1069 |
+
else:
|
| 1070 |
+
print(' ')
|
| 1071 |
+
if bool(imsi3) == True:
|
| 1072 |
+
st.text('ZCFC:IMSI='+imsi3+',PLMN='+PLMNname_Def+'-TEMP,:NP=E214,TON=INT,SRD=1,NRD='+nrd+',SAD=1,DIA='+dia+',:;')
|
| 1073 |
+
else:
|
| 1074 |
+
print(' ')
|
| 1075 |
+
if bool(imsi4) == True:
|
| 1076 |
+
st.text('ZCFC:IMSI='+imsi4+',PLMN='+PLMNname_Def+'-TEMP,:NP=E214,TON=INT,SRD=1,NRD='+nrd+',SAD=1,DIA='+dia+',:;')
|
| 1077 |
+
else:
|
| 1078 |
+
print(' ')
|
| 1079 |
+
|
| 1080 |
+
st.markdown(':red[Verificar el an谩lisis de IMSI:] ')
|
| 1081 |
+
st.text('ZCFI:TYPE=IMSI:DIG='+mcc+mnc+';')
|
| 1082 |
+
|
| 1083 |
+
st.text('--------------------------------------------------------------------------------------------------------------------------------------')
|
| 1084 |
+
|
| 1085 |
+
st.subheader('CONFIGURACIONES CMM')
|
| 1086 |
+
st.subheader('Eliminaci贸n CMM uePlmnServices')
|
| 1087 |
+
st.text('cmm uePlmnServices delete --name '+PLMNname_Def)
|
| 1088 |
+
st.markdown(':red[**Validaci贸n**]')
|
| 1089 |
+
st.text('cmm uePlmnServices list | grep '+PLMNname_Def)
|
| 1090 |
+
|
| 1091 |
+
st.subheader('Eliminaci贸n CMM imsiToHSS')
|
| 1092 |
+
st.markdown('Se debe ingresar al equipo y revisar cual es el ultimo registro del campo mappingId.')
|
| 1093 |
+
st.text('cmm imsiToHss list -c plmnName -c mappingId')
|
| 1094 |
+
|
| 1095 |
+
imsiToHSS_rollback = st.text_input('Ingresar el valor del registro campo mappingId que desea eliminar')
|
| 1096 |
+
|
| 1097 |
+
if bool(imsiToHSS_rollback) == True:
|
| 1098 |
+
imsiToHSS_rollback = str(imsiToHSS_rollback)
|
| 1099 |
+
st.success('Valor Ingresado')
|
| 1100 |
+
st.text('cmm imsiToHss modify '+imsiToHSS_rollback+' --shutdown true')
|
| 1101 |
+
st.text('cmm imsiToHss delete '+imsiToHSS_rollback)
|
| 1102 |
+
|
| 1103 |
+
st.markdown(':red[**Validaci贸n**]')
|
| 1104 |
+
st.text('cmm imsiToHss list -c plmnName -c mappingId')
|
| 1105 |
+
|
| 1106 |
+
else:
|
| 1107 |
+
st.warning('Ingrese un valor')
|
| 1108 |
+
|
| 1109 |
+
|
| 1110 |
+
st.subheader('Eliminaci贸n CMM plmn')
|
| 1111 |
+
st.text('cmm plmn delete '+PLMNname_Def)
|
| 1112 |
+
st.markdown(':red[**Validaci贸n**]')
|
| 1113 |
+
st.text('cmm plmn list | grep '+PLMNname_Def)
|
| 1114 |
+
|
| 1115 |
+
# --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
| 1116 |
+
|
| 1117 |
+
elif menu == 'Pruebas VOLTE (con 4G Previo)':
|
| 1118 |
+
st.header('Acuerdo De Pruebas VOLTE')
|
| 1119 |
+
st.subheader('Configuraciones MME, SGSN')
|
| 1120 |
+
|
| 1121 |
+
|
| 1122 |
+
|
| 1123 |
+
|
| 1124 |
+
|
| 1125 |
+
|
| 1126 |
|
| 1127 |
|
| 1128 |
|