| 1 |
--- |
| 2 |
### ------------------------------------------------------ |
| 3 |
### Table-view to configure BGP. |
| 4 |
### ------------------------------------------------------ |
| 5 |
BgpTable: |
| 6 |
set: protocols/bgp/group |
| 7 |
key-field: |
| 8 |
- bgp_name |
| 9 |
view: BgpView |
| 10 |
BgpView: |
| 11 |
groups: |
| 12 |
neigh : neighbor |
| 13 |
fields: |
| 14 |
bgp_name : { 'name' : { 'type' : 'str', 'minValue' : 1, 'maxValue' : 255} } |
| 15 |
bgp_type : {'type' : {'type': { 'enum': ['external', 'internal'] } } } |
| 16 |
local_addr : local-address |
| 17 |
peer : { 'peer-as' : { 'type' : 'int' } } |
| 18 |
fields_neigh: |
| 19 |
neigh_addr : name |