Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Added initial Dockerfiles for batfish client and server #1

Closed
wants to merge 3 commits into from
Closed

WIP: Added initial Dockerfiles for batfish client and server #1

wants to merge 3 commits into from

Conversation

kevinteg
Copy link

Work in progress until I get access to LogicBlox. Putting up pull request for visibility.

Adding two Dockerfiles for batfish client and server. The batfish client should work by passing -e flag to docker commands but I won't be able to test it until I finish the server (needs LogicBlox).

@@ -0,0 +1,7 @@
export LB_HOST=172.17.0.67
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still a WIP: we need to experiment with how we connect to instances of the server.

@kevinteg
Copy link
Author

This is mostly working now, minus a few issues with docker quirks:

  1. Need to mount shm with proper amount of memory or lb-pager fails
  2. batfish commands expect $SHELL variable. Need to figure out how to set that appropriately in docker
  3. Need to figure out how we want to pass remote connectivity options to the client (run on same host as server, run against remote host, etc)

To start the server interactively (for now), run the following:

docker run -i -t --privileged -p 8080:8080 -p 55179:55179 -p 55183:55183 [SERVER DOCKER IMAGE ID] /bin/bash --login
mount -t tmpfs -o rw,nosuid,nodev,noexec,relatime,size=512M tmpfs /dev/shm
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to figure out how to do this via docker -o option (later version)

@arifogel arifogel closed this Dec 29, 2015
dhalperi pushed a commit that referenced this pull request Sep 18, 2018
* Nested object groups

* ICMP groups

* Add parsing support of addition ICMP types

* Add protocol type variable to gramar

* Clear object group in exit rule

* Use refernce tracking instead of red flag warnings

Add test cases for object-group within object-group GROUP_TYPE

* Correct code formatting

* use only mark structure ref tracking, update ref test

* Merge pull request #1 from batfish/nested-object-groups-ref-tracking

Use only mark structure structure tracking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants