cloudfoundry / cloudfoundry/cloud_controller_ng

Feature Request: add add-network-policy to manifest

Open
#1,334 23 comments 19 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request networking PM Review unscheduled
Dominant language
Ruby
Stars
207
Forks
373
Avg merge
2d 12h
Merged PRs (30d)
56

Description

It is possible to set network policies using the command line:

cf add-network-policy SOURCE_APP --destination-app DESTINATION_APP --protocol (tcp | udp) --port RANGE

However it is not possible to set these values using the manifest. This makes it hard to perform deploys from automated systems.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how manifest values are parsed and how the existing add-network-policy command reaches Cloud Controller. Compare the manifest path with the documented SOURCE_APP, DESTINATION_APP, protocol, and port inputs; done means automated manifest-based deploys can set equivalent network policies and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.