'Validate any of the provided params.'

def validate(self):

    super(RouterInterface, self).validate()
    prop_subnet_exists = (self.properties.get(self.SUBNET) is not None)
    prop_port_exists = (self.properties.get(self.PORT) is not None)
    if (prop_subnet_exists and prop_port_exists):
        raise exception.ResourcePropertyConflict(self.SUBNET, self.PORT)
    if ((not prop_subnet_exists) and (not prop_port_exists)):
        raise exception.PropertyUnspecifiedError(self.SUBNET, self.PORT)
