diff options
author | 2016-11-02 08:55:54 -0400 | |
---|---|---|
committer | 2016-11-11 13:06:36 -0500 | |
commit | 469c0ab91ae550945eb4d0a18ebd284994fde384 (patch) | |
tree | 690eb1b487eb5e02324fc687b7935b6e0d00b82f /etc | |
parent | 4fdb0a6a2b355750ae8071e53a74b9257b18eeee (diff) |
Add support for ethtool_opts option
This patch add an optional option to specify
the ETHTOOL_OPTS for each interface.
ETHTOOL_OPTS option will be written to the ifcfg file.
Change-Id: I6b594e89ba6b4c17e8df79def997f6c9ea427a3a
Diffstat (limited to 'etc')
-rw-r--r-- | etc/os-net-config/samples/interface.json | 3 | ||||
-rw-r--r-- | etc/os-net-config/samples/interface.yaml | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/os-net-config/samples/interface.json b/etc/os-net-config/samples/interface.json index 9ae0b76..6eb8f62 100644 --- a/etc/os-net-config/samples/interface.json +++ b/etc/os-net-config/samples/interface.json @@ -25,7 +25,8 @@ "type": "interface", "name": "em2", "use_dhcp": true, - "defroute": no + "defroute": no, + "ethtool_opts": "speed 1000 duplex full" } ] } diff --git a/etc/os-net-config/samples/interface.yaml b/etc/os-net-config/samples/interface.yaml index 6b366e2..725091b 100644 --- a/etc/os-net-config/samples/interface.yaml +++ b/etc/os-net-config/samples/interface.yaml @@ -20,3 +20,4 @@ network_config: name: em2 use_dhcp: true defroute: no + ethtool_opts: "speed 1000 duplex full" |