Bug #4770
closedNS2: create a new vty interface
100%
Description
The old vty interface does not support multiple binds and mixed IP based NS with ipa style and non ipa style.
Create a new vty interface which supports
- FR support
- FR/GRE support
- IP-SNS (define which binds it will use)
- IP-NS-alive (static configuration)
- IP-NS-reset/unblock/block
configuration examples:
1.1. sgsn with udp bind - ipa style
1.2. sgsn with udp bind - with persistent nsvc
1.3. sgsn with sns listen on all interfaces
1.4. sgsn with sns listen on specific interface
1.5. sgsn with fr
2.1. pcu with binds to use when receiving info ind
2.2. pcu with static configuration
Updated by lynxis over 3 years ago
some examples to create a draft
;; 1.1. sgsn with udp bind - dynamic with ipa style ns bind udp some listen 192.168.0.2 23000 allow-block-reset-nsvci
;; 1.2. sgsn with udp bind - no dynamic connection - only vty configured NSE (persistent) ns bind udp some listen 192.168.0.2 23000 nsei 1001 nsvc udp some 10.0.1.2 23000
;; 1.2. sgsn with udp bind - no dynamic connection - only vty configured NSE (persistent) ns bind udp some listen 192.168.0.2 23000 bind udp other listen 192.168.1.2 23000 nsei 1001 ;; will use all bindings nsvc udp * 10.0.1.2 23000 nsei 1002 nsvc udp other 10.0.1.3 23000 nsvc udp some 10.0.1.3 23000
;; 1.3. sgsn with sns listen on all interfaces ns bind udp some listen 192.168.0.2 23000 allow-sns group all bind udp other listen 192.168.1.2 23000 allow-sns group all
;; 1.4. sgsn with sns listen on specific interface ns bind udp some listen 192.168.0.2 23000 allow-sns group alice bind udp other listen 192.168.1.2 23000 allow-sns group bob
;; 1.5. sgsn with fr fr link hdlc1 link hdlc2 ns nsei 1002 nsvc fr hdlc1 dlci 10 nsvc fr hdlc2 dlci 10
;; 2.1. pcu with binds to use when receiving info ind ;; 2.2. pcu with static configuration
Updated by laforge over 3 years ago
- Assignee set to lynxis
lynxis wrote:
;; 1.3. sgsn with sns listen on all interfaces
ns bind udp some listen 192.168.0.2 23000 allow-sns group all bind udp other listen 192.168.1.2 23000 allow-sns group all
I'm not sure I fully understand this. You are 'listening' UDP to a specific IP/port, but then your description says it is listening to all interfaces? Please elaborate.
Updated by laforge over 3 years ago
It looks in general good to me, I jsut don't understand the allow sns-group
concept yet, I guess.
The "FR" part looks good in particular.
Updated by lynxis over 3 years ago
;; 1.3. sgsn with sns listen on all interfaces
It's vague. It should mean listen on all configured interfaces. So it should use both defined binds.
I'm unsure how we should handle 0.0.0.0 binds mixed with more specific binds.
Updated by laforge over 3 years ago
- Priority changed from Normal to Urgent
FYI: I implemented a minimal hack in 'I4ad454320d0a03e81b399f55e8bd0ee57402dad0' to allow me to configure multiple NS-VC within one FR NSE for testing. Getting to a proper new VTY interface seems rather urgent to me by now. Please look at this with high priority.
Updated by lynxis about 3 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100