Start or stop exabgp instance with certain configurations
def test_fun(ptfhost):
ptfhost.exabgp(name="t1",
state="started",
router_id="10.0.0.0",
local_ip="10.0.0.0",
peer_ip="10.0.0.1",
local_asn=65534
peer_asn=65535
port=5000
)
name
- name for exabgp instance- Required:
True
- Type:
String
- Required:
state
- desired state for the exabgp instance- Required:
True
- Type:
String
- Choices:
started
restarted
stopped
present
absent
status
- Required:
router_id
- Required:
False
- Type:
String
- Required:
local_ip
- Required:
False
- Type:
String
- Required:
peer_ip
- Required:
False
- Type:
String
- Required:
local_asn
- Required:
False
- Type:
Integer
- Required:
peer_asn
- Required:
False
- Type:
Integer
- Required:
port
- Required:
False
- Type:
Integer
- Default:
5000
- Required:
dump_script
- Required:
False
- Type:
String
- Default:
None
- Required:
passive
- Required:
False
- Type:
Boolean
- Default:
False
- Required:
No useful output is returned.