From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <brwainer@gmail.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 2374B6B75C
 for <pve-devel@lists.proxmox.com>; Fri, 11 Dec 2020 19:34:54 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 0B94C23A3A
 for <pve-devel@lists.proxmox.com>; Fri, 11 Dec 2020 19:34:24 +0100 (CET)
Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com
 [IPv6:2a00:1450:4864:20::52d])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id 2FF7A23A23
 for <pve-devel@lists.proxmox.com>; Fri, 11 Dec 2020 19:34:22 +0100 (CET)
Received: by mail-ed1-x52d.google.com with SMTP id c7so10377578edv.6
 for <pve-devel@lists.proxmox.com>; Fri, 11 Dec 2020 10:34:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=DHBdRD/SIoFXXNvHLiY7keDnQ0PKXUwkkMsfGlXajg4=;
 b=tI5E7PCy8Em4/WtT5WdVv7t7IuX6TMBYnYXUaLBqZs9RymeGKc03+Rt+ki1lckPJ/E
 xfqp4hJ7xjTbmdOo9lXt+4N2DiEiztgo/te/U78PUiYp16dFBuNk0Ar15KP/QpCelZbN
 JRnQWB+cZPH/I4/X4hfnk0TGos2fwBnimLjVSY33Qf6Lue4TMC2dbgTK22Nn3Qw9p4b9
 LSVjx03RvkAZqyy+/k2u4mRZQqJ2VWSkRLtWnxlJOGGOxB/49ZIUnpH2qz0seHSPCwHl
 2ZzWS8ttr7IFsx+F5qZsPtzDhQCu5pWbXlrdtWieQgI1cPCyzLjlJPhZF4kzWg+dizng
 r5Kw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=DHBdRD/SIoFXXNvHLiY7keDnQ0PKXUwkkMsfGlXajg4=;
 b=Vl6CnG/b6RbAXH2BI1v93F1eSqn0tD1OSS1T2oiLssAVlcTW8I5agruBSbwNOwGrOI
 QiURyERbbvfTigvLlc19xppDNImH/rdl5WHwBJDPnNX9YtohIGyYWZK3a+m356yntRMN
 gB4ejD0x52bPTIjBFPoPATE6hFJsvG/ZuWkaJQlV6pJlbKftCM6k5qcKXSI0ZliAvmDM
 3WNOfbMjMJoZruLrOAIdowS2C3gZ+r3YLGvDyWe3eUWMonov2FLi8FnXgw4TF5bNLY2e
 PwO8lUiRofrVfcj+5bWYozm65mmyFmrkJauFDU1/5QuaKl5SD07ICrMA7+jaCdoSXjdp
 gVFw==
X-Gm-Message-State: AOAM530IAdNtHfTg6AUogabK3Zslb9OCfWqcMD983I8I/EL/qNNUbgU0
 pzRenoO2zqsw+cKphr3efi7BEjBaeIYJ7thxW9CHN0hoCRbYVMog
X-Google-Smtp-Source: ABdhPJwD4GoJW5RLw6K5t7l5c3xQsSwgOdIgySYj9luTfd7+mm5H08/YUsZ5MFLBEQb6lQddlX/E/wNmS/6vQi7OTuU=
X-Received: by 2002:aa7:d74f:: with SMTP id a15mr13450467eds.344.1607711655589; 
 Fri, 11 Dec 2020 10:34:15 -0800 (PST)
MIME-Version: 1.0
References: <CAPEXuiwNr3OjBh9ArMiBToVAD6EXf5Rp+Ph7OswvAkmFWPmUwg@mail.gmail.com>
 <dba3eab5-6b50-a235-8f62-c07c0827f45c@odiso.com>
 <CAPEXuizOTE-D20ijT_shrxZkiYt89UF-+OFK-RzWvefhb_J0Gw@mail.gmail.com>
 <21a61f20-2889-189c-084e-221fbb93d720@odiso.com>
In-Reply-To: <21a61f20-2889-189c-084e-221fbb93d720@odiso.com>
From: Bruce Wainer <brwainer@gmail.com>
Date: Fri, 11 Dec 2020 13:34:05 -0500
Message-ID: <CAPEXuizSuDVjjZFk_fKzJ9cmS-Q80yUkv1MeE1QSU6F2j5tMWg@mail.gmail.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.108 Adjusted score from AWL reputation of From: address
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
 FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider
 HTML_MESSAGE            0.001 HTML included in message
 RCVD_IN_DNSWL_NONE     -0.0001 Sender listed at https://www.dnswl.org/,
 no trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [proxmox.com]
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
Subject: Re: [pve-devel] [pve-manager] sdn: Adding phpIPAM as IPAM provider
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Fri, 11 Dec 2020 18:34:54 -0000

Thank you Alexandre. I will definitely be testing SDN and the integration
with phpIPAM once released.
Looking at the code, it doesn't appear that the MAC of the interface is
being passed into phpIPAM, if this is known then I'd prefer that it be
passed via add_ip and add_next_freeip.
Bruce

On Fri, Dec 11, 2020 at 10:18 AM alexandre derumier <aderumier@odiso.com>
wrote:

> The code is already commited :)
>
>
> https://git.proxmox.com/?p=pve-network.git;a=blob;f=PVE/Network/SDN/Ipams/PhpIpamPlugin.pm;h=6261764ffb5cb9d7b2bc865704ac74663790d860;hb=HEAD
>
>
> It's not yet released, but I'll keep you in touch for testing if you want.
>
> (I have implement basic things (add/del subnet, add/del ip, find next
> free ip), but if you need more options, I could implement them too)
>
>
>
>
> On 10/12/2020 22:41, Bruce Wainer wrote:
> > Great thanks, I thought I had seen it in one of the patches but when I
> > looked back at some of the more recent submissions it looked like only
> the
> > internal IPAM was being implemented at first.
> > Bruce
> >
> > On Thu, Dec 10, 2020 at 3:33 AM alexandre derumier <aderumier@odiso.com>
> > wrote:
> >
> >> Hi,
> >> phpIPAM is already implemented :)
> >>
> >> (currently phpIPAM && netbox)
> >>
> >> On 09/12/2020 20:01, Bruce Wainer wrote:
> >>>    Hello,
> >>> In your new SDN environment, are there plans for a plugin for phpIPAM?
> If
> >>> not, can you provide any starting points for developing one?
> >>> Thank you,
> >>> Bruce Wainer
> >>> _______________________________________________
> >>> pve-devel mailing list
> >>> pve-devel@lists.proxmox.com
> >>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> >>>
> >>
> >> _______________________________________________
> >> pve-devel mailing list
> >> pve-devel@lists.proxmox.com
> >> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> >>
> >>
> > _______________________________________________
> > pve-devel mailing list
> > pve-devel@lists.proxmox.com
> > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> >
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>