If your not considered a farm I'd say the ordinances don't apply to you. But if they consider you a farm because you have "livestock" I was trying to point out a way around the ordinance.
B. No pigs, poultry or fowl shall be permitted except where incidental to the major agricultural activity.
If your major agricultural activity is selling eggs, then having chickens would be incidental to your major agricultural activity?