# configure\_ntp

Configure connection information for the NTP servers used by the Rubrik cluster for time synchronization.

```python
def configure_ntp(ntp_server, timeout=15)
```

## Arguments

| Name        | Type | Description                                                                  | Choices |
| ----------- | ---- | ---------------------------------------------------------------------------- | ------- |
| ntp\_server | list | A list of the NTP server(s) you wish to configure the Rubrik cluster to use. |         |

## Keyword Arguments

| Name    | Type | Description                                                                                                  | Choices | Default |
| ------- | ---- | ------------------------------------------------------------------------------------------------------------ | ------- | ------- |
| timeout | int  | The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error. |         | 15      |

## Returns

| Type | Return Value                                                                                     |
| ---- | ------------------------------------------------------------------------------------------------ |
| str  | No change required. The NTP server(s) `ntp_server` has already been added to the Rubrik cluster. |
| dict | {'status\_code': 204}                                                                            |

## Example

```python
import rubrik_cdm

rubrik = rubrik_cdm.Connect()

ntp_servers = ["192.168.10.121", "192.168.10.122"]
configure_ntp = rubrik.configure_ntp(ntp_servers)
```
