npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@okassov/pulumi-openstack-network

v0.4.1

Published

Openstack Network Module for Pulumi

Downloads

4

Readme

OpenStack Network Module for Pulumi npm version License: MPL-2.0 Pulumi Registry

This project provides Pulumi components for provisioning OpenStack networking resources using TypeScript. It offers higher‑level constructs on top of the Pulumi OpenStack provider, enabling you to easily create and manage:

A CHANGELOG is maintained for this project.


Installation

Node.js (NPM/Yarn)

Install the package via npm:

npm install --save "@okassov/pulumi-openstack-network"

Install the package via yarn:

yarn add "@okassov/pulumi-openstack-network"

Requirements

  • Node.js >= 14.x
  • Pulumi >= 3.x
  • Valid OpenStack credentials and API endpoint

Authentication

Before using the module, ensure your OpenStack environment variables are set:

export OS_AUTH_URL=https://openstack.example.com:5000/v3
export OS_USERNAME=myuser
export OS_PASSWORD=mypass
export OS_PROJECT_NAME=myproject

Alternatively, configure Pulumi to use your OpenStack credentials:

pulumi config set openstack:authURL https://openstack.example.com:5000/v3
pulumi config set openstack:userName myuser
pulumi config set openstack:password mypass --secret
pulumi config set openstack:tenantName myproject

Usage

How to use

import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
import { Network } from "@okassov/pulumi-openstack-network";

Example that creates an OpenStack Network topology

// Base variables for naming
const baseVars = { env: "dev", project: "example" };
const resourceName = `${baseVars.env}-${baseVars.project}`;

// OpenStack provider (optional if you already have one)
const provider = new openstack.Provider("os", {
  cloud: "mycloud",   // name in clouds.yaml
  region: "RegionOne",
});

// Create VPC‑like network with two subnets and default route
const vpc = new Network(resourceName, {
  networkConfig: {
    adminStateUp: true,

    routerConfig: {
      adminStateUp: true,
      externalNetworkId: "public-net-id",
    },

    subnets: [
      {
        name: "private",
        cidr: "10.0.0.0/24",
        ipVersion: 4,
        enableDhcp: true,
      },
      {
        name: "dmz",
        cidr: "10.0.1.0/24",
        ipVersion: 4,
        enableDhcp: true,
      },
    ],

    routes: [
      {
        destinationCidr: "0.0.0.0/0",
        nextHop: "10.0.0.1",
      },
    ],
  },
}, { provider });

export const routerId  = vpc.router.id;
export const networkId = vpc.network.id;
export const subnetIds = vpc.subnetIds();

License

This package is licensed under the Mozilla Public License, v2.0.


Contributing

Please feel free to open issues or pull requests on GitHub!