4 class PortPairGroup(object):
5 def __init__(self
, name
):
6 self
.id = str(uuid
.uuid4())
7 self
.tenant_id
= "abcdefghijklmnopqrstuvwxyz123456"
10 self
.port_pairs
= list()
11 self
.port_pair_group_parameters
= dict()
13 def create_dict(self
, compute
):
16 "tenant_id": self
.tenant_id
,
17 "description": self
.description
,
18 "port_pairs": self
.port_pairs
,
19 "port_pair_group_parameters": self
.port_pair_group_parameters
,