Create a new PIF record in the database only
| Return value | ||
| type | description | |
| PIF | The ref of the newly created PIF record. | |
| Parameters | ||
| name | type | description |
| session_id | session | valid session reference |
| device | string | |
| network | network | |
| host | host | |
| MAC | string | |
| MTU | int | |
| VLAN | int | |
| physical | bool | |
| ip_configuration_mode | enum ip_configuration_mode | |
| IP | string | |
| netmask | string | |
| gateway | string | |
| DNS | string | |
| bond_slave_of | Bond | |
| VLAN_master_of | VLAN | |
| management | bool | |
| other_config | Map[string,string] | |
| disallow_unplug | bool | |
| Errors | ||
| name | arguments | description |
- Message has both a synchronous and asynchronous version
- This is a custom message