|
Dependencies in N-ODL:
Create/Update Deps:
def _generate_port_deps(data):
object_ids = set(fixed_ip['subnet_id'] for fixed_ip in data['fixed_ips'])
object_ids = list(object_ids)
object_ids.append(data['network_id'])
qos_policy_id = data.get('qos_policy_id')
if qos_policy_id is not None:
object_ids.append(qos_policy_id)
return object_ids
DeleteDeps:
odl_const.ODL_PORT: (odl_const.ODL_TRUNK,),
NeutronNorthbound model:
https://github.com/opendaylight/neutron/blob/master/model/src/main/yang/neutron-ports.yang
|