Move apn allocation code out of vty file (details)
Commit
ce691d8e6411756f2e06b138adf3a2e48fe5b4e1
by Pau Espin Pedrol
Move apn allocation code out of vty file
The details of creation of data structures don't belong on the vty file. While at it, split allocation code into its own function to quickly find out where the allocation of the object happens.