

def __init__(self, context):
    self.external_segment = context['external_segment']
    self.segment_ip = context['segment_ip']
    self.name = ('ES:%s,IP:%s' % (self.external_segment, self.segment_ip))
    self.id = self.name

dataset/ETHPy150Open openstack/group-based-policy-ui/gbpui/panels/network_policy/forms.py ExternalSegmentParam.__init__/original