This post is more than 5 years old
2 Intern
•
138 Posts
0
1852
June 23rd, 2011 09:00
New Dynamic model compiler
Hello all,
Today I encountered a some new phenomenon for me.
My task is: Load topology from AM-PM to NPM(BGP). So in AM-PM i created new class "Bras - Broadband Remote Access Server" inherited from Router class and put my devices into this class in oid2Type_ file. So, when BGP manager load topoloxy by dxa-am-pm.conf file from AM-PM topology manager i get next error:
So, what the matter? Shure, i have no Bras class in my NPM (BGP) manager, so i want to create it, but i get next troubles:
1) Have no directory "Model" in /opt/InCharge/NPM/smarts/local directory.
2) New compiler for dynamic model, not possible to load old ldm file to NPM manager
# -- Error
DYN-E-LDMVOLD-LDM Version mismatch: /opt/InCharge/NPM/smarts/local/model/xCommon.ldm was compiled using an older dynmodel. Please recompile using the dynmodel in this install area.; in file "/work/blackcurrent/DMT-9.0.0.X/1280/smarts/repos/mr/dyn_model.c" at line 364
So, I compiled model file with new compiler, start NPM with --dynamic option and get next error:
DYN-W-CANT_LOAD_DAT-Can't load ICU dat file 'xCommon_mm' version 4e03638a (pkgname 'xCommon_mm4e03638a')
CI-REGISTER_PKG-Error occurred while registering package 'xCommon_mm4e03638a'; in file "/work/blackcurrent/DMT-9.0.0.X/1259/smarts/clsapi/ci_i18n.c" at line 290
I18N-EACCES_PKGFILE-Cannot access resource bundle file
After compiling with new compiler i get 6 files
- ldm
- mdl
- .mmbe_dat
- .mmle_dat
- .mm_txt
Somebody can explain me what different in compilers and what is the right wat to compile model with new compiler???
P.s
Fred where are you ?
FredericMeunier_0588be
143 Posts
0
July 14th, 2011 08:00
Hi Hemull,
the latest release of NPM is based on DMTv9. This brings some new features in Dynamic Model such as Internationalization. Please refer to the latest Dynamic Model document for this. BTW: yes, you need to recompile your model files (.mdl) when upgrading / moving from one domain manager type to another.
HTH,
== Monitor your Smarts environment using APG Solution Pack for Ionix ==
Frederic Meunier
Solutions Watch4Net Inc
APG & Smarts InCharge integration
http://www.watch4net.com
Hemulll
2 Intern
•
138 Posts
0
July 18th, 2011 00:00
Hi Fred!
Long time no hear you :-)
Thank u for the answer.
FredericMeunier_0588be
143 Posts
0
July 18th, 2011 05:00
Hi Hemull,
I'm really busy with APG. Lots of new customers and APG6 in the last iterations.
== Monitor your Smarts environment using APG Solution Pack for Ionix ==
Frederic Meunier
Solutions Watch4Net Inc
APG & Smarts InCharge integration
http://www.watch4net.com
ravi_a
2 Posts
0
May 20th, 2013 07:00
What is the version of document and chapter to look for this problem? I looked in 9.2 Model Ref Guide but did'nt see anything about this error.
Thanks
ravi_a
2 Posts
0
May 21st, 2013 20:00
The fix to this error message is to copy the *.dat files to ../l10n. *.dat files are generated once you successfully compile the .mdl files.