Support interger and string for protocol sg rule attribute

Add support to set integer (1, 6 or 17) or string (udp, tcp or icmp).
Raise exception if not correspond in that lists.

Change-Id: I630c269789fcfe103a944d63bf3c0f09e5db56d6
(cherry picked from commit 2d61071394376187514dea6a5a0944b0f0f3b2c9)
Merge "Support interger and string for protocol sg rule attribute" into R1.10