Added redistribute-function in bgp-resource type.