Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

cloudfoundry-attic/networking-release

Repository files navigation

CF-BOSH Release containing several jobs to configure VM networking

This BOSH release contains several jobs to help you configure VMs with special networking properties:

Usage

Add the release to your BOSH deployment manifest

Add the networking release jobs and properties to your BOSH deployment manifest:

releases:
  - name: cf
    version: latest
  - name: networking                                # +
    version: latest                                 # +
...
instance_groups:
  - name: haproxy
    jobs:
      - name: nat                                   # +
        release: networking                         # +
        properties:                                 # +
          networking.nat:                           # +
            in_interface: eth0                      # +
            out_interface: eth1                     # +
      - name: haproxy
        release: cf
    networks:
      - name: default
        default: [dns, gateway]
      - name: public
        static_ips:
          - 1.2.3.4
  - name: router
    jobs:
      - name: gateway                               # +
        release: networking                         # +
        properties:                                 # +
          networking.gateway:                       # +
            default: 0.haproxy.default.cf.microbosh # +
      - name: routes                                # +
        release: networking                         # +
        properties:                                 # +
          networking.routes:                        # +
            - net: 192.168.1.0                      # +
              netmask: 255.255.255.224              # +
              interface: eth0                       # +
              gateway: 10.9.9.1                     # +
      - name: port_forwarding                       # +
        release: networking                         # +
        properties:                                 # +
          networking:
            port_forwarding:                        # +
              - external_port: 9200                 # +
                internal_ip: 1.2.3.10               # +
                internal_port: 9200                 # +
              - external_port: 9292                 # +
                internal_ip: 1.2.3.11               # +
                internal_port: 9292                 # +
      - name: gorouter
        release: cf

References

Based on the Rakuten BOSH routing release.

License

Apache License Version 2.0 - see LICENSE for details.

About

CF-BOSH Release containing several jobs to configure VM networking

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages