The board of supervisors or other governing body in any county, after publishing notice as required by subsection F of § 15.2-1427, may, by ordinance, declare the boundary line of each lot or tract of land or any stream in such county, any magisterial district of such county, or any selected portion of such county, to be a lawful fence as to any or all domesticated livestock, or may declare any other kind of fence for such county, magisterial district, or selected portion of the county than as prescribed by § 55.1-2804 to be a lawful fence, as to any or all of such animals.
Va. Code § 55.1-2814