Got no replies on this, so I guess I'll submit a patch to try and fix it.
On Sun, Aug 13, 2017 at 01:54:11AM +0200, Neels Hofmeyr wrote:
Trying to get the newest 2G+3G developments thru the
test suites (including the
vty ones), I face a problem with this VTY definition from libosmo-sccp:
routing-key RCONTEXT DPC [si (aal2|bicc|b-isup|h248|isup|sat-isup|sccp|tup)] [ssn SSN]
[...]
With above command
routing-key RCONTEXT DPC [si (aal2|bicc|b-isup|h248|isup|sat-isup|sccp|tup)] [ssn SSN]
it seems to me it is intended as optionally providing none, si or both si and ssn?
Actually it seems to be all permutations of {si, no-si}x{ssn, no-ssn}
I guess we need separate command definitions:
routing-key RCONTEXT DPC
routing-key RCONTEXT DPC si (aal2|bicc|b-isup|h248|isup|sat-isup|sccp|tup)
routing-key RCONTEXT DPC si (aal2|bicc|b-isup|h248|isup|sat-isup|sccp|tup) ssn SSN
and
routing-key RCONTEXT DPC ssn SSN
~N