Network: Modify Nameservers Property to include NotAllowed Error

As per the below commit, Setting the Static Nameservers is
restricted while in DHCP mode.
- https://gerrit.openbmc-project.xyz/#/c/openbmc/phosphor-networkd/+/24224/

The idea of this commit is to modify the property to handle
the NotAllowed Error.

Change-Id: I6570230127e817ce9cab3f8b817aedfbe0b68c57
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
1 file changed