this series implements the api to set/get the host network as cidr address instead of having to set address and netmask
this also parses the interfaces file now for this and returns a 'cidr', 'address', and 'netmask' field after that, it cleans up the ui to be more consistent with containers and vms changes from v1: * moved the cidr parsing in the if condition * indented correctly i send it only to pve-devel from now on pve-common: Dominik Csapak (2): JSONSchema: add get_netmask_bits and missing netmask INotify: map address/netmask to cidr while parsing interfaces src/PVE/INotify.pm | 32 ++++++++++++++++++++++++++++++++ src/PVE/JSONSchema.pm | 6 ++++++ 2 files changed, 38 insertions(+) pve-manager: Dominik Csapak (1): add new parameters cidr(6) to the network api PVE/API2/Network.pm | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) pmg-api: Dominik Csapak (1): add new parameters cidr(6) to the network api PMG/API2/Network.pm | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) proxmox-widget-toolkit: Dominik Csapak (2): show cidr in network view and optimize renderer change network input from address/netmask to cidr and change labels node/NetworkEdit.js | 68 +++++++---------------------------------------------- node/NetworkView.js | 45 +++++++++++++++++++---------------- 2 files changed, 33 insertions(+), 80 deletions(-) -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel