bgpupdate -f Q.bgp -a 1099 -l 100 -n 200.200.200.3 -N 1 -p 20.1.0.0/24 -P 10 -s streams.json --stream-pps 1000
bngblaster -S run.sock -C GAT1 -I -l bgp
cat streams.json
bngblaster-cli run.sock stream-info flow-id 10
{
"interfaces": {
"network": [
{
"interface": "ens20",
"address": "200.200.200.3/24",
"gateway": "200.200.200.1"
}
]
},
"bgp": [
{
"local-address": "200.200.200.3",
"peer-address": "200.200.200.1",
"local-as": 1099,
"peer-as": 5089,
"raw-update-file": "Q.bgp",
"family": [
"ipv4-unicast"
],
"network-interface": "ens20"
}
],
"streams": [
{
"name": "20.1.0.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"raw-tcp": true,
"destination-ipv4-address": "20.1.0.1"
},
{
"name": "20.1.1.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.1.1"
},
{
"name": "20.1.2.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.2.1"
},
{
"name": "20.1.3.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.3.1"
},
{
"name": "20.1.4.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.4.1"
},
{
"name": "20.1.5.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.5.1"
},
{
"name": "20.1.6.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.6.1"
},
{
"name": "20.1.7.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.7.1"
},
{
"name": "20.1.8.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.8.1"
},
{
"name": "20.1.9.0/24",
"direction": "downstream",
"pps": 1000.0,
"type": "ipv4",
"destination-ipv4-address": "20.1.9.1"
}
]
}
5 окт 2024