IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Example has been included as `examples/dns_edit_eth1.yml` and
`examples/dns_remove.yml`.
If DNS section not defined in desire state, old DNS configuration will be
perceived, otherwise, old DNS configuration will be fully override with
desired state. Partial editing of DNS entries is not supported.
To remove static DNS configuration, Please use this state:
```python
{
DNS.KEY: {
DNS.CONFIG: {}
}
}
```
Limitation:
* Only support saving DNS configuration to state default gateway
interfaces. If not found, NmstateValueError exception will be raised.
When DNS config not changed, no DNS changes will be made to profiles.
Unit and integration test cases has been included.
Signed-off-by: Gris Ge <fge@redhat.com>