| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | ip | ipaddr | |
| default | as_number | uint32 | |
| default | capability_dynamic | boolean | Advertises the dynamic update capability to the BGP neighbor. The dynamic update capability enables BGP neighbors to dynamically update BGP capabilities without resetting BGP connections. |
| default | capability_option | enum | Available values:
|
| default | def_orig | boolean | Uses to advertise the default route destined for the local BGP router to the BGP neighbor. |
| default | shutdown | boolean | Terminates the connection to the BGP neighbor. |
| default | passive | boolean | Configures the local BGP router not to actively send BGP Open packets to the BGP neighbor. |
| default | nexthopself | boolean | Sets the next hop IP address of the advertised route to the IP address of the local BGP router. |
| default | local_as | uint32 | Sets the substitute ASN used by the local BGP router to communicate with the BGP neighbor which is an EBGP router. |
{
"BGPNeighborEntry": {
"meta": {
"abstract": false,
"verbose_name": BGP Neighbor Entry,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ip | ipaddr (Nested Field. It should be a dict.)
|
||||||||||
| as_number | uint32 | ||||||||||
| capability_dynamic | boolean | Advertises the dynamic update capability to the BGP neighbor. The dynamic update capability enables BGP neighbors to dynamically update BGP capabilities without resetting BGP connections. | |||||||||
| capability_option | enum | Available values:
|
|||||||||
| def_orig | boolean | Uses to advertise the default route destined for the local BGP router to the BGP neighbor. | |||||||||
| shutdown | boolean | Terminates the connection to the BGP neighbor. | |||||||||
| passive | boolean | Configures the local BGP router not to actively send BGP Open packets to the BGP neighbor. | |||||||||
| nexthopself | boolean | Sets the next hop IP address of the advertised route to the IP address of the local BGP router. | |||||||||
| local_as | uint32 | Sets the substitute ASN used by the local BGP router to communicate with the BGP neighbor which is an EBGP router. |
{
"BGPNeighborEntry": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"BGPNeighborEntry": [
{
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
},
...
]
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, tgt_fields, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: ip, as_number, capability_dynamic, capability_option, def_orig, shutdown, passive, nexthopself, local_as, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | ip | ipaddr | |
| default | as_number | uint32 | |
| default | capability_dynamic | boolean | Advertises the dynamic update capability to the BGP neighbor. The dynamic update capability enables BGP neighbors to dynamically update BGP capabilities without resetting BGP connections. |
| default | capability_option | enum | Available values:
|
| default | def_orig | boolean | Uses to advertise the default route destined for the local BGP router to the BGP neighbor. |
| default | shutdown | boolean | Terminates the connection to the BGP neighbor. |
| default | passive | boolean | Configures the local BGP router not to actively send BGP Open packets to the BGP neighbor. |
| default | nexthopself | boolean | Sets the next hop IP address of the advertised route to the IP address of the local BGP router. |
| default | local_as | uint32 | Sets the substitute ASN used by the local BGP router to communicate with the BGP neighbor which is an EBGP router. |
{
"BGPNeighborEntry": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"BGPNeighborEntry": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"BGPNeighborEntry": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
"msg": <success-or-error-msg>
}
{
<field_name>:<value>
}
When field name is not specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_name | URI | (optional) Target field name to update. Available field names are: capability_dynamic, capability_option, def_orig, shutdown, passive, nexthopself, local_as, |
| Field Name | Type | Description |
|---|---|---|
| capability_dynamic | boolean | Advertises the dynamic update capability to the BGP neighbor. The dynamic update capability enables BGP neighbors to dynamically update BGP capabilities without resetting BGP connections. |
| capability_option | enum | Available values:
|
| def_orig | boolean | Uses to advertise the default route destined for the local BGP router to the BGP neighbor. |
| shutdown | boolean | Terminates the connection to the BGP neighbor. |
| passive | boolean | Configures the local BGP router not to actively send BGP Open packets to the BGP neighbor. |
| nexthopself | boolean | Sets the next hop IP address of the advertised route to the IP address of the local BGP router. |
| local_as | uint32 | Sets the substitute ASN used by the local BGP router to communicate with the BGP neighbor which is an EBGP router. |
All configuration fields and their values are replied:
{
"BGPNeighborEntry": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}