what does $::default_gateway do?

Asked by Dan Bode

I see a reference to default_gateway related to the config in core.pp related to setting up caching, but I cannot find reference to it being set as a default anywhere.

Is it still used?
what does it mean?

Question information

Language:
English Edit question
Status:
Answered
For:
Cisco Openstack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Robert Starmer (starmer) said :
#1

Part of this got lost in the Merge. I think we need to review how we set up network services within the overall packages especially given the flexibility to people are looking for.

Sent from my iPhone

On Jun 10, 2013, at 12:21 PM, "Dan Bode" <email address hidden> wrote:

> New question #230516 on Cisco Openstack:
> https://answers.launchpad.net/openstack-cisco/+question/230516
>
> I see a reference to default_gateway related to the config in core.pp related to setting up caching, but I cannot find reference to it being set as a default anywhere.
>
> Is it still used?
> what does it mean?
>
> --
> You received this question notification because you are a member of
> Cisco Openstack, which is an answer contact for Cisco Openstack.

Revision history for this message
Mark T. Voelker (mvoelker) said :
#2
Revision history for this message
Daneyon Hansen (danehans) said :
#3

As Dan B mentioned, I also I noticed the $::default_gateway is being referenced in core the manifest, but it's not specified anywhere. Ian, can you remove default_gateway or add the appropriate definition in the site manifest?

Revision history for this message
Ian Wells (ijw-ubuntu) said :
#4

From site.pp.example:

# This gateway is optional - if there's a gateway providing a default route,
# specify it here. If not, comment this line out.
$node_gateway = '192.168.242.1'

... it would appear its name is wrong. But what that's supposed to do is: - if there is a gateway set up on clients, let the clients do pip fetches directly, otherwise point them all to the local pip cache. As you can see (and apparently as we've now been testing for some time) using the local pip cache works, so we could just take the conditional out completely.

Can you help with this problem?

Provide an answer of your own, or ask Dan Bode for more information if necessary.

To post a message you must log in.