[...]
> +
> +
> +int
> +virNetworkObjDeleteAllPorts(virNetworkObjPtr net,
> +const char *stateDir)
> +{
> +char *dir;
> +DIR *dh;
> +struct dirent *de;
> +int rc;
> +int ret = -1;
> +
> +if (!(dir = virNetworkObjGetPortStatusDir(net,
On Mon, Jun 17, 2019 at 03:32:17PM +0100, Daniel P. Berrangé wrote:
> On Thu, Jun 06, 2019 at 09:51:52PM -0400, Laine Stump wrote:
> > On 5/23/19 11:32 AM, Daniel P. Berrangé wrote:
> > > The virNetworkObjPtr state will need to maintain a record of all
> > > virNetworkPortDefPtr objects associated
On Thu, Jun 06, 2019 at 09:51:52PM -0400, Laine Stump wrote:
> On 5/23/19 11:32 AM, Daniel P. Berrangé wrote:
> > The virNetworkObjPtr state will need to maintain a record of all
> > virNetworkPortDefPtr objects associated with the network. Record these
> > in a hash and add APIs for manipulating
On 5/23/19 11:32 AM, Daniel P. Berrangé wrote:
The virNetworkObjPtr state will need to maintain a record of all
virNetworkPortDefPtr objects associated with the network. Record these
in a hash and add APIs for manipulating them.
Signed-off-by: Daniel P. Berrangé
---
src/conf/virnetworkobj.c
The virNetworkObjPtr state will need to maintain a record of all
virNetworkPortDefPtr objects associated with the network. Record these
in a hash and add APIs for manipulating them.
Signed-off-by: Daniel P. Berrangé
---
src/conf/virnetworkobj.c | 303 +++