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

Attach iRule to Virtual server #30

Open
menta2k opened this issue Mar 15, 2017 · 2 comments
Open

Attach iRule to Virtual server #30

menta2k opened this issue Mar 15, 2017 · 2 comments

Comments

@menta2k
Copy link

menta2k commented Mar 15, 2017

Is it possible to attach an iRule to virtual server with your API ?

@kenmaglio
Copy link

@Menta2L Yes!

You would have to add the iRules using the AddVirtualServer method and build the structure yourself.
So

// Adds VirtualServer with iRules
config := &bigip.VirtualServer{
	Name:      "someVSname",
	Partition: "Common",
	Rules: []string{
		"/Common/Rule1",
		"/Common/Rule2",
	},
}
f5.AddVirtualServer(config)

I believe that should work.
@scottdware

@scottdware
Copy link
Owner

You are right, @kenmaglio

marsu-p pushed a commit to marsu-p/go-bigip that referenced this issue Jul 12, 2024
 added udp and postgresql monitor resources and license  banners to required files
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

No branches or pull requests

3 participants