get_num_priorities
Description:
Returns the number of entries in the NMSettingVlan:ingress_priority_map
or NMSettingVlan:egress_priority_map
properties of this setting.
Parameters:
this |
the SettingVlan |
map |
the type of priority map |
Returns:
return the number of ingress/egress priority entries, -1 if error |