pdu_cfg_new : {'stream':[(Ether,{'src':"00:50:56:ab:d5:ad",'dst':"00:50:56:ab:a2:e3"}), (IP,{'src':"192.168.1.2", 'dst':"10.1.12.1"}),(GRE, {'key':'48999'}),(Ether,{'src':"00:50:56:ab:d5:ad",'dst':"00:50:56:ab:a2:e3"}), (IP,{'src':"20.20.1.2", 'dst':"10.1.10.1"}),(TCP,{})], 'vm':[{'name':'ip_ttl','min_value':1,'max_value':125,'size':1,'op':'inc','offset':'IP.ttl'},{'name':'tcp_dport','min_value':1024,'max_value':1200,'size':2,'op':'inc','offset':'TCP.dport'}]}
这是我的yaml文件中的字典,该字典内部有一些元组值,但似乎YAML不支持元组,我该如何在yaml文件中配置它?