commit | 2a2ea42fca583a81e47c101eb0d20f9e83e7b3bf | [log] [tgz] |
---|---|---|
author | Andreas Eversberg <jolly@eversberg.eu> | Sun Jun 30 10:12:01 2013 +0200 |
committer | Andreas Eversberg <jolly@eversberg.eu> | Sun Jun 30 10:12:01 2013 +0200 |
tree | 07b791cc82af68251a5470e8227cfe816e44b8b3 | |
parent | 65d589bb24dd2f0494f5d791046d6ce63829e49b [diff] |
Create NS instance at startup time and open/close it at BTS start/stop The NS instance must be created at startup time before the config is parsed, so the NS VTY elements will exist at this point. The NS instance must persist. Then during BTS start, the NS instance is opened/bound/connected to the socket that is specified by BTS. Then during BTS stop, the NS instance is closed, but the NS instance sill exists. At PCU stop, the NS instance is completely destroyed.