BGP can only listen on port 179 on ONOS. It can't be changed at the time of writing.
feature:install onos-providers-bgp feature:install onos-apps-pcep-api app activate org.onosproject.pcep-api app activate org.onosproject.bgp
curl -u "onos:rocks" -X GET http://192.168.103.143:8181/onos/v1/configuration | python -m json.tool
{ "apps":{ "org.onosproject.provider.bgp.cfg": { "bgpapp": { "routerId": "192.168.103.143", "localAs": 64513, "maxSession": 20, "lsCapability": true, "holdTime": 180, "largeAsCapability": true, "flowSpecCapability": "IPV4", "bgpPeer":[ {"peerIp": "192.168.103.144", "remoteAs": 64514, "connectMode":"active"}] } } } }
curl -u "onos:rocks" -X POST -H "Content-Type: application/json" -d @bgp-ls.json http://192.168.103.143:8181/onos/v1/network/configuration/