[P4-dev] Assigning an IP address for mininet/P4Switch() class
vladimir.gurevich at barefootnetworks.com
Wed Aug 9 22:52:36 EDT 2017
runtime_CLI.py (actually you should probably use sswitch_CLI.py if you use
simple_switch) accepts --thrift-ip and --thrift-port parameters that allow
you to specify the IP address and TCP port number correspondingly.
Please, note that you will need to start 3 separate instances of
sswitch_CLI.py, since one instance can control a single device only.
On Wed, Aug 9, 2017 at 7:42 PM, Aldo Febro <af12abw at gmail.com> wrote:
> Hi all,
> From runtime_CLI.py, I'd like to connect to a P4Switch with
> IP_address:port (instead of localhost:port) to simulate a control-plane
> session to multiple remote P4 switches.
> For example, instead of connecting to
> I'd like to connect to:
> Can I assign an IP address to a P4Switch() class when I instantiate/launch
> Has anyone tried this? Any help would be appreciated. Thanks!
> P4-dev mailing list
> P4-dev at lists.p4.org
*Technical Lead, Customer Engineering*
Email: vag at barefootnetworks.com
Phone: (408) 833-4505
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev