cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
959
Views
0
Helpful
1
Replies

could STLClient be serializable?

yufenwan
Level 1
Level 1

Hi developers,

I want to add trex to my automation tool, which is built with django.

In my use, each stlclient is specific to users and I tried to store it to sessions.

However, it failed.

The ways I have tried is json.dumps() and pickle.dumps().

Do you know any other ways for this?

Thanks,

Yufeng.

1 Reply 1

hhaim@cisco.com
Cisco Employee
Cisco Employee

Btw you last suggestion regarding the Stream object was released in v2.30.

Regarding this question. There is no need to serialized client as it does not have it’s own information it is always sync with the server!

So you just need to save the destination TRex server IP. once you try to connect to the server it will sync.

Hanoh

Sent from my iPhone

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: